Skip to content

Commit

Permalink
chore: use editor's devfile as it is (#1877)
Browse files Browse the repository at this point in the history
Signed-off-by: Valeriy Svydenko <[email protected]>
  • Loading branch information
svor authored Feb 2, 2024
1 parent de6d1ab commit 160caa1
Show file tree
Hide file tree
Showing 53 changed files with 746 additions and 2,574 deletions.
84 changes: 36 additions & 48 deletions che-editors.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
version: 2.0.0
editors:
- schemaVersion: 2.1.0
- schemaVersion: 2.2.2
metadata:
name: ws-skeleton/jupyter/5.7.0
displayName: Jupyter Notebook
Expand All @@ -12,7 +12,6 @@ editors:
title: Jupyter Notebook for Eclipse Che
repository: 'https://github.com/ws-skeleton/che-editor-jupyter/'
firstPublicationDate: '2019-02-05'
skipMetaYaml: true
components:
- name: jupyter-notebook
container:
Expand All @@ -32,7 +31,7 @@ editors:
attributes:
ports:
- exposedPort: 8888
- schemaVersion: 2.1.0
- schemaVersion: 2.2.2
metadata:
name: dirigiblelabs/dirigible/3.4.0
displayName: Eclipse Dirigible
Expand All @@ -44,7 +43,6 @@ editors:
title: Eclipse Dirigible for Eclipse Che
repository: 'https://github.com/dirigiblelabs/dirigible-che-editor-plugin/'
firstPublicationDate: '2019-02-05'
skipMetaYaml: true
components:
- name: eclipse-dirigible
container:
Expand Down Expand Up @@ -82,7 +80,7 @@ editors:
attributes:
ports:
- exposedPort: 8080
- schemaVersion: 2.1.0
- schemaVersion: 2.2.2
metadata:
name: ws-skeleton/eclipseide/4.9.0
displayName: Eclipse IDE with Broadway
Expand All @@ -94,7 +92,6 @@ editors:
title: Eclipse IDE (in browser using Broadway) for Eclipse Che
repository: 'https://github.com/ws-skeleton/che-editor-eclipseide/'
firstPublicationDate: '2019-02-05'
skipMetaYaml: true
components:
- name: eclipse-ide
container:
Expand All @@ -111,7 +108,7 @@ editors:
attributes:
ports:
- exposedPort: 5000
- schemaVersion: 2.1.0
- schemaVersion: 2.2.2
metadata:
name: cdr/code-server/3.6.2
displayName: VS Code via code-server
Expand All @@ -125,7 +122,6 @@ editors:
Eclipse Che
repository: 'https://github.com/cdr/code-server'
firstPublicationDate: '2020-11-03'
skipMetaYaml: true
components:
- name: code-server
container:
Expand All @@ -147,7 +143,7 @@ editors:
- exposedPort: 8080
- name: user-data
volume: {}
- schemaVersion: 2.1.0
- schemaVersion: 2.2.2
metadata:
name: che-incubator/che-code/insiders
displayName: VS Code - Open Source
Expand All @@ -161,16 +157,14 @@ editors:
build
repository: https://github.com/che-incubator/che-code
firstPublicationDate: '2021-10-31'
skipMetaYaml: true
commands:
- id: init-container-command
apply:
component: che-code-injector
- id: init-che-code-command
exec:
component: che-code-runtime-description
commandLine: 'nohup /checode/entrypoint-volume.sh > /checode/entrypoint-logs.txt
2>&1 &'
commandLine: nohup /checode/entrypoint-volume.sh > /checode/entrypoint-logs.txt 2>&1 &
events:
preStart:
- init-container-command
Expand All @@ -180,7 +174,8 @@ editors:
- name: che-code-injector
container:
image: 'quay.io/che-incubator/che-code:insiders'
command: ["/entrypoint-init-container.sh"]
command:
- /entrypoint-init-container.sh
volumeMounts:
- name: checode
path: /checode
Expand Down Expand Up @@ -236,7 +231,7 @@ editors:
controller.devfile.io/container-contribution: true
- name: checode
volume: {}
- schemaVersion: 2.1.0
- schemaVersion: 2.2.2
metadata:
name: che-incubator/che-code/7.81.0
displayName: VS Code - Open Source
Expand All @@ -248,16 +243,14 @@ editors:
title: Microsoft Visual Studio Code - Open Source IDE for Eclipse Che
repository: https://github.com/che-incubator/che-code
firstPublicationDate: '2021-10-31'
skipMetaYaml: true
commands:
- id: init-container-command
apply:
component: che-code-injector
- id: init-che-code-command
exec:
component: che-code-runtime-description
commandLine: 'nohup /checode/entrypoint-volume.sh > /checode/entrypoint-logs.txt
2>&1 &'
commandLine: nohup /checode/entrypoint-volume.sh > /checode/entrypoint-logs.txt 2>&1 &
events:
preStart:
- init-container-command
Expand All @@ -267,7 +260,8 @@ editors:
- name: che-code-injector
container:
image: 'quay.io/che-incubator/che-code:7.81.0'
command: ["/entrypoint-init-container.sh"]
command:
- /entrypoint-init-container.sh
volumeMounts:
- name: checode
path: /checode
Expand Down Expand Up @@ -323,7 +317,7 @@ editors:
controller.devfile.io/container-contribution: true
- name: checode
volume: {}
- schemaVersion: 2.1.0
- schemaVersion: 2.2.2
metadata:
name: che-incubator/che-idea/next
displayName: IntelliJ IDEA Community
Expand All @@ -335,16 +329,14 @@ editors:
title: JetBrains IntelliJ IDEA Community IDE for Eclipse Che - next
repository: 'https://github.com/che-incubator/jetbrains-editor-images'
firstPublicationDate: '2022-01-11'
skipMetaYaml: true
commands:
- id: init-container-command
apply:
component: che-idea-injector
- id: init-che-idea-command
exec:
component: che-idea-runtime-description
commandLine: 'nohup /projector/entrypoint-volume.sh > /projector/entrypoint-logs.txt
2>&1 &'
commandLine: nohup /projector/entrypoint-volume.sh > /projector/entrypoint-logs.txt 2>&1 &
events:
preStart:
- init-container-command
Expand Down Expand Up @@ -416,7 +408,8 @@ editors:
- name: che-idea-injector
container:
image: 'quay.io/che-incubator/che-idea:next'
command: ["/projector/entrypoint-init-container.sh"]
command:
- /projector/entrypoint-init-container.sh
env:
- name: PROJECTOR_VOLUME_MOUNT
value: /projector-volume
Expand All @@ -429,7 +422,7 @@ editors:
memoryRequest: 32Mi
cpuLimit: 500m
cpuRequest: 30m
- schemaVersion: 2.1.0
- schemaVersion: 2.2.2
metadata:
name: che-incubator/che-idea/latest
displayName: IntelliJ IDEA Community
Expand All @@ -441,16 +434,14 @@ editors:
title: JetBrains IntelliJ IDEA Community IDE for Eclipse Che
repository: 'https://github.com/che-incubator/jetbrains-editor-images'
firstPublicationDate: '2022-01-11'
skipMetaYaml: true
commands:
- id: init-container-command
apply:
component: che-idea-injector
- id: init-che-idea-command
exec:
component: che-idea-runtime-description
commandLine: 'nohup /projector/entrypoint-volume.sh > /projector/entrypoint-logs.txt
2>&1 &'
commandLine: nohup /projector/entrypoint-volume.sh > /projector/entrypoint-logs.txt 2>&1 &
events:
preStart:
- init-container-command
Expand Down Expand Up @@ -522,7 +513,8 @@ editors:
- name: che-idea-injector
container:
image: 'quay.io/che-incubator/che-idea:latest'
command: ["/projector/entrypoint-init-container.sh"]
command:
- /projector/entrypoint-init-container.sh
env:
- name: PROJECTOR_VOLUME_MOUNT
value: /projector-volume
Expand All @@ -535,7 +527,7 @@ editors:
memoryRequest: 32Mi
cpuLimit: 500m
cpuRequest: 30m
- schemaVersion: 2.1.0
- schemaVersion: 2.2.2
metadata:
name: che-incubator/che-pycharm/next
displayName: JetBrains PyCharm Community
Expand All @@ -547,16 +539,14 @@ editors:
title: JetBrains PyCharm Community IDE for Eclipse Che - next
repository: 'https://github.com/che-incubator/jetbrains-editor-images'
firstPublicationDate: '2021-10-06'
skipMetaYaml: true
commands:
- id: init-container-command
apply:
component: che-pycharm-injector
- id: init-che-pycharm-command
exec:
component: che-pycharm-runtime-description
commandLine: 'nohup /projector/entrypoint-volume.sh > /projector/entrypoint-logs.txt
2>&1 &'
commandLine: nohup /projector/entrypoint-volume.sh > /projector/entrypoint-logs.txt 2>&1 &
events:
preStart:
- init-container-command
Expand Down Expand Up @@ -628,7 +618,8 @@ editors:
- name: che-pycharm-injector
container:
image: 'quay.io/che-incubator/che-pycharm:next'
command: ["/projector/entrypoint-init-container.sh"]
command:
- /projector/entrypoint-init-container.sh
env:
- name: PROJECTOR_VOLUME_MOUNT
value: /projector-volume
Expand All @@ -641,7 +632,7 @@ editors:
memoryRequest: 32Mi
cpuLimit: 500m
cpuRequest: 30m
- schemaVersion: 2.1.0
- schemaVersion: 2.2.2
metadata:
name: che-incubator/che-pycharm/latest
displayName: JetBrains PyCharm Community
Expand All @@ -653,16 +644,14 @@ editors:
title: JetBrains PyCharm Community IDE for Eclipse Che
repository: 'https://github.com/che-incubator/jetbrains-editor-images'
firstPublicationDate: '2021-10-06'
skipMetaYaml: true
commands:
- id: init-container-command
apply:
component: che-pycharm-injector
- id: init-che-pycharm-command
exec:
component: che-pycharm-runtime-description
commandLine: 'nohup /projector/entrypoint-volume.sh > /projector/entrypoint-logs.txt
2>&1 &'
commandLine: nohup /projector/entrypoint-volume.sh > /projector/entrypoint-logs.txt 2>&1 &
events:
preStart:
- init-container-command
Expand Down Expand Up @@ -734,7 +723,8 @@ editors:
- name: che-pycharm-injector
container:
image: 'quay.io/che-incubator/che-pycharm:latest'
command: ["/projector/entrypoint-init-container.sh"]
command:
- /projector/entrypoint-init-container.sh
env:
- name: PROJECTOR_VOLUME_MOUNT
value: /projector-volume
Expand All @@ -747,7 +737,7 @@ editors:
memoryRequest: 32Mi
cpuLimit: 500m
cpuRequest: 30m
- schemaVersion: 2.1.0
- schemaVersion: 2.2.2
metadata:
name: che-incubator/che-idea-server/next
displayName: IntelliJ IDEA Ultimate (desktop)
Expand All @@ -759,16 +749,14 @@ editors:
title: JetBrains IntelliJ IDEA Ultimate dev server for Eclipse Che - next
repository: 'https://github.com/che-incubator/che-idea-dev-server'
firstPublicationDate: '2023-30-11'
skipMetaYaml: true
commands:
- id: inject-editor
apply:
component: editor-injector
- id: start-idea-server
exec:
component: editor-runtime
commandLine: 'nohup /idea-server/entrypoint-volume.sh > /idea-server/std.out
2>&1 &'
commandLine: nohup /idea-server/entrypoint-volume.sh > /idea-server/std.out 2>&1 &
events:
preStart:
- inject-editor
Expand All @@ -780,7 +768,8 @@ editors:
- name: editor-injector
container:
image: 'quay.io/che-incubator/che-idea-dev-server:next'
command: ["/entrypoint-init-container.sh"]
command:
- /entrypoint-init-container.sh
volumeMounts:
- name: idea-server
path: /idea-server
Expand Down Expand Up @@ -813,7 +802,7 @@ editors:
app.kubernetes.io/component: editor-runtime
app.kubernetes.io/part-of: idea-server.eclipse.org
controller.devfile.io/container-contribution: true
- schemaVersion: 2.1.0
- schemaVersion: 2.2.2
metadata:
name: che-incubator/che-idea-server/latest
displayName: IntelliJ IDEA Ultimate (desktop)
Expand All @@ -825,16 +814,14 @@ editors:
title: JetBrains IntelliJ IDEA Ultimate dev server for Eclipse Che - latest
repository: 'https://github.com/che-incubator/che-idea-dev-server'
firstPublicationDate: '2023-30-11'
skipMetaYaml: true
commands:
- id: inject-editor
apply:
component: editor-injector
- id: start-idea-server
exec:
component: editor-runtime
commandLine: 'nohup /idea-server/entrypoint-volume.sh > /idea-server/std.out
2>&1 &'
commandLine: nohup /idea-server/entrypoint-volume.sh > /idea-server/std.out 2>&1 &
events:
preStart:
- inject-editor
Expand All @@ -846,7 +833,8 @@ editors:
- name: editor-injector
container:
image: 'quay.io/che-incubator/che-idea-dev-server:latest'
command: ["/entrypoint-init-container.sh"]
command:
- /entrypoint-init-container.sh
volumeMounts:
- name: idea-server
path: /idea-server
Expand Down
1 change: 1 addition & 0 deletions tools/build/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
},
"homepage": "https://github.com/eclipse-che/che-plugin-registry/blob/main/tools/build/README.md",
"dependencies": {
"@devfile/api": "2.2.2-1700686170",
"axios": "^1.6.7",
"decompress": "^4.2.1",
"docker-image-name-parser": "^0.1.0",
Expand Down
Loading

0 comments on commit 160caa1

Please sign in to comment.