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

Introduce devfile for testing purposes #6

Merged
merged 2 commits into from
Sep 25, 2020
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
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Connect from Chrome/Firefox to:
http://localhost:8080/vnc.html?resize=remote&autoconnect=1

## Test With Che
http://che.openshift.io/f?url=https://gist.githubusercontent.com/benoitf/3c69b0290e6b6901dd20a505e1024267/raw/7f6523f7ec8a5bcbdbbc82eb4800fe565cb74c9f/gistfile1.txt
[![Contribute](https://www.eclipse.org/che/contribute.svg)](http://che.openshift.io/f?url=https://raw.githubusercontent.com/che-incubator/che-editor-intellij-community/devfiles/master/workspace.yaml)

current meta.yaml
```yaml
Expand All @@ -30,8 +30,8 @@ title: IntelliJ IDEA Community Edition (in browser using noVNC) as editor for E
description: IntelliJ IDEA Community Edition running on the Web with noVNC
icon: https://resources.jetbrains.com/storage/products/intellij-idea/img/meta/intellij-idea_logo_300x300.png
category: Editor
repository: https://github.com/benoitf/intellij-editor-vnc/
firstPublicationDate: "2020-09-07"
repository: https://github.com/che-incubator/che-editor-intellij-community
firstPublicationDate: "2020-09-25"
spec:
endpoints:
# hack (use dirigible endpoint name as it is part of liveness probes)
Expand All @@ -44,7 +44,7 @@ spec:
path: /vnc.html?resize=remote&autoconnect=true&reconnect=true
containers:
- name: intellij-novnc
image: "quay.io/fbenoit/vnc-intellij:20200922"
image: "quay.io/che-incubator/che-editor-intellij-community:latest"
mountSources: true
volumes:
- mountPath: "/intellij-config"
Expand Down
38 changes: 38 additions & 0 deletions devfiles/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
apiVersion: v2
publisher: fbenoit
name: intellij-NOVNC
version: 2020.2.2
type: Che Editor
displayName: IntelliJ IDEA Community Edition
title: IntelliJ IDEA Community Edition (in browser using noVNC) as editor for Eclipse Che
description: IntelliJ IDEA Community Edition running on the Web with noVNC
icon: https://resources.jetbrains.com/storage/products/intellij-idea/img/meta/intellij-idea_logo_300x300.png
category: Editor
repository: https://github.com/che-incubator/che-editor-intellij-community
firstPublicationDate: "2020-09-25"
spec:
endpoints:
# hack (use dirigible endpoint name as it is part of liveness probes)
- name: "dirigible"
public: true
targetPort: 8080
attributes:
protocol: http
type: ide
path: /vnc.html?resize=remote&autoconnect=true&reconnect=true
containers:
- name: intellij-novnc
image: "quay.io/che-incubator/che-editor-intellij-community:latest"
mountSources: true
volumes:
- mountPath: "/intellij-config"
name: intellij-config
volumes:
- mountPath: "/home/user/.local"
name: intellij-local
volumes:
- mountPath: "/home/user/.java"
name: intellij-java
ports:
- exposedPort: 8080
memoryLimit: "2048M"
7 changes: 7 additions & 0 deletions devfiles/workspace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
metadata:
name: che-intellij-
components:
- type: cheEditor
reference: 'https://raw.githubusercontent.com/che-incubator/che-editor-intellij-community/devfiles/master/meta.yaml'
alias: theia-editor
apiVersion: 1.0.0