From 7f9af733dd117e9c6c1eff826c6ff583dd4bda0e Mon Sep 17 00:00:00 2001 From: Artem Zatsarynnyi Date: Mon, 4 Nov 2024 12:00:45 +0100 Subject: [PATCH] Add RubyMine IDE Signed-off-by: Artem Zatsarynnyi --- .../che-rubymine-server-latest.yaml | 105 ++++++++++++++++++ .../che-rubymine-server-next.yaml | 105 ++++++++++++++++++ 2 files changed, 210 insertions(+) create mode 100644 editors-definitions/che-rubymine-server-latest.yaml create mode 100644 editors-definitions/che-rubymine-server-next.yaml diff --git a/editors-definitions/che-rubymine-server-latest.yaml b/editors-definitions/che-rubymine-server-latest.yaml new file mode 100644 index 000000000..031b4af8e --- /dev/null +++ b/editors-definitions/che-rubymine-server-latest.yaml @@ -0,0 +1,105 @@ +# +# Copyright (c) 2024 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + +schemaVersion: 2.2.2 +metadata: + name: che-rubymine-server + displayName: JetBrains RubyMine 2024.2.3 (desktop) + description: JetBrains RubyMine for Eclipse Che - latest + tags: + - Tech-Preview + attributes: + publisher: che-incubator + version: latest + provider: Provided by [JetBrains](https://www.jetbrains.com/) under [License](https://www.jetbrains.com/legal/docs/toolbox/user/) + title: JetBrains RubyMine for Eclipse Che - latest + repository: https://github.com/che-incubator/che-idea-dev-server + firstPublicationDate: '2024-04-11' + iconMediatype: image/svg+xml + iconData: | + + + + + + + + + + + + + + + + + + + + + + + + +commands: + - id: inject-editor + apply: + component: editor-injector + - id: start-ide-server + exec: + component: editor-runtime + commandLine: nohup /idea-server/entrypoint-volume.sh > /idea-server/std.out + 2>&1 & +events: + preStart: + - inject-editor + postStart: + - start-ide-server +components: + - name: idea-server + volume: {} + - name: editor-injector + container: + image: quay.io/che-incubator/che-idea-dev-server:latest + command: ['/entrypoint-init-container.sh', 'rubymine'] + volumeMounts: + - name: idea-server + path: /idea-server + memoryLimit: 256Mi + memoryRequest: 32Mi + cpuLimit: 500m + cpuRequest: 30m + - name: editor-runtime + container: + image: quay.io/devfile/universal-developer-image:latest + memoryLimit: 6144Mi + memoryRequest: 2048Mi + cpuLimit: 2000m + cpuRequest: 1500m + volumeMounts: + - name: idea-server + path: /idea-server + endpoints: + - name: idea-server + attributes: + type: main + cookiesAuthEnabled: true + discoverable: false + urlRewriteSupported: true + targetPort: 3400 + exposure: public + secure: true + protocol: https + attributes: + app.kubernetes.io/component: editor-runtime + app.kubernetes.io/part-of: ide-server.eclipse.org + controller.devfile.io/container-contribution: true \ No newline at end of file diff --git a/editors-definitions/che-rubymine-server-next.yaml b/editors-definitions/che-rubymine-server-next.yaml new file mode 100644 index 000000000..106e2ad6c --- /dev/null +++ b/editors-definitions/che-rubymine-server-next.yaml @@ -0,0 +1,105 @@ +# +# Copyright (c) 2024 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + +schemaVersion: 2.2.2 +metadata: + name: che-rubymine-server + displayName: JetBrains RubyMine 2024.2.3 (desktop) + description: JetBrains RubyMine for Eclipse Che - next + tags: + - Tech-Preview + attributes: + publisher: che-incubator + version: next + provider: Provided by [JetBrains](https://www.jetbrains.com/) under [License](https://www.jetbrains.com/legal/docs/toolbox/user/) + title: JetBrains RubyMine for Eclipse Che - next + repository: https://github.com/che-incubator/che-idea-dev-server + firstPublicationDate: '2024-04-11' + iconMediatype: image/svg+xml + iconData: | + + + + + + + + + + + + + + + + + + + + + + + + +commands: + - id: inject-editor + apply: + component: editor-injector + - id: start-ide-server + exec: + component: editor-runtime + commandLine: nohup /idea-server/entrypoint-volume.sh > /idea-server/std.out + 2>&1 & +events: + preStart: + - inject-editor + postStart: + - start-ide-server +components: + - name: idea-server + volume: {} + - name: editor-injector + container: + image: quay.io/che-incubator/che-idea-dev-server:next + command: ['/entrypoint-init-container.sh', 'rubymine'] + volumeMounts: + - name: idea-server + path: /idea-server + memoryLimit: 256Mi + memoryRequest: 32Mi + cpuLimit: 500m + cpuRequest: 30m + - name: editor-runtime + container: + image: quay.io/devfile/universal-developer-image:latest + memoryLimit: 6144Mi + memoryRequest: 2048Mi + cpuLimit: 2000m + cpuRequest: 1500m + volumeMounts: + - name: idea-server + path: /idea-server + endpoints: + - name: idea-server + attributes: + type: main + cookiesAuthEnabled: true + discoverable: false + urlRewriteSupported: true + targetPort: 3400 + exposure: public + secure: true + protocol: https + attributes: + app.kubernetes.io/component: editor-runtime + app.kubernetes.io/part-of: ide-server.eclipse.org + controller.devfile.io/container-contribution: true \ No newline at end of file