Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit a0919dc

Browse files
authored
ci: gke-gcloud-auth-plugin (#263)
Signed-off-by: Viktor Poluksht <[email protected]>
1 parent dc7a768 commit a0919dc

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.circleci/config.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: 2.1
22
orbs:
3-
gcp-gcr: circleci/gcp-gcr@0.13.0
4-
gcp-cli: circleci/gcp-cli@2.1.0
3+
gcp-gcr: circleci/gcp-gcr@0.15.0
4+
gcp-cli: circleci/gcp-cli@2.4.1
55
pulumi: pulumi/[email protected]
66
jobs:
77
build:
@@ -87,10 +87,15 @@ jobs:
8787
pulumi_up:
8888
docker:
8989
- image: circleci/node:16
90+
environment:
91+
USE_GKE_GCLOUD_AUTH_PLUGIN: 'True'
9092
steps:
9193
- checkout
9294
- gcp-cli/install
9395
- gcp-cli/initialize
96+
- run:
97+
name: Install GKE Auth plugin
98+
command: gcloud components install gke-gcloud-auth-plugin
9499
- run:
95100
name: Get cluster credentials
96101
command: gcloud container clusters get-credentials prod

0 commit comments

Comments
 (0)