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

yhu pushed a commit to branch fixcleanupcbt
in repository https://gitbox.apache.org/repos/asf/beam.git

commit 4b3fdd784dec1868370e369f6e8e14467c416735
Author: Yi Hu <ya...@google.com>
AuthorDate: Tue Nov 7 11:19:48 2023 -0500

    Install cbt cli for cleanup gcp resource
---
 .github/workflows/beam_CleanUpGCPResources.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/beam_CleanUpGCPResources.yml 
b/.github/workflows/beam_CleanUpGCPResources.yml
index 3097df8ecf7..0e9a93d49e3 100644
--- a/.github/workflows/beam_CleanUpGCPResources.yml
+++ b/.github/workflows/beam_CleanUpGCPResources.yml
@@ -19,7 +19,7 @@ name: Clean Up GCP Resources
 
 on:
   schedule:
-    - cron: '0 0 * * *'
+    - cron: '0 0,12 * * *'
   workflow_dispatch:
 
 # This allows a subsequently queued workflow run to interrupt previous runs
@@ -77,6 +77,8 @@ jobs:
         with:
           credentials_json: ${{ secrets.GCP_SA_KEY }}
           project_id: ${{ secrets.GCP_PROJECT_ID }}
+      - name: Install gcloud bigtable cli
+        run: gcloud components install cbt
       - name: run cleanup GCP resources
         uses: ./.github/actions/gradle-command-self-hosted-action
         with:

Reply via email to