Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update samples #1025

Merged
merged 2 commits into from
Feb 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
kind: DevWorkspace
apiVersion: workspace.devfile.io/v1alpha2
metadata:
name: theia-latest-contributions
name: code-latest
spec:
started: true
template:
Expand All @@ -10,19 +10,22 @@ spec:
git:
remotes:
origin: "https://github.com/che-samples/web-nodejs-sample.git"
components:
- name: dev
container:
image: quay.io/devfile/universal-developer-image:latest
commands:
- id: say-hello
exec:
component: theia-ide
component: dev
commandLine: echo "Hello from $(pwd)"
workingDir: ${PROJECTS_ROOT}/project/app

workingDir: ${PROJECT_SOURCE}/app
contributions:
- name: theia
uri: https://che-plugin-registry-main.surge.sh/v3/plugins/eclipse/che-theia/latest/devfile.yaml
- name: che-code
uri: https://eclipse-che.github.io/che-plugin-registry/main/v3/plugins/che-incubator/che-code/latest/devfile.yaml
components:
- name: theia-ide
- name: che-code-runtime-description
container:
env:
- name: THEIA_HOST
- name: CODE_HOST
value: 0.0.0.0
1 change: 0 additions & 1 deletion samples/container-overrides.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ metadata:
name: web-terminal-container-overrides
spec:
started: true

template:
attributes:
controller.devfile.io/storage-type: ephemeral
Expand Down
25 changes: 12 additions & 13 deletions samples/ephemeral-storage.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
kind: DevWorkspace
apiVersion: workspace.devfile.io/v1alpha2
metadata:
name: theia-latest-ephemeral
name: code-latest-ephemeral
spec:
started: true
template:
Expand All @@ -12,19 +12,18 @@ spec:
git:
remotes:
origin: "https://github.com/che-samples/web-nodejs-sample.git"
components:
- name: theia
plugin:
uri: https://che-plugin-registry-main.surge.sh/v3/plugins/eclipse/che-theia/latest/devfile.yaml
components:
- name: theia-ide
container:
env:
- name: THEIA_HOST
value: 0.0.0.0
commands:
- id: say-hello
exec:
component: theia-ide
component: che-code-runtime-description
commandLine: echo "Hello from $(pwd)"
workingDir: ${PROJECTS_ROOT}/project/app
workingDir: ${PROJECT_SOURCE}/app
contributions:
- name: che-code
uri: https://eclipse-che.github.io/che-plugin-registry/main/v3/plugins/che-incubator/che-code/latest/devfile.yaml
components:
- name: che-code-runtime-description
container:
env:
- name: CODE_HOST
value: 0.0.0.0
23 changes: 11 additions & 12 deletions samples/git-clone-sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,18 @@ spec:
remotes:
origin: "https://github.com/devfile/devworkspace-operator.git"
amisevsk: "https://github.com/amisevsk/devworkspace-operator.git"
components:
- name: theia
plugin:
uri: https://che-plugin-registry-main.surge.sh/v3/plugins/eclipse/che-theia/latest/devfile.yaml
components:
- name: theia-ide
container:
env:
- name: THEIA_HOST
value: 0.0.0.0
commands:
- id: say-hello
exec:
component: theia-ide
component: che-code-runtime-description
commandLine: echo "Hello from $(pwd)"
workingDir: ${PROJECTS_ROOT}/project/app
workingDir: ${PROJECT_SOURCE}/app
contributions:
- name: che-code
uri: https://eclipse-che.github.io/che-plugin-registry/main/v3/plugins/che-incubator/che-code/latest/devfile.yaml
components:
- name: che-code-runtime-description
container:
env:
- name: CODE_HOST
value: 0.0.0.0
25 changes: 12 additions & 13 deletions samples/per-workspace-storage.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
kind: DevWorkspace
apiVersion: workspace.devfile.io/v1alpha2
metadata:
name: theia-latest-per-workspace
name: code-latest-per-workspace
spec:
started: true
template:
Expand All @@ -12,19 +12,18 @@ spec:
git:
remotes:
origin: "https://github.com/che-samples/web-nodejs-sample.git"
components:
- name: theia
plugin:
uri: https://che-plugin-registry-main.surge.sh/v3/plugins/eclipse/che-theia/latest/devfile.yaml
components:
- name: theia-ide
container:
env:
- name: THEIA_HOST
value: 0.0.0.0
commands:
- id: say-hello
exec:
component: theia-ide
component: che-code-runtime-description
commandLine: echo "Hello from $(pwd)"
workingDir: ${PROJECTS_ROOT}/project/app
workingDir: ${PROJECT_SOURCE}/app
contributions:
- name: che-code
uri: https://eclipse-che.github.io/che-plugin-registry/main/v3/plugins/che-incubator/che-code/latest/devfile.yaml
components:
- name: che-code-runtime-description
container:
env:
- name: CODE_HOST
value: 0.0.0.0
25 changes: 12 additions & 13 deletions samples/pod-overrides.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
kind: DevWorkspace
apiVersion: workspace.devfile.io/v1alpha2
metadata:
name: theia-latest-pod-overrides
name: code-latest-pod-overrides
spec:
started: true
template:
Expand All @@ -20,19 +20,18 @@ spec:
git:
remotes:
origin: "https://github.com/che-samples/web-nodejs-sample.git"
components:
- name: theia
plugin:
uri: https://che-plugin-registry-main.surge.sh/v3/plugins/eclipse/che-theia/latest/devfile.yaml
components:
- name: theia-ide
container:
env:
- name: THEIA_HOST
value: 0.0.0.0
commands:
- id: say-hello
exec:
component: theia-ide
component: che-code-runtime-description
commandLine: echo "Hello from $(pwd)"
workingDir: ${PROJECTS_ROOT}/project/app
workingDir: ${PROJECT_SOURCE}/app
contributions:
- name: che-code
uri: https://eclipse-che.github.io/che-plugin-registry/main/v3/plugins/che-incubator/che-code/latest/devfile.yaml
components:
- name: che-code-runtime-description
container:
env:
- name: CODE_HOST
value: 0.0.0.0
25 changes: 14 additions & 11 deletions samples/theia-latest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,21 @@ spec:
remotes:
origin: "https://github.com/che-samples/web-nodejs-sample.git"
components:
- name: theia
plugin:
uri: https://che-plugin-registry-main.surge.sh/v3/plugins/eclipse/che-theia/latest/devfile.yaml
components:
- name: theia-ide
container:
env:
- name: THEIA_HOST
value: 0.0.0.0
- name: dev
container:
image: quay.io/devfile/universal-developer-image:latest
commands:
- id: say-hello
exec:
component: theia-ide
component: dev
commandLine: echo "Hello from $(pwd)"
workingDir: ${PROJECTS_ROOT}/project/app
workingDir: ${PROJECT_SOURCE}/app
contributions:
- name: theia
uri: https://eclipse-che.github.io/che-plugin-registry/main/v3/plugins/eclipse/che-theia/latest/devfile.yaml
components:
- name: theia-ide
container:
env:
- name: THEIA_HOST
value: 0.0.0.0