Skip to content

Commit

Permalink
21
Browse files Browse the repository at this point in the history
  • Loading branch information
aledbf committed Jul 16, 2023
1 parent 3b05002 commit e7fa7d4
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 11 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ jobs:
infrastructure_provider: ${{ needs.configuration.outputs.preview_infra_provider }}
large_vm: ${{ needs.configuration.outputs.with_large_vm }}
recreate_vm: ${{ inputs.recreate_vm }}
sa_key: ${{ secrets.GCP_CREDENTIALS }}
sa_key: ${{ steps.auth.outputs.credentials_file_path }}
leeway_segment_key: ${{ secrets.LEEWAY_SEGMENT_KEY }}
build-gitpod:
name: Build Gitpod
Expand Down Expand Up @@ -397,8 +397,6 @@ jobs:
TEST_BUILD_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
TEST_BUILD_REF: ${{ github.head_ref || github.ref }}
run: |
leeway run dev/preview/previewctl:install
echo "Setting up access to core-dev and harvester"
previewctl get-credentials --gcp-service-account "${PREVIEW_ENV_DEV_SA_KEY_PATH}"
previewctl install-context --branch "${PREVIEW_NAME}" --log-level debug --timeout 1m --gcp-service-account "${PREVIEW_ENV_DEV_SA_KEY_PATH}"
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/ide-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,6 @@ jobs:
gcloud auth activate-service-account --key-file ${{ steps.auth.outputs.credentials_file_path }}
leeway run dev/preview/previewctl:install
echo "Setting up access to core-dev and harvester"
previewctl get-credentials --gcp-service-account "${PREVIEW_ENV_DEV_SA_KEY_PATH}"
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/preview-env-check-regressions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,6 @@ jobs:
gcloud auth activate-service-account --key-file ${{ steps.auth.outputs.credentials_file_path }}
leeway run dev/preview/previewctl:install
echo "Setting up access to core-dev and harvester"
previewctl get-credentials --gcp-service-account "${PREVIEW_ENV_DEV_SA_KEY_PATH}"
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/preview-env-gc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ jobs:
gcloud auth activate-service-account --key-file ${{ steps.auth.outputs.credentials_file_path }}
leeway run dev/preview/previewctl:install
previewctl get-credentials --gcp-service-account ${{ steps.auth.outputs.credentials_file_path }}
previewctl list stale | jq --null-input --raw-input --compact-output '[inputs | select(length>0)]' > /tmp/stale-json
echo "names=$(cat /tmp/stale-json)" >> $GITHUB_OUTPUT
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/workspace-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,6 @@ jobs:
gcloud auth activate-service-account --key-file ${{ steps.auth.outputs.credentials_file_path }}
leeway run dev/preview/previewctl:install
echo "Setting up access to core-dev and harvester"
previewctl get-credentials --gcp-service-account ${{ steps.auth.outputs.credentials_file_path }}
Expand Down

0 comments on commit e7fa7d4

Please sign in to comment.