Skip to content

Commit

Permalink
Introduce devfile for testing purposes
Browse files Browse the repository at this point in the history
  • Loading branch information
vzhukovs committed Sep 25, 2020
1 parent 9c64b39 commit 284047c
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 4 deletions.
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
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
39 changes: 39 additions & 0 deletions devfiles/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
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

0 comments on commit 284047c

Please sign in to comment.