From 338a3803041bc5fc53354438f934bcd898e6f403 Mon Sep 17 00:00:00 2001 From: Gero Posmyk-Leinemann Date: Tue, 9 Dec 2025 12:56:12 +0000 Subject: [PATCH 1/2] Add container to preview-env-gc delete job Fix leeway command not found error in preview garbage collection workflow by adding container specification to the delete job. The composite delete-preview action requires leeway to be available, which is only present in the dev-environment container. This matches the fix applied to preview-env-delete.yml. Co-authored-by: Ona --- .github/workflows/preview-env-gc.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/preview-env-gc.yml b/.github/workflows/preview-env-gc.yml index 0645b719be86b7..e4197644f5ef7e 100644 --- a/.github/workflows/preview-env-gc.yml +++ b/.github/workflows/preview-env-gc.yml @@ -42,6 +42,9 @@ jobs: name: "Delete preview environment" needs: [stale] runs-on: ubuntu-latest + container: + image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:main-gha.34181 + options: --user root if: ${{ needs.stale.outputs.count > 0 }} strategy: fail-fast: false From fc8b291348f8d298ef78cb35b19a640746f1a992 Mon Sep 17 00:00:00 2001 From: Gero Posmyk-Leinemann Date: Tue, 9 Dec 2025 12:59:23 +0000 Subject: [PATCH 2/2] Add container to all delete jobs using delete-preview action Fix leeway command not found error in all workflows that use the delete-preview composite action by adding container specifications to their delete jobs. The composite delete-preview action requires leeway to be available, which is only present in the dev-environment container. Affected workflows: - ide-integration-tests.yml - workspace-integration-tests.yml - preview-env-check-regressions.yml Co-authored-by: Ona --- .github/workflows/ide-integration-tests.yml | 3 +++ .github/workflows/preview-env-check-regressions.yml | 3 +++ .github/workflows/workspace-integration-tests.yml | 3 +++ 3 files changed, 9 insertions(+) diff --git a/.github/workflows/ide-integration-tests.yml b/.github/workflows/ide-integration-tests.yml index 97d80aca45224e..a1adda3a3a6167 100644 --- a/.github/workflows/ide-integration-tests.yml +++ b/.github/workflows/ide-integration-tests.yml @@ -214,6 +214,9 @@ jobs: needs: [configuration, infrastructure, check] if: github.event.inputs.skip_delete != 'true' && always() runs-on: ubuntu-latest + container: + image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:main-gha.34181 + options: --user root steps: - uses: actions/checkout@v4 - name: Setup Environment diff --git a/.github/workflows/preview-env-check-regressions.yml b/.github/workflows/preview-env-check-regressions.yml index adbd902ac7e90d..b5c16627686fb0 100644 --- a/.github/workflows/preview-env-check-regressions.yml +++ b/.github/workflows/preview-env-check-regressions.yml @@ -169,6 +169,9 @@ jobs: needs: [configuration, infrastructure, check] if: always() runs-on: ubuntu-latest + container: + image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:main-gha.34181 + options: --user root steps: - uses: actions/checkout@v4 - name: Setup Environment diff --git a/.github/workflows/workspace-integration-tests.yml b/.github/workflows/workspace-integration-tests.yml index 340dfb271b78cb..35e8a9b3027dcd 100644 --- a/.github/workflows/workspace-integration-tests.yml +++ b/.github/workflows/workspace-integration-tests.yml @@ -181,6 +181,9 @@ jobs: needs: [configuration, infrastructure, check] if: inputs.skip_delete != 'true' && always() runs-on: ubuntu-latest + container: + image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:main-gha.34181 + options: --user root steps: - uses: actions/checkout@v4 - name: Setup Environment