You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run docker container with che-machine-exec manually:
19
23
20
24
```bash
21
25
docker run --rm -p 4444:4444 -v /var/run/docker.sock:/var/run/docker.sock eclipse/che-machine-exec
22
26
```
23
27
24
-
# How to use machine-exec image with Eclipse CHE workspace on the docker infrastructure
28
+
##How to use machine-exec image with Eclipse CHE workspace on the docker infrastructure
25
29
26
30
To configure Eclipse CHE on the docker infrastructure we are using che.env configuration file.
27
31
che.env file located in the CHE `data` folder. Edit and save che.env file: apply docker.sock path (by default it's `/var/run/docker.sock`) to the workspace volume property `CHE_WORKSPACE_VOLUME`:
Run Eclipse CHE. You can create new Eclipse CHE workspace with integrated Theia IDE from stack 'Theia IDE on docker'. Then you can [test che-machine-exec with help eclipse-che-theia-terminal](#test-che-machine-exec-with-help-eclipse-che-theia-terminal) and [test che-machine-exec with help che-theia-task-plugin](#test-che-machine-exec-with-help-che-theia-task-plugin)
38
42
39
-
# Test che-machine-exec on the local Openshift
43
+
##Test che-machine-exec on the local Openshift
40
44
41
45
To test che-machine-exec you need deploy Eclipse CHE to the openshift locally. [Prepare Eclipse CHE to deploy](#prepare-eclipse-che-to-deploy)
42
46
@@ -61,7 +65,7 @@ the Eclipse CHE user dashboard.
61
65
62
66
Create new workspace from openshift stack 'Java Theia on OpenShift' or 'CHE 7' stack. Run workspace. When workspace will be running you will see Theia IDE. Then you can [test che-machine-exec with help che-theia-terminal-extension](#test-che-machine-exec-with-help-eclipse-che-theia-terminal) and [test che-machine-exec with help che-theia-task-plugin](#test-che-machine-exec-with-help-che-theia-task-plugin)
63
67
64
-
# Test on the Minishift
68
+
##Test on the Minishift
65
69
To test che-machine-exec you need deploy Eclipse CHE to the Minishift. [Prepare Eclipse CHE to deploy](#prepare-eclipse-che-to-deploy).
Create new workspace from openshift stack 'Java Theia on OpenShift' or
128
132
'CHE 7' stack. Run workspace. When workspace will be running you will see Theia IDE. Then you can [test che-machine-exec with help che-theia-terminal-extension](#test-che-machine-exec-with-help-eclipse-che-theia-terminal) and [test che-machine-exec with help che-theia-task-plugin](#test-che-machine-exec-with-help-che-theia-task-plugin)
129
133
130
-
# Test on the Kubernetes (MiniKube)
134
+
##Test on the Kubernetes (MiniKube)
131
135
132
136
To test che-machine-exec you need deploy Eclipse CHE to the Minikube cluster. [Prepare Eclipse CHE to deploy](#prepare-eclipse-che-to-deploy).
133
137
@@ -190,7 +194,7 @@ There are two configurations to deploy Eclipse CHE on the Kubernetes:
190
194
191
195
Create new workspace from stack 'CHE 7'. Run workspace. When workspace will be running you will see Theia IDE. Then you can [test che-machine-exec with help che-theia-terminal-extension](#test-che-machine-exec-with-help-eclipse-che-theia-terminal) and [test che-machine-exec with help che-theia-task-plugin](#test-che-machine-exec-with-help-che-theia-task-plugin)
192
196
193
-
# Prepare Eclipse CHE to deploy
197
+
## Prepare Eclipse CHE to deploy
194
198
195
199
> Requiements: installed java 8 or higher and maven 3.3.0 or higher
196
200
@@ -207,13 +211,13 @@ $ cd ~/projects/che/assembly/assembly-main
207
211
$ mvn clean install -DskipTests
208
212
```
209
213
210
-
# Test che-machine-exec with help eclipse-che-theia-terminal
214
+
## Test che-machine-exec with help eclipse-che-theia-terminal
211
215
Eclipse CHE workspace created from Theia stack contains included che-theia-terminal-extension. With help this extension you can test che-machine-exec.
212
216
213
217
Create new terminal with help main menu of the Theia: `Terminal` => `Open Terminal in specific container`. After that IDE will propose you select machine to creation terminal. Select one of the machines by click. After that Theia should create new terminal on the bottom panel.
214
218
Or you could use command palette: `Ctrl + Shift + P` and type `terminal`. Then you could select with help keys `Arrow Up` or `Arrow Down` command for terminal creation and launch it by click on `Enter`.
215
219
216
-
# Test che-machine-exec with help che-theia-task-plugin
220
+
## Test che-machine-exec with help che-theia-task-plugin
217
221
218
222
Eclipse CHE workspace created from Theia stack contains included che-theia-task-plugin. With help this plugin you can test che-machine-exec.
219
223
Create new Theia task for your project: in the project root create folder `.theia`. Create `tasks.json` file in the folder `.theia` with such content:
@@ -231,3 +235,10 @@ Create new Theia task for your project: in the project root create folder `.thei
231
235
```
232
236
Run this task with help menu tasks: `Terminal` => `Run Task...`
233
237
After that Theia should display widget with output content: 'echo hello'
238
+
239
+
## CI
240
+
The following [CentOS CI jobs](https://ci.centos.org/) are associated with the repository:
241
+
242
+
- [](https://ci.centos.org/job/devtools-che-machine-exec-build-master/) - builds CentOS images on each commit to the [`master`](https://github.com/eclipse/che-machine-exec/tree/master) branch and pushes them to [quay.io](https://quay.io/organization/eclipse).
243
+
- [](https://ci.centos.org/job/devtools-che-machine-exec-nightly/) - builds CentOS images and pushes them to [quay.io](https://quay.io/organization/eclipse) on a daily basis from the [`master`](https://github.com/eclipse/che-machine-exec/tree/master) branch.
244
+
- [](https://ci.centos.org/job/devtools-che-machine-exec-release/) - builds images from the [`release`](https://github.com/eclipse/che-machine-exec/tree/release) branch and pushes them to [quay.io](https://quay.io/organization/eclipse).
0 commit comments