From cb44096b65bc423bf142099df46458d1b4db5e8e Mon Sep 17 00:00:00 2001 From: Angel Misevski Date: Wed, 28 Sep 2022 13:54:28 -0400 Subject: [PATCH] Add sample that uses .spec.contributions instead of plugins Signed-off-by: Angel Misevski --- samples/theia-next-contributions.yaml | 28 +++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 samples/theia-next-contributions.yaml diff --git a/samples/theia-next-contributions.yaml b/samples/theia-next-contributions.yaml new file mode 100644 index 000000000..a120d6aed --- /dev/null +++ b/samples/theia-next-contributions.yaml @@ -0,0 +1,28 @@ +kind: DevWorkspace +apiVersion: workspace.devfile.io/v1alpha2 +metadata: + name: theia-next +spec: + started: true + template: + projects: + - name: web-nodejs-sample + git: + remotes: + origin: "https://github.com/che-samples/web-nodejs-sample.git" + commands: + - id: say-hello + exec: + component: theia-ide + commandLine: echo "Hello from $(pwd)" + workingDir: ${PROJECTS_ROOT}/project/app + + contributions: + - name: theia + uri: https://che-plugin-registry-main.surge.sh/v3/plugins/eclipse/che-theia/next/devfile.yaml + components: + - name: theia-ide + container: + env: + - name: THEIA_HOST + value: 0.0.0.0