You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by yh...@apache.org on 2023/08/09 16:14:26 UTC

[beam] branch master updated: expose path to gcloud folder in setup action (#27923)

This is an automated email from the ASF dual-hosted git repository.

yhu 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 4122e963889 expose path to gcloud folder in setup action (#27923)
4122e963889 is described below

commit 4122e9638891f0f3461578866ed82ecd4d4c58d9
Author: Vlado Djerek <20...@users.noreply.github.com>
AuthorDate: Wed Aug 9 18:14:19 2023 +0200

    expose path to gcloud folder in setup action (#27923)
---
 .github/actions/setup-action/action.yml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/.github/actions/setup-action/action.yml b/.github/actions/setup-action/action.yml
index 187e01d2c55..edbbcefc465 100644
--- a/.github/actions/setup-action/action.yml
+++ b/.github/actions/setup-action/action.yml
@@ -57,3 +57,8 @@ runs:
         github_repository: ${{ github.repository }}     
         github_current_run_id: ${{ github.run_id }}
         pull_request_url: ${{ github.event.issue.pull_request.url }}
+    ### Used for Flink jobs that call docker run and mount gcloud folder
+    - name: expose gcloud path
+      shell: bash
+      run: |
+        echo CLOUDSDK_CONFIG=/var/lib/kubelet/pods/$POD_UID/volumes/kubernetes.io~empty-dir/gcloud >> $GITHUB_ENV
\ No newline at end of file