Skip to content

Commit bcc50c1

Browse files
committed
Test env
1 parent ce4bb6a commit bcc50c1

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/conformance.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ defaults:
1717
run:
1818
shell: bash
1919

20+
env:
21+
ENABLE_EXPERIMENTAL: ${{ inputs.enable-experimental }}
22+
2023
permissions:
2124
contents: read
2225

@@ -76,7 +79,6 @@ jobs:
7679
run: |
7780
ngf_prefix=ghcr.io/nginxinc/nginx-gateway-fabric
7881
ngf_tag=${{ steps.ngf-meta.outputs.version }}
79-
if [ ${{ inputs.enable-experimental }} ]; then export ENABLE_EXPERIMENTAL=true; fi
8082
export PLUS_USAGE_ENDPOINT=${{ secrets.JWT_PLUS_REPORTING_ENDPOINT }}
8183
make generate-static-deployment PLUS_ENABLED=${{ inputs.image == 'plus' && 'true' || 'false' }} PREFIX=${ngf_prefix} TAG=${ngf_tag}
8284
working-directory: ./tests
@@ -148,15 +150,14 @@ jobs:
148150
ngf_prefix=ghcr.io/nginxinc/nginx-gateway-fabric
149151
ngf_tag=${{ steps.ngf-meta.outputs.version }}
150152
if [ ${{ github.event_name }} == "schedule" ]; then export GW_API_VERSION=main; fi
151-
if [ ${{ inputs.enable-experimental }} ]; then export ENABLE_EXPERIMENTAL=true; fi
152153
export PLUS_USAGE_ENDPOINT=${{ secrets.JWT_PLUS_REPORTING_ENDPOINT }}
153154
make helm-install-local${{ inputs.image == 'plus' && '-with-plus' || ''}} PREFIX=${ngf_prefix} TAG=${ngf_tag}
154155
make deploy-updated-provisioner PREFIX=${ngf_prefix} TAG=${ngf_tag}
155156
working-directory: ./tests
156157

157158
- name: Run conformance tests
158159
run: |
159-
if [ ${{ inputs.enable-experimental }} ]; then export ENABLE_EXPERIMENTAL=true; fi
160+
env
160161
make run-conformance-tests CONFORMANCE_TAG=${{ github.sha }} NGF_VERSION=${{ github.ref_name }} CLUSTER_NAME=${{ github.run_id }}
161162
core_result=$(cat conformance-profile.yaml | yq '.profiles[0].core.result')
162163
extended_result=$(cat conformance-profile.yaml | yq '.profiles[0].extended.result')
@@ -167,7 +168,7 @@ jobs:
167168
if: ${{ inputs.enable-experimental }}
168169
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
169170
with:
170-
name: conformance-profile-${{ github.sha }}.yaml
171+
name: conformance-profile-${{ inputs.image }}-${{ inputs.k8s-version }}
171172
path: ./tests/conformance-profile.yaml
172173

173174
- name: Upload profile to release

0 commit comments

Comments
 (0)