Skip to content

Commit a4a005a

Browse files
add c templates appdefinition (#107)
* add c templates appdefinition * fix pipeline image index * temp remove acme gateway * add c templates image to preloading * Remove white spaces * update all test envs and staging to use c templates * Add c templates preloading
1 parent 4aa8111 commit a4a005a

8 files changed

Lines changed: 85 additions & 35 deletions

File tree

.github/workflows/deploy-theia.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -380,22 +380,23 @@ jobs:
380380
fi
381381
382382
# Only override IDE images when a tag is explicitly provided.
383-
# Indices 0 (landing) and 1-11 (IDE + no-ls + langserver preload) are set above / here.
384-
# Index 12 is oauth2-proxy (distroless); keep it only in values.yaml so it is never replaced by a string override.
383+
# Indices 0 (landing) and 1-12 (IDE + no-ls + langserver preload) are set above / here.
384+
# Index 13 is oauth2-proxy (distroless); keep it only in values.yaml so it is never replaced by a string override.
385385
if [ -n "${IDE_IMAGES_TAG}" ]; then
386386
HELM_CMD+=(
387387
--set "theia-cloud.preloading.images[1]=ghcr.io/eduide/eduide/java-17:${IDE_IMAGES_TAG}"
388388
--set "theia-cloud.preloading.images[2]=ghcr.io/eduide/eduide/java-17-templates:${IDE_IMAGES_TAG}"
389389
--set "theia-cloud.preloading.images[3]=ghcr.io/eduide/eduide/c:${IDE_IMAGES_TAG}"
390-
--set "theia-cloud.preloading.images[4]=ghcr.io/eduide/eduide/javascript:${IDE_IMAGES_TAG}"
391-
--set "theia-cloud.preloading.images[5]=ghcr.io/eduide/eduide/ocaml:${IDE_IMAGES_TAG}"
392-
--set "theia-cloud.preloading.images[6]=ghcr.io/eduide/eduide/rust:${IDE_IMAGES_TAG}"
393-
--set "theia-cloud.preloading.images[7]=ghcr.io/eduide/eduide/python:${IDE_IMAGES_TAG}"
390+
--set "theia-cloud.preloading.images[4]=ghcr.io/eduide/eduide/c-templates:${IDE_IMAGES_TAG}"
391+
--set "theia-cloud.preloading.images[5]=ghcr.io/eduide/eduide/javascript:${IDE_IMAGES_TAG}"
392+
--set "theia-cloud.preloading.images[6]=ghcr.io/eduide/eduide/ocaml:${IDE_IMAGES_TAG}"
393+
--set "theia-cloud.preloading.images[7]=ghcr.io/eduide/eduide/rust:${IDE_IMAGES_TAG}"
394+
--set "theia-cloud.preloading.images[8]=ghcr.io/eduide/eduide/python:${IDE_IMAGES_TAG}"
394395
# Intentionally override no-ls + langserver preload images globally when IDE tag is overridden.
395-
--set "theia-cloud.preloading.images[8]=ghcr.io/eduide/eduide/java-17-no-ls:${IDE_IMAGES_TAG}"
396-
--set "theia-cloud.preloading.images[9]=ghcr.io/eduide/eduide/rust-no-ls:${IDE_IMAGES_TAG}"
397-
--set "theia-cloud.preloading.images[10]=ghcr.io/eduide/eduide/langserver-java:${IDE_IMAGES_TAG}"
398-
--set "theia-cloud.preloading.images[11]=ghcr.io/eduide/eduide/langserver-rust:${IDE_IMAGES_TAG}"
396+
--set "theia-cloud.preloading.images[9]=ghcr.io/eduide/eduide/java-17-no-ls:${IDE_IMAGES_TAG}"
397+
--set "theia-cloud.preloading.images[10]=ghcr.io/eduide/eduide/rust-no-ls:${IDE_IMAGES_TAG}"
398+
--set "theia-cloud.preloading.images[11]=ghcr.io/eduide/eduide/langserver-java:${IDE_IMAGES_TAG}"
399+
--set "theia-cloud.preloading.images[12]=ghcr.io/eduide/eduide/langserver-rust:${IDE_IMAGES_TAG}"
399400
--set theia-appdefinitions.defaultImageTag="${IDE_IMAGES_TAG}"
400401
)
401402
fi

charts/theia-appdefinitions/values.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,18 @@ apps:
4444
dataBridgeEnabled: "true"
4545
dataBridgePort: "16281"
4646

47+
- name: c-templates-latest
48+
image: ghcr.io/eduide/eduide/c-templates
49+
# imageTag: latest # Optional: override defaultImageTag for this app
50+
requestsMemory: 500M
51+
requestsCpu: 200m
52+
limitsMemory: 2400M
53+
minInstances: 0
54+
maxInstances: 1000
55+
options:
56+
dataBridgeEnabled: "true"
57+
dataBridgePort: "16281"
58+
4759
- name: javascript-latest
4860
image: ghcr.io/eduide/eduide/javascript
4961
# imageTag: latest # Optional: override defaultImageTag for this app

charts/theia-cloud-combined/values.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ theia-cloud:
8383
- ghcr.io/eduide/eduide/java-17:latest
8484
- ghcr.io/eduide/eduide/java-17-templates:latest
8585
- ghcr.io/eduide/eduide/c:latest
86+
- ghcr.io/eduide/eduide/c-templates:latest
8687
- ghcr.io/eduide/eduide/javascript:latest
8788
- ghcr.io/eduide/eduide/ocaml:latest
8889
- ghcr.io/eduide/eduide/rust:latest
@@ -121,6 +122,14 @@ theia-cloud:
121122
label: Gradle
122123
c-latest:
123124
label: C
125+
visible: false
126+
c-templates-latest:
127+
label: C
128+
buildSystems:
129+
- id: bazel
130+
label: Bazel
131+
- id: make
132+
label: Make
124133
javascript-latest:
125134
label: Javascript
126135
ocaml-latest:

deployments/shared-gateway/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,4 @@ gateway:
6262
tlsSecretName: shared-theia-cert
6363
- name: staging-webview
6464
hostname: "*.webview.instance.theia-staging.artemis.cit.tum.de"
65-
tlsSecretName: static-theia-cert
65+
tlsSecretName: static-theia-cert

deployments/test1.theia-test.artemis.cit.tum.de/values.yaml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,14 +72,15 @@ theia-cloud:
7272
# name: service-admin-api-token
7373
# key: ADMIN_API_TOKEN
7474

75-
# Preload list indices 0–11 must match deploy-theia.yml --set overrides when tags are passed.
76-
# Index 12 is oauth2-proxy (distroless); the workflow does not override it.
75+
# Preload list indices 0–12 must match deploy-theia.yml --set overrides when tags are passed.
76+
# Index 13 is oauth2-proxy (distroless); the workflow does not override it.
7777
preloading:
7878
images:
7979
- ghcr.io/eduide/eduidec-landing-page:latest
8080
- ghcr.io/eduide/eduide/java-17:latest
8181
- ghcr.io/eduide/eduide/java-17-templates:latest
8282
- ghcr.io/eduide/eduide/c:latest
83+
- ghcr.io/eduide/eduide/c-templates:latest
8384
- ghcr.io/eduide/eduide/javascript:latest
8485
- ghcr.io/eduide/eduide/ocaml:latest
8586
- ghcr.io/eduide/eduide/rust:latest
@@ -118,6 +119,14 @@ theia-cloud:
118119
label: Gradle
119120
c-latest:
120121
label: C
122+
visible: false
123+
c-templates-latest:
124+
label: C
125+
buildSystems:
126+
- id: bazel
127+
label: Bazel
128+
- id: make
129+
label: Make
121130
javascript-latest:
122131
label: Javascript
123132
ocaml-latest:

deployments/test2.theia-test.artemis.cit.tum.de/values.yaml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,14 +72,15 @@ theia-cloud:
7272
# name: service-admin-api-token
7373
# key: ADMIN_API_TOKEN
7474

75-
# Preload list indices 0–11 must match deploy-theia.yml --set overrides when tags are passed.
76-
# Index 12 is oauth2-proxy (distroless); the workflow does not override it.
75+
# Preload list indices 0–12 must match deploy-theia.yml --set overrides when tags are passed.
76+
# Index 13 is oauth2-proxy (distroless); the workflow does not override it.
7777
preloading:
7878
images:
7979
- ghcr.io/eduide/eduidec-landing-page:latest
8080
- ghcr.io/eduide/eduide/java-17:latest
8181
- ghcr.io/eduide/eduide/java-17-templates:latest
8282
- ghcr.io/eduide/eduide/c:latest
83+
- ghcr.io/eduide/eduide/c-templates:latest
8384
- ghcr.io/eduide/eduide/javascript:latest
8485
- ghcr.io/eduide/eduide/ocaml:latest
8586
- ghcr.io/eduide/eduide/rust:latest
@@ -118,6 +119,14 @@ theia-cloud:
118119
label: Gradle
119120
c-latest:
120121
label: C
122+
visible: false
123+
c-templates-latest:
124+
label: C
125+
buildSystems:
126+
- id: bazel
127+
label: Bazel
128+
- id: make
129+
label: Make
121130
javascript-latest:
122131
label: Javascript
123132
ocaml-latest:

deployments/test3.theia-test.artemis.cit.tum.de/values.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,14 +80,15 @@ theia-cloud:
8080
name: service-admin-api-token
8181
key: ADMIN_API_TOKEN
8282

83-
# Preload list indices 0–11 must match deploy-theia.yml --set overrides when tags are passed.
84-
# Index 12 is oauth2-proxy (distroless); the workflow does not override it.
83+
# Preload list indices 0–12 must match deploy-theia.yml --set overrides when tags are passed.
84+
# Index 13 is oauth2-proxy (distroless); the workflow does not override it.
8585
preloading:
8686
images:
8787
- ghcr.io/eduide/eduidec-landing-page:latest
8888
- ghcr.io/eduide/eduide/java-17:latest
8989
- ghcr.io/eduide/eduide/java-17-templates:latest
9090
- ghcr.io/eduide/eduide/c:latest
91+
- ghcr.io/eduide/eduide/c-templates:latest
9192
- ghcr.io/eduide/eduide/javascript:latest
9293
- ghcr.io/eduide/eduide/ocaml:latest
9394
- ghcr.io/eduide/eduide/rust:latest

deployments/theia-staging.artemis.cit.tum.de/values.yaml

Lines changed: 27 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ theia-cloud:
5757
interval: 3
5858

5959
operator:
60-
image: ghcr.io/eduide/eduide-cloud/operator:2026-05-05
60+
image: ghcr.io/eduide/eduide-cloud/operator:latest
6161
sentry:
6262
enable: true
6363
#eagerStart: false
@@ -66,29 +66,30 @@ theia-cloud:
6666
storageClassName: csi-rbd-sc
6767

6868
service:
69-
image: ghcr.io/eduide/eduide-cloud/service:2026-05-05
69+
image: ghcr.io/eduide/eduide-cloud/service:latest
7070
sentry:
7171
enable: true
7272
adminApiTokenSecret:
7373
name: service-admin-api-token
7474
key: ADMIN_API_TOKEN
7575

76-
# Preload list indices 0–11 must match deploy-theia.yml --set overrides when tags are passed.
77-
# Index 12 is oauth2-proxy (distroless); the workflow does not override it.
76+
# Preload list indices 0–12 must match deploy-theia.yml --set overrides when tags are passed.
77+
# Index 13 is oauth2-proxy (distroless); the workflow does not override it.
7878
preloading:
7979
images:
80-
- ghcr.io/eduide/eduidec-landing-page:2026-05-05
81-
- ghcr.io/eduide/eduide/java-17:2026-05-05
82-
- ghcr.io/eduide/eduide/java-17-templates:2026-05-05
83-
- ghcr.io/eduide/eduide/c:2026-05-05
84-
- ghcr.io/eduide/eduide/javascript:2026-05-05
85-
- ghcr.io/eduide/eduide/ocaml:2026-05-05
86-
- ghcr.io/eduide/eduide/rust:2026-05-05
87-
- ghcr.io/eduide/eduide/python:2026-05-05
88-
- ghcr.io/eduide/eduide/java-17-no-ls:2026-05-05
89-
- ghcr.io/eduide/eduide/rust-no-ls:2026-05-05
90-
- ghcr.io/eduide/eduide/langserver-java:2026-05-05
91-
- ghcr.io/eduide/eduide/langserver-rust:2026-05-05
80+
- ghcr.io/eduide/eduidec-landing-page:latest
81+
- ghcr.io/eduide/eduide/java-17:latest
82+
- ghcr.io/eduide/eduide/java-17-templates:latest
83+
- ghcr.io/eduide/eduide/c:latest
84+
- ghcr.io/eduide/eduide/c-templates:latest
85+
- ghcr.io/eduide/eduide/javascript:latest
86+
- ghcr.io/eduide/eduide/ocaml:latest
87+
- ghcr.io/eduide/eduide/rust:latest
88+
- ghcr.io/eduide/eduide/python:latest
89+
- ghcr.io/eduide/eduide/java-17-no-ls:latest
90+
- ghcr.io/eduide/eduide/rust-no-ls:latest
91+
- ghcr.io/eduide/eduide/langserver-java:latest
92+
- ghcr.io/eduide/eduide/langserver-rust:latest
9293
- image: quay.io/oauth2-proxy/oauth2-proxy:v7.12.0
9394
args: ["--version"]
9495

@@ -100,7 +101,7 @@ theia-cloud:
100101

101102
landingPage:
102103
# We use the try now page as landing page since the default does not support mutliple apps -> https://github.com/eclipsesource/theia-cloud/discussions/301
103-
image: ghcr.io/eduide/eduidec-landing-page:2026-05-05
104+
image: ghcr.io/eduide/eduidec-landing-page:latest
104105
sentry:
105106
enable: true
106107
logoFileExtension: "png"
@@ -120,6 +121,14 @@ theia-cloud:
120121
label: Gradle
121122
c-latest:
122123
label: C
124+
visible: false
125+
c-templates-latest:
126+
label: C
127+
buildSystems:
128+
- id: bazel
129+
label: Bazel
130+
- id: make
131+
label: Make
123132
javascript-latest:
124133
label: Javascript
125134
ocaml-latest:
@@ -160,7 +169,7 @@ theia-cloud:
160169
clientId: "theia-staging"
161170

162171
theia-appdefinitions:
163-
defaultImageTag: "2026-05-05"
172+
defaultImageTag: "latest"
164173

165174
monitoring:
166175
targetNamespaces:

0 commit comments

Comments
 (0)