Skip to content

Commit e46d6fe

Browse files
authored
Use separate clusters for Plus and OSS (#2253)
1 parent 7a8eff9 commit e46d6fe

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/nfr.yml

+6-5
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ jobs:
6666
id-token: write # needed for authenticating to GCP
6767
needs: vars
6868
strategy:
69+
fail-fast: false
6970
matrix:
7071
type: ${{ fromJson(needs.vars.outputs.types) }}
7172
steps:
@@ -89,19 +90,19 @@ jobs:
8990
- name: Setup dotenv file
9091
working-directory: ./tests/scripts
9192
run: |
92-
echo "RESOURCE_NAME=nfr-tests-${{ github.run_id }}" >> vars.env
93+
echo "RESOURCE_NAME=nfr-tests-${{ github.run_id }}-${{ matrix.type }}" >> vars.env
9394
echo "TAG=${{ needs.vars.outputs.image_tag }}" >> vars.env
9495
echo "PREFIX=ghcr.io/nginxinc/nginx-gateway-fabric" >> vars.env
9596
echo "NGINX_PREFIX=ghcr.io/nginxinc/nginx-gateway-fabric/nginx" >> vars.env
9697
echo "NGINX_PLUS_PREFIX=us-docker.pkg.dev/${{ secrets.GCP_PROJECT_ID }}/nginx-gateway-fabric/nginx-plus" >> vars.env
97-
echo "GKE_CLUSTER_NAME=nfr-tests-${{ github.run_id }}" >> vars.env
98-
echo "GKE_CLUSTER_ZONE=us-east1-b" >> vars.env
99-
echo "GKE_CLUSTER_REGION=us-east1" >> vars.env
98+
echo "GKE_CLUSTER_NAME=nfr-tests-${{ github.run_id }}-${{ matrix.type }}" >> vars.env
99+
echo "GKE_CLUSTER_ZONE=us-west1-b" >> vars.env
100+
echo "GKE_CLUSTER_REGION=us-west1" >> vars.env
100101
echo "GKE_PROJECT=${{ secrets.GCP_PROJECT_ID }}" >> vars.env
101102
echo "GKE_SVC_ACCOUNT=${{ secrets.GCP_SERVICE_ACCOUNT }}" >> vars.env
102103
echo "GKE_NODES_SERVICE_ACCOUNT=${{ secrets.GKE_NODES_SERVICE_ACCOUNT }}" >> vars.env
103104
echo "IMAGE=projects/debian-cloud/global/images/debian-11-bullseye-v20240213" >> vars.env
104-
echo "NETWORK_TAGS=nfr-tests-${{ github.run_id }}" >> vars.env
105+
echo "NETWORK_TAGS=nfr-tests-${{ github.run_id }}-${{ matrix.type }}" >> vars.env
105106
echo "NGF_REPO=nginxinc" >> vars.env
106107
echo "NGF_BRANCH=${{ github.ref_name }}" >> vars.env
107108
echo "SOURCE_IP_RANGE=$(curl -sS -4 icanhazip.com)/32" >> vars.env

0 commit comments

Comments
 (0)