Skip to content

Commit

Permalink
Testing authentication for Playground (apache#22782)
Browse files Browse the repository at this point in the history
  • Loading branch information
pabloem authored Aug 18, 2022
1 parent db47498 commit 13a03fe
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/playground_deploy_examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ jobs:
$diff = git diff --name-only ${{ github.event.before }} ${{ github.event.after }}
echo "$diff"
Write-Host "::set-output name=example_diff::$diff"
- name: Setup GCP account
run: |
echo "${{ secrets.GCP_PLAYGROUND_SA_KEY }}" | base64 -d > /tmp/gcp_access.json
which gcloud
gcloud auth activate-service-account --project=apache-beam-testing --key-file=/tmp/gcp_access.json
- name: has Examples
run: |
output=$(python3 checker.py ${{ steps.check_file_changed.outputs.example_diff }})
Expand Down

0 comments on commit 13a03fe

Please sign in to comment.