From b2ba338adeed20ad41b243578495c8a859c42a62 Mon Sep 17 00:00:00 2001 From: Oleksandr Andriienko Date: Sat, 11 May 2019 10:58:56 +0300 Subject: [PATCH] Make dashboard devfile working again. (#13310) * Make dashboard devfile working again. Signed-off-by: Oleksandr Andriienko * Rename dashboard .devfile to devfile.yaml Signed-off-by: Oleksandr Andriienko --- dashboard/{.devfile => devfile.yaml} | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) rename dashboard/{.devfile => devfile.yaml} (78%) diff --git a/dashboard/.devfile b/dashboard/devfile.yaml similarity index 78% rename from dashboard/.devfile rename to dashboard/devfile.yaml index 86f0c3c0a5..afd87855fb 100644 --- a/dashboard/.devfile +++ b/dashboard/devfile.yaml @@ -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