From 9487bab07f62aee4865e39f69594e5000f879491 Mon Sep 17 00:00:00 2001 From: jiangpengcheng Date: Wed, 19 Jun 2024 18:58:12 +0800 Subject: [PATCH] Set gsa credential --- .ci/tests/integration-oauth2/e2e.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.ci/tests/integration-oauth2/e2e.yaml b/.ci/tests/integration-oauth2/e2e.yaml index 5bb5e9f7..806af685 100644 --- a/.ci/tests/integration-oauth2/e2e.yaml +++ b/.ci/tests/integration-oauth2/e2e.yaml @@ -89,6 +89,12 @@ setup: command: | kubectl cp .ci/examples/py-examples/exclamation.zip nginx-0:/tmp + - name: set gcloud auth + env: + CREDENTIAL: ${{ secrets.GSA_CREDENTIAL }} + command: | + sed -i "s/GCP_KEY_DATA/${CREDENTIAL}/g" .ci/tests/integration-oauth2/cases/google-pubsub-source/manifests.yaml + - name: install function-mesh operator command: | make manager