You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by pa...@apache.org on 2022/07/14 18:40:37 UTC
[beam] branch master updated: Pg auth test (#22277)
This is an automated email from the ASF dual-hosted git repository.
pabloem pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push:
new a7a29859dc6 Pg auth test (#22277)
a7a29859dc6 is described below
commit a7a29859dc606d8342ffe949d70ccee319b6594f
Author: MakarkinSAkvelon <67...@users.noreply.github.com>
AuthorDate: Fri Jul 15 00:40:31 2022 +0600
Pg auth test (#22277)
* Playground DeployExamples: move gcloud auth to the first step
* Update playground_deploy_examples.yml
---
.github/workflows/playground_deploy_examples.yml | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/playground_deploy_examples.yml b/.github/workflows/playground_deploy_examples.yml
index 6e64c053266..9e55ecb9963 100644
--- a/.github/workflows/playground_deploy_examples.yml
+++ b/.github/workflows/playground_deploy_examples.yml
@@ -19,7 +19,6 @@ on:
push:
tags: 'v*'
branches: ['master', 'release-*']
- pull_request:
workflow_dispatch:
env:
BEAM_ROOT_DIR: ../../
@@ -50,6 +49,11 @@ jobs:
run: |
$diff = git diff --name-only origin/master
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 }})