@@ -142,9 +142,10 @@ jobs:
142142 export GOPATH=$HOME/go
143143 export PATH=$PATH:$GOPATH/bin
144144 make install-tools
145+ pushd config/installation
145146 kustomize edit set image \
146147 rabbitmqoperator/cluster-operator-dev=rabbitmqoperator/cluster-operator:"${RELEASE_VERSION}"
147- cd -
148+ popd
148149 make generate-installation-manifest QUAY_IO_OPERATOR_IMAGE=quay.io/rabbitmqoperator/cluster-operator:"${RELEASE_VERSION}"
149150 - name : Upload operator manifests
150151 if : github.event_name != 'pull_request'
@@ -215,21 +216,16 @@ jobs:
215216 check-latest : true
216217 - name : Check out code into the Go module directory
217218 uses : actions/checkout@v3
218- # Setup gcloud CLI
219- - uses : google-github-actions/setup-gcloud @v1
219+ - id : ' auth '
220+ uses : ' google-github-actions/auth @v1'
220221 with :
221- service_account_key : ${{ secrets.GKE_SA_KEY }}
222- project_id : ${{ secrets.GKE_PROJECT }}
223- # Configure Docker to use the gcloud command-line tool as a credential
224- # helper for authentication
225- - run : |-
226- gcloud --quiet auth configure-docker
227- # Get the GKE credentials, so we can deploy to the cluster
228- - uses : google-github-actions/get-gke-credentials@v1
222+ workload_identity_provider : ${{ env.GCP_IDENTITY_PROVIDER }}
223+ service_account : ${{ env.GCP_SA }}
224+ - id : ' get-credentials'
225+ uses : ' google-github-actions/get-gke-credentials@v1'
229226 with :
230- cluster_name : ${{ env.GKE_TEST_CLUSTER_1 }}
231- location : ${{ env.GKE_REGION }}
232- credentials : ${{ secrets.GKE_SA_KEY }}
227+ cluster_name : ci-bunny-1
228+ location : europe-west1
233229 - name : Get operator manifest
234230 uses : actions/download-artifact@v3
235231 with :
@@ -262,21 +258,16 @@ jobs:
262258 check-latest : true
263259 - name : Check out code into the Go module directory
264260 uses : actions/checkout@v3
265- # Setup gcloud CLI
266- - uses : google-github-actions/setup-gcloud @v1
261+ - id : ' auth '
262+ uses : ' google-github-actions/auth @v1'
267263 with :
268- service_account_key : ${{ secrets.GKE_SA_KEY }}
269- project_id : ${{ secrets.GKE_PROJECT }}
270- # Configure Docker to use the gcloud command-line tool as a credential
271- # helper for authentication
272- - run : |-
273- gcloud --quiet auth configure-docker
274- # Get the GKE credentials, so we can deploy to the cluster
275- - uses : google-github-actions/get-gke-credentials@v1
264+ workload_identity_provider : ${{ env.GCP_IDENTITY_PROVIDER }}
265+ service_account : ${{ env.GCP_SA }}
266+ - id : ' get-credentials'
267+ uses : ' google-github-actions/get-gke-credentials@v1'
276268 with :
277- cluster_name : ${{ env.GKE_TEST_CLUSTER_2 }}
278- location : ${{ env.GKE_REGION }}
279- credentials : ${{ secrets.GKE_SA_KEY }}
269+ cluster_name : ci-bunny-2
270+ location : europe-west1
280271 - name : Get operator manifest
281272 uses : actions/download-artifact@v3
282273 with :
0 commit comments