You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by da...@apache.org on 2023/08/10 13:22:05 UTC

[beam] branch master updated: add expose gcloud kubelet path to setup action (#27952)

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

damccorm 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 b5f260dfed7 add expose gcloud kubelet path to setup action (#27952)
b5f260dfed7 is described below

commit b5f260dfed7c72f4607a3b5a9774bb1ee9724db6
Author: Vlado Djerek <20...@users.noreply.github.com>
AuthorDate: Thu Aug 10 15:21:57 2023 +0200

    add expose gcloud kubelet path to setup action (#27952)
    
    * add expose gcloud kubelet path to setup action
    
    * add comment
---
 .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..dac588cd13d 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 jobs that spawn docker containers and need to mount gcloud config directory
+    - name: expose gcloud path
+      shell: bash
+      run: |
+        echo KUBELET_GCLOUD_CONFIG_PATH=/var/lib/kubelet/pods/$POD_UID/volumes/kubernetes.io~empty-dir/gcloud >> $GITHUB_ENV