Last active
March 28, 2019 14:30
-
-
Save AndrienkoAleksandr/ebc91418c2025f4adbfc0b6f1bac48d4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
specVersion: 0.0.1 | |
name: che-machine-exec | |
components: | |
- name: theia-editor | |
type: cheEditor | |
id: org.eclipse.che.editor.theia:next | |
- name: exec-plugin | |
type: chePlugin | |
id: che-machine-exec-plugin:0.0.1 | |
- name: ms-vscode.go | |
type: chePlugin | |
id: ms-vscode.go:0.9.2 | |
- name: theia-dev | |
type: dockerimage | |
image: eclipse/che-theia-dev:next | |
mountSources: true | |
endpoints: | |
- name: theia-dev | |
port: 3130 | |
attributes: | |
protocol: http | |
secure: 'false' | |
public: 'true' | |
discoverable: 'false' | |
memoryLimit: 3000M | |
- name: dev | |
type: dockerimage | |
image: aandrienko/che-machine-exec-dev | |
mountSources: true | |
endpoints: | |
- name: exec-server | |
port: 5555 | |
attributes: | |
type: terminal-dev | |
protocol: ws | |
secure: 'false' | |
public: 'true' | |
discoverable: 'false' | |
memoryLimit: 2048M | |
commands: | |
- name: get project | |
actions: | |
- type: exec | |
component: dev | |
command: go get github.com/eclipse/che-machine-exec | |
- name: compile | |
actions: | |
- type: exec | |
component: dev | |
command: ./compile.sh | |
workdir: /projects/src/github.com/eclipse/che-machine-exec | |
- name: start | |
actions: | |
- type: exec | |
component: dev | |
command: ./che-machine-exec --url 0.0.0.0:5555 | |
workdir: /projects/src/github.com/eclipse/che-machine-exec | |
- name: test | |
actions: | |
- type: exec | |
component: dev | |
command: go test ./... | |
workdir: /projects/src/github.com/eclipse/che-machine-exec | |
- name: format | |
actions: | |
- type: exec | |
component: dev | |
command: go fmt ./... | |
workdir: /projects/src/github.com/eclipse/che-machine-exec |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment