diff --git a/.github/workflows/deployment_gke_demo.yaml b/.github/workflows/deployment_gke_demo.yaml index 277b053a..7b09a7be 100644 --- a/.github/workflows/deployment_gke_demo.yaml +++ b/.github/workflows/deployment_gke_demo.yaml @@ -86,7 +86,7 @@ jobs: - name: Download Skaffold cache if exists run: | - gsutil cp ${SKAFFOLD_CACHE_GCS} ~/.skaffold/ || true + gcloud storage cp ${SKAFFOLD_CACHE_GCS} ~/.skaffold/ || true - name: Build and deploy to cluster run: | @@ -102,6 +102,6 @@ jobs: - name: Upload Skaffold cache if: always() run: | - gsutil cp ~/.skaffold/cache ${SKAFFOLD_CACHE_GCS} + gcloud storage cp ~/.skaffold/cache ${SKAFFOLD_CACHE_GCS} # copier:endraw diff --git a/.github/workflows/deployment_gke_develop.yaml b/.github/workflows/deployment_gke_develop.yaml index 75a86ab7..327063c1 100644 --- a/.github/workflows/deployment_gke_develop.yaml +++ b/.github/workflows/deployment_gke_develop.yaml @@ -92,7 +92,7 @@ jobs: - name: Download Skaffold cache if exists run: | - gsutil cp ${SKAFFOLD_CACHE_GCS} ~/.skaffold/ || true + gcloud storage cp ${SKAFFOLD_CACHE_GCS} ~/.skaffold/ || true - name: Build and deploy to cluster run: | @@ -108,6 +108,6 @@ jobs: - name: Upload Skaffold cache if: always() run: | - gsutil cp ~/.skaffold/cache ${SKAFFOLD_CACHE_GCS} + gcloud storage cp ~/.skaffold/cache ${SKAFFOLD_CACHE_GCS} # copier:endraw diff --git a/.github/workflows/e2e_gke_api_test.yaml b/.github/workflows/e2e_gke_api_test.yaml index 3d464e90..abdea37b 100644 --- a/.github/workflows/e2e_gke_api_test.yaml +++ b/.github/workflows/e2e_gke_api_test.yaml @@ -84,7 +84,7 @@ jobs: - name: Download Skaffold cache if exists run: | - gsutil cp $SKAFFOLD_CACHE_GCS ~/.skaffold/ || true + gcloud storage cp $SKAFFOLD_CACHE_GCS ~/.skaffold/ || true - name: Build and deploy to cluster @@ -101,7 +101,7 @@ jobs: - name: Upload Skaffold cache if: always() run: | - gsutil cp ~/.skaffold/cache ${SKAFFOLD_CACHE_GCS} + gcloud storage cp ~/.skaffold/cache ${SKAFFOLD_CACHE_GCS} e2e-api-test: runs-on: ubuntu-latest diff --git a/components/common/src/common/utils/gcs_adapter.py b/components/common/src/common/utils/gcs_adapter.py index c95a3937..132e5e86 100644 --- a/components/common/src/common/utils/gcs_adapter.py +++ b/components/common/src/common/utils/gcs_adapter.py @@ -383,7 +383,7 @@ def move_file_within_bucket(bucket_name, src_path, dest_path): blob_name `str`: Final path of the file on the bucket ------------------------------------------------------- Note: - if gsutil URI is + if object URI is `gs:///path/to/file/abc.txt` then src_path and dest_path should be `path/to/file/abc.txt` @@ -415,7 +415,7 @@ def delete_file_from_gcs(bucket_name, src_path): File will be deleted ------------------------------------------------------- Note: - if gsutil URI is + if object URI is `gs:///path/to/file/abc.txt` then src_path should be `path/to/file/abc.txt` diff --git a/components/llm_service/README.md b/components/llm_service/README.md index 4ee06797..e9f10475 100644 --- a/components/llm_service/README.md +++ b/components/llm_service/README.md @@ -282,7 +282,7 @@ gcloud storage cp /path/to/agent_config.json gs://${PROJECT_ID}-config Verify if the file has uploaded correctly to the bucket. ``` -gsutil list gs://${PROJECT_ID}-config/agent_config.json +gcloud storage ls gs://${PROJECT_ID}-config/agent_config.json ``` Set up the environment variable `AGENT_CONFIG_PATH` accordingly: