@@ -17,6 +17,9 @@ defaults:
17
17
run :
18
18
shell : bash
19
19
20
+ env :
21
+ ENABLE_EXPERIMENTAL : ${{ inputs.enable-experimental }}
22
+
20
23
permissions :
21
24
contents : read
22
25
76
79
run : |
77
80
ngf_prefix=ghcr.io/nginxinc/nginx-gateway-fabric
78
81
ngf_tag=${{ steps.ngf-meta.outputs.version }}
79
- if [ ${{ inputs.enable-experimental }} ]; then export ENABLE_EXPERIMENTAL=true; fi
80
82
export PLUS_USAGE_ENDPOINT=${{ secrets.JWT_PLUS_REPORTING_ENDPOINT }}
81
83
make generate-static-deployment PLUS_ENABLED=${{ inputs.image == 'plus' && 'true' || 'false' }} PREFIX=${ngf_prefix} TAG=${ngf_tag}
82
84
working-directory : ./tests
@@ -148,15 +150,14 @@ jobs:
148
150
ngf_prefix=ghcr.io/nginxinc/nginx-gateway-fabric
149
151
ngf_tag=${{ steps.ngf-meta.outputs.version }}
150
152
if [ ${{ github.event_name }} == "schedule" ]; then export GW_API_VERSION=main; fi
151
- if [ ${{ inputs.enable-experimental }} ]; then export ENABLE_EXPERIMENTAL=true; fi
152
153
export PLUS_USAGE_ENDPOINT=${{ secrets.JWT_PLUS_REPORTING_ENDPOINT }}
153
154
make helm-install-local${{ inputs.image == 'plus' && '-with-plus' || ''}} PREFIX=${ngf_prefix} TAG=${ngf_tag}
154
155
make deploy-updated-provisioner PREFIX=${ngf_prefix} TAG=${ngf_tag}
155
156
working-directory : ./tests
156
157
157
158
- name : Run conformance tests
158
159
run : |
159
- if [ ${{ inputs.enable-experimental }} ]; then export ENABLE_EXPERIMENTAL=true; fi
160
+ env
160
161
make run-conformance-tests CONFORMANCE_TAG=${{ github.sha }} NGF_VERSION=${{ github.ref_name }} CLUSTER_NAME=${{ github.run_id }}
161
162
core_result=$(cat conformance-profile.yaml | yq '.profiles[0].core.result')
162
163
extended_result=$(cat conformance-profile.yaml | yq '.profiles[0].extended.result')
@@ -167,7 +168,7 @@ jobs:
167
168
if : ${{ inputs.enable-experimental }}
168
169
uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
169
170
with :
170
- name : conformance-profile-${{ github.sha }}.yaml
171
+ name : conformance-profile-${{ inputs.image }}-${{ inputs.k8s-version }}
171
172
path : ./tests/conformance-profile.yaml
172
173
173
174
- name : Upload profile to release
0 commit comments