From 8219365945906a07a054e0cf67b53584bf935be3 Mon Sep 17 00:00:00 2001 From: bolyachevets Date: Wed, 29 Nov 2023 21:50:55 -0800 Subject: [PATCH 1/3] read key during cloudbuild --- apps/application-status/devops/cloudbuild-pr.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/application-status/devops/cloudbuild-pr.yaml b/apps/application-status/devops/cloudbuild-pr.yaml index 0340603..ef429a6 100644 --- a/apps/application-status/devops/cloudbuild-pr.yaml +++ b/apps/application-status/devops/cloudbuild-pr.yaml @@ -7,6 +7,8 @@ steps: pnpm install pnpm build dir: 'apps/application-status' + env: + - 'ZENHUB_APIKEY=$_ZENHUB_APIKEY' # # Deploy to firebase channel, using the PR # From ef41ded1acaabed4681f8a3be83b5d25a5da0715 Mon Sep 17 00:00:00 2001 From: bolyachevets Date: Wed, 29 Nov 2023 22:06:13 -0800 Subject: [PATCH 2/3] add vaults.env file --- apps/application-status/vaults.env | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 apps/application-status/vaults.env diff --git a/apps/application-status/vaults.env b/apps/application-status/vaults.env new file mode 100644 index 0000000..5ea20f7 --- /dev/null +++ b/apps/application-status/vaults.env @@ -0,0 +1,2 @@ +#vaults api +ZENHUB_APIKEY="op://API/$APP_ENV/zenhub/ZENHUB_APIKEY" \ No newline at end of file From 069ac47b532e8cc61505f57e395ad06b3ec051ad Mon Sep 17 00:00:00 2001 From: bolyachevets Date: Wed, 29 Nov 2023 22:23:17 -0800 Subject: [PATCH 3/3] add missing vars --- apps/application-status/devops/cloudbuild-pr.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/application-status/devops/cloudbuild-pr.yaml b/apps/application-status/devops/cloudbuild-pr.yaml index ef429a6..0e92bc0 100644 --- a/apps/application-status/devops/cloudbuild-pr.yaml +++ b/apps/application-status/devops/cloudbuild-pr.yaml @@ -9,6 +9,8 @@ steps: dir: 'apps/application-status' env: - 'ZENHUB_APIKEY=$_ZENHUB_APIKEY' + - 'ENTITIES=$_ENTITIES' + - 'NAMETEAMSPACE=$_NAMETEAMSPACE' # # Deploy to firebase channel, using the PR #