From 3ec58ea98e646b1e2ef95a12b386eb1f296c4cad Mon Sep 17 00:00:00 2001 From: Pudong Zheng Date: Wed, 24 Apr 2024 18:17:29 +0000 Subject: [PATCH] try ide again --- .github/workflows/ide-integration-tests.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ide-integration-tests.yml b/.github/workflows/ide-integration-tests.yml index 77e74cdc5c482a..65311f0f428b6c 100644 --- a/.github/workflows/ide-integration-tests.yml +++ b/.github/workflows/ide-integration-tests.yml @@ -127,6 +127,8 @@ jobs: steps: - uses: actions/checkout@v4 - name: Setup Environment + env: + HOME: /home/gitpod uses: ./.github/actions/setup-environment with: identity_provider: ${{ secrets.DEV_PREVIEW_PROVIDER }} @@ -142,11 +144,11 @@ jobs: TEST_BUILD_ID: ${{ github.run_id }} TEST_BUILD_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} TEST_BUILD_REF: ${{ github.head_ref || github.ref }} + HOME: /home/gitpod run: | set -euo pipefail export LEEWAY_WORKSPACE_ROOT="$(pwd)" - export HOME="/home/gitpod" leeway run dev/preview/previewctl:install @@ -154,7 +156,7 @@ jobs: # start integration test args=() - args+=( "-kubeconfig=/home/gitpod/.kube/config" ) + args+=( "-kubeconfig=$HOME/.kube/config" ) args+=( "-namespace=default" ) [[ "$USERNAME" != "" ]] && args+=( "-username=$USERNAME" ) args+=( "-timeout=60m" )