From 1a42ad353af2f96d19ef0724a3387ea10edcdbeb Mon Sep 17 00:00:00 2001 From: Erick Friis Date: Fri, 5 Jan 2024 15:03:39 -0800 Subject: [PATCH] infra: vertex integration test creds (#15609) --- .github/workflows/_integration_test.yml | 6 ++++++ .github/workflows/_release.yml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/.github/workflows/_integration_test.yml b/.github/workflows/_integration_test.yml index bf26ff460a8474..e6c8296c59c19c 100644 --- a/.github/workflows/_integration_test.yml +++ b/.github/workflows/_integration_test.yml @@ -37,6 +37,12 @@ jobs: shell: bash run: poetry install --with test,test_integration + - name: 'Authenticate to Google Cloud' + id: 'auth' + uses: google-github-actions/auth@v2 + with: + credentials_json: '${{ secrets.GOOGLE_CREDENTIALS }}' + - name: Run integration tests shell: bash env: diff --git a/.github/workflows/_release.yml b/.github/workflows/_release.yml index cf40e6d1ebca36..74c6ff52517ca1 100644 --- a/.github/workflows/_release.yml +++ b/.github/workflows/_release.yml @@ -149,6 +149,12 @@ jobs: run: make tests working-directory: ${{ inputs.working-directory }} + - name: 'Authenticate to Google Cloud' + id: 'auth' + uses: google-github-actions/auth@v2 + with: + credentials_json: '${{ secrets.GOOGLE_CREDENTIALS }}' + - name: Run integration tests if: ${{ startsWith(inputs.working-directory, 'libs/partners/') }} env: