Skip to content

Commit

Permalink
Add sample that uses .spec.contributions instead of plugins
Browse files Browse the repository at this point in the history
Signed-off-by: Angel Misevski <[email protected]>
  • Loading branch information
amisevsk committed Oct 18, 2022
1 parent 2b70f7a commit cb44096
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions samples/theia-next-contributions.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit cb44096

Please sign in to comment.