Make dashboard devfile working again. (#13310)

* Make dashboard devfile working again.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Rename dashboard .devfile to devfile.yaml

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
7.20.x
Oleksandr Andriienko 2019-05-11 10:58:56 +03:00 committed by GitHub
parent 98aeaab2bb
commit b2ba338ade
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 8 deletions

View File

@ -5,14 +5,17 @@ projects:
source:
type: git
location: 'https://github.com/eclipse/che.git'
tools:
- name: theia-editor
components:
- alias: theia-editor
type: cheEditor
id: eclipse/che-theia/master
- name: exec-plugin
id: eclipse/che-theia/next
- alias: typescript-plugin
type: chePlugin
id: che-incubator/typescript/1.30.2
- alias: exec-plugin
type: chePlugin
id: eclipse/che-machine-exec-plugin/0.0.1
- name: dash-dev
- alias: dash-dev
type: dockerimage
image: 'eclipse/che-dashboard-dev:nightly'
endpoints:
@ -28,18 +31,18 @@ commands:
- name: dashboard_build
actions:
- type: exec
tool: dash-dev
component: dash-dev
command: cd /projects/che/dashboard && yarn
workdir: /projects/che/dashboard
- name: dashboard_test
actions:
- type: exec
tool: dash-dev
component: dash-dev
command: cd /projects/che/dashboard && yarn test
workdir: /projects/che/dashboard
- name: dashboard_dev_server
actions:
- type: exec
tool: dash-dev
component: dash-dev
command: cd /projects/che/dashboard && node_modules/.bin/gulp serve --server=${CHE_API_EXTERNAL%????}
workdir: /projects/che/dashboard