Skip to content
This repository has been archived by the owner on Jan 20, 2023. It is now read-only.

Commit

Permalink
Reuse test config for unified plugin broker.
Browse files Browse the repository at this point in the history
Signed-off-by: Oleksandr Andriienko <[email protected]>
  • Loading branch information
AndrienkoAleksandr committed Aug 15, 2019
1 parent ef43e02 commit 518acb2
Showing 1 changed file with 3 additions and 24 deletions.
27 changes: 3 additions & 24 deletions devfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ commands:
- workdir: /projects/src/github.com/eclipse/che-plugin-broker/
type: exec
command: >-
printf 'Start "init" plugin broker compilation...\n' &&
printf 'Launch "init" plugin broker compilation...\n' &&
make build-init &&
printf '\033[32mDone.\033[0m'
component: dev
Expand All @@ -56,7 +56,7 @@ commands:
- workdir: /projects/src/github.com/eclipse/che-plugin-broker
type: exec
command: >-
printf 'Start "unified" plugin broker compilation...\n' &&
printf 'Launch "unified" plugin broker compilation...\n' &&
make build-unified &&
printf '\033[32mDone.\033[0m'
component: dev
Expand Down Expand Up @@ -91,32 +91,11 @@ commands:
actions:
- workdir: /projects/src/github.com/eclipse/che-plugin-broker
type: exec
command: './unified-plugin-broker --disable-push=true --runtime-id=workspace:developer:eclipse-che --registry-address=http://plugin-registry:8080'
command: './unified-plugin-broker --disable-push=true --runtime-id=workspace:developer:eclipse-che --registry-address=http://plugin-registry:8080 --metas ./brokers/unified/cmd/config-plugin-ids.json'
component: dev
- name: start "init" plugin broker
actions:
- workdir: /projects/src/github.com/eclipse/che-plugin-broker
type: exec
command: './init-plugin-broker --disable-push=true --runtime-id=workspace:developer:eclipse-che'
component: dev
- name: generate test config.json with "list workspace" plugins for "unified" plugin broker
actions:
- workdir: /projects/src/github.com/eclipse/che-plugin-broker
type: exec
command: |-
if [ -f config.json ]; then rm config.json; fi;
cat <<EOF>>config.json
[
{
"id": "ms-kubernetes-tools/vscode-kubernetes-tools/latest"
},
{
"id": "eclipse/che-machine-exec-plugin/latest"
},
{
"id": "eclipse/che-theia/latest"
}
]
EOF
echo 'config.json for unified plugin broker successfully generated.'
component: dev

0 comments on commit 518acb2

Please sign in to comment.