File tree 4 files changed +10
-6
lines changed
tests/scripts/remote-scripts
4 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,9 @@ defaults:
17
17
run :
18
18
shell : bash
19
19
20
+ env :
21
+ PLUS_USAGE_ENDPOINT : ${{ secrets.JWT_PLUS_REPORTING_ENDPOINT }}
22
+
20
23
permissions :
21
24
contents : read
22
25
77
80
ngf_prefix=ghcr.io/nginxinc/nginx-gateway-fabric
78
81
ngf_tag=${{ steps.ngf-meta.outputs.version }}
79
82
if [ ${{ inputs.enable-experimental }} == "true" ]; then export ENABLE_EXPERIMENTAL=true; fi
80
- 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
83
85
@@ -149,7 +151,6 @@ jobs:
149
151
ngf_tag=${{ steps.ngf-meta.outputs.version }}
150
152
if [ ${{ github.event_name }} == "schedule" ]; then export GW_API_VERSION=main; fi
151
153
if [ ${{ inputs.enable-experimental }} == "true" ]; then export ENABLE_EXPERIMENTAL=true; fi
152
- 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
Original file line number Diff line number Diff line change @@ -14,6 +14,9 @@ defaults:
14
14
run :
15
15
shell : bash
16
16
17
+ env :
18
+ PLUS_USAGE_ENDPOINT : ${{ secrets.JWT_PLUS_REPORTING_ENDPOINT }}
19
+
17
20
permissions :
18
21
contents : read
19
22
@@ -125,22 +128,19 @@ jobs:
125
128
run : |
126
129
ngf_prefix=ghcr.io/nginxinc/nginx-gateway-fabric
127
130
ngf_tag=${{ steps.ngf-meta.outputs.version }}
128
- export PLUS_USAGE_ENDPOINT=${{ secrets.JWT_PLUS_REPORTING_ENDPOINT }}
129
131
make test${{ inputs.image == 'plus' && '-with-plus' || ''}} PREFIX=${ngf_prefix} TAG=${ngf_tag} GINKGO_LABEL=telemetry GW_SERVICE_TYPE=LoadBalancer CLUSTER_NAME=${{ github.run_id }} CI=true
130
132
working-directory : ./tests
131
133
132
134
- name : Run functional graceful-recovery tests
133
135
run : |
134
136
ngf_prefix=ghcr.io/nginxinc/nginx-gateway-fabric
135
137
ngf_tag=${{ steps.ngf-meta.outputs.version }}
136
- export PLUS_USAGE_ENDPOINT=${{ secrets.JWT_PLUS_REPORTING_ENDPOINT }}
137
138
make test${{ inputs.image == 'plus' && '-with-plus' || ''}} PREFIX=${ngf_prefix} TAG=${ngf_tag} GINKGO_LABEL=graceful-recovery GW_SERVICE_TYPE=LoadBalancer CLUSTER_NAME=${{ github.run_id }} CI=true
138
139
working-directory : ./tests
139
140
140
141
- name : Run functional tests
141
142
run : |
142
143
ngf_prefix=ghcr.io/nginxinc/nginx-gateway-fabric
143
144
ngf_tag=${{ steps.ngf-meta.outputs.version }}
144
- export PLUS_USAGE_ENDPOINT=${{ secrets.JWT_PLUS_REPORTING_ENDPOINT }}
145
145
make test${{ inputs.image == 'plus' && '-with-plus' || ''}} PREFIX=${ngf_prefix} TAG=${ngf_tag} GW_SERVICE_TYPE=LoadBalancer CLUSTER_NAME=${{ github.run_id }} CI=true
146
146
working-directory : ./tests
Original file line number Diff line number Diff line change @@ -38,6 +38,9 @@ defaults:
38
38
run :
39
39
shell : bash
40
40
41
+ env :
42
+ PLUS_USAGE_ENDPOINT : ${{ secrets.JWT_PLUS_REPORTING_ENDPOINT }}
43
+
41
44
concurrency :
42
45
group : ${{ github.ref_name }}-nfr
43
46
cancel-in-progress : true
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ elif [ "${STOP_LONGEVITY}" == "true" ]; then
10
10
GINKGO_LABEL=" longevity-teardown"
11
11
fi
12
12
13
- cd nginx-gateway-fabric/tests && make .vm-nfr-test CI=${CI} TAG=" ${TAG} " PREFIX=" ${PREFIX} " NGINX_PREFIX=" ${NGINX_PREFIX} " NGINX_PLUS_PREFIX=" ${NGINX_PLUS_PREFIX} " PLUS_ENABLED=" ${PLUS_ENABLED} " GINKGO_LABEL=${GINKGO_LABEL} GINKGO_FLAGS=" ${GINKGO_FLAGS} " PULL_POLICY=Always GW_SERVICE_TYPE=LoadBalancer GW_SVC_GKE_INTERNAL=true NGF_VERSION=" ${NGF_VERSION} "
13
+ cd nginx-gateway-fabric/tests && make .vm-nfr-test CI=${CI} TAG=" ${TAG} " PREFIX=" ${PREFIX} " NGINX_PREFIX=" ${NGINX_PREFIX} " NGINX_PLUS_PREFIX=" ${NGINX_PLUS_PREFIX} " PLUS_ENABLED=" ${PLUS_ENABLED} " GINKGO_LABEL=${GINKGO_LABEL} GINKGO_FLAGS=" ${GINKGO_FLAGS} " PULL_POLICY=Always GW_SERVICE_TYPE=LoadBalancer GW_SVC_GKE_INTERNAL=true NGF_VERSION=" ${NGF_VERSION} " PLUS_USAGE_ENDPOINT= " ${PLUS_USAGE_ENDPOINT} "
14
14
15
15
if [ " ${START_LONGEVITY} " == " true" ]; then
16
16
suite/scripts/longevity-wrk.sh
You can’t perform that action at this time.
0 commit comments