From 304851d0a7d737b33afbf2b63a40baab003685f8 Mon Sep 17 00:00:00 2001 From: Aleksandar Aleksandrov Date: Thu, 24 Nov 2022 12:10:27 +0000 Subject: [PATCH] Set correct LEEWAY_WORKSPACE_ROOT for jobs --- .werft/platform-delete-preview-environment.yaml | 2 ++ .werft/platform-delete-preview-environments-cron.yaml | 2 ++ .werft/platform-trigger-artificial-job.yaml | 2 ++ .werft/workspace-run-integration-tests.yaml | 2 ++ 4 files changed, 8 insertions(+) diff --git a/.werft/platform-delete-preview-environment.yaml b/.werft/platform-delete-preview-environment.yaml index 7f569d4bcec4b9..3c42d8f9919a0d 100644 --- a/.werft/platform-delete-preview-environment.yaml +++ b/.werft/platform-delete-preview-environment.yaml @@ -39,6 +39,8 @@ pod: - name: harvester-k3s-dockerhub-pull-account mountPath: /mnt/secrets/harvester-k3s-dockerhub-pull-account env: + - name: LEEWAY_WORKSPACE_ROOT + value: /workspace - name: HONEYCOMB_DATASET value: "werft" - name: HONEYCOMB_API_KEY diff --git a/.werft/platform-delete-preview-environments-cron.yaml b/.werft/platform-delete-preview-environments-cron.yaml index 51518aa1da72af..0f208488d5eff0 100644 --- a/.werft/platform-delete-preview-environments-cron.yaml +++ b/.werft/platform-delete-preview-environments-cron.yaml @@ -45,6 +45,8 @@ pod: - mountPath: /mnt/secrets/github-token-gitpod-bot name: github-token-gitpod-bot env: + - name: LEEWAY_WORKSPACE_ROOT + value: /workspace - name: HONEYCOMB_DATASET value: "werft" - name: HONEYCOMB_API_KEY diff --git a/.werft/platform-trigger-artificial-job.yaml b/.werft/platform-trigger-artificial-job.yaml index 5dcbe36276195b..ea42eedb3e9b39 100644 --- a/.werft/platform-trigger-artificial-job.yaml +++ b/.werft/platform-trigger-artificial-job.yaml @@ -31,6 +31,8 @@ pod: - mountPath: /mnt/secrets/github-token-gitpod-bot name: github-token-gitpod-bot env: + - name: LEEWAY_WORKSPACE_ROOT + value: /workspace - name: ROBOQUAT_TOKEN valueFrom: secretKeyRef: diff --git a/.werft/workspace-run-integration-tests.yaml b/.werft/workspace-run-integration-tests.yaml index ee223d3dc257db..017c92e4054880 100644 --- a/.werft/workspace-run-integration-tests.yaml +++ b/.werft/workspace-run-integration-tests.yaml @@ -55,6 +55,8 @@ pod: value: "/mnt/secrets/github-token-gitpod-bot/token" - name: WERFT_CREDENTIAL_HELPER value: "/workspace/dev/preview/werft-credential-helper.sh" + - name: LEEWAY_WORKSPACE_ROOT + value: /workspace volumeMounts: - name: gcp-sa mountPath: /mnt/secrets/gcp-sa