Skip to content

Commit 304851d

Browse files
vulkoingimroboquat
authored andcommitted
Set correct LEEWAY_WORKSPACE_ROOT for jobs
1 parent 9e8b89e commit 304851d

4 files changed

+8
-0
lines changed

.werft/platform-delete-preview-environment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ pod:
3939
- name: harvester-k3s-dockerhub-pull-account
4040
mountPath: /mnt/secrets/harvester-k3s-dockerhub-pull-account
4141
env:
42+
- name: LEEWAY_WORKSPACE_ROOT
43+
value: /workspace
4244
- name: HONEYCOMB_DATASET
4345
value: "werft"
4446
- name: HONEYCOMB_API_KEY

.werft/platform-delete-preview-environments-cron.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ pod:
4545
- mountPath: /mnt/secrets/github-token-gitpod-bot
4646
name: github-token-gitpod-bot
4747
env:
48+
- name: LEEWAY_WORKSPACE_ROOT
49+
value: /workspace
4850
- name: HONEYCOMB_DATASET
4951
value: "werft"
5052
- name: HONEYCOMB_API_KEY

.werft/platform-trigger-artificial-job.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ pod:
3131
- mountPath: /mnt/secrets/github-token-gitpod-bot
3232
name: github-token-gitpod-bot
3333
env:
34+
- name: LEEWAY_WORKSPACE_ROOT
35+
value: /workspace
3436
- name: ROBOQUAT_TOKEN
3537
valueFrom:
3638
secretKeyRef:

.werft/workspace-run-integration-tests.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ pod:
5555
value: "/mnt/secrets/github-token-gitpod-bot/token"
5656
- name: WERFT_CREDENTIAL_HELPER
5757
value: "/workspace/dev/preview/werft-credential-helper.sh"
58+
- name: LEEWAY_WORKSPACE_ROOT
59+
value: /workspace
5860
volumeMounts:
5961
- name: gcp-sa
6062
mountPath: /mnt/secrets/gcp-sa

0 commit comments

Comments
 (0)