@@ -254,11 +254,43 @@ jobs:
254
254
- uses : docker/setup-buildx-action@v3
255
255
- run : make test-e2e-inference-extension
256
256
257
+ test_e2e_upgrade :
258
+ name : E2E Test for Upgrade (Envoy Gateway ${{ matrix.name }})
259
+ # TODO: make it possible to run this job on macOS as well, which is a bit tricky due to the nested
260
+ # virtualization is not supported on macOS runners.
261
+ # E.g. Use https://github.com/douglascamata/setup-docker-macos-action per the comment in
262
+ # https://github.com/actions/runner-images/issues/17#issuecomment-1971073406
263
+ runs-on : ubuntu-latest
264
+ strategy :
265
+ fail-fast : false
266
+ matrix :
267
+ include :
268
+ - name : latest
269
+ envoy_gateway_version : v0.0.0-latest
270
+ - name : v1.5.0
271
+ envoy_gateway_version : v1.5.0
272
+ steps :
273
+ - uses : actions/checkout@v4
274
+ - uses : actions/setup-go@v5
275
+ with :
276
+ cache : false
277
+ go-version-file : go.mod
278
+ - uses : actions/cache@v4
279
+ with :
280
+ path : |
281
+ ~/.cache/go-build
282
+ ~/.cache/golangci-lint
283
+ ~/go/pkg/mod
284
+ ~/go/bin
285
+ key : e2e-test-${{ hashFiles('**/go.mod', '**/go.sum', '**/Makefile') }}
286
+ - uses : docker/setup-buildx-action@v3
287
+ - run : make test-e2e-upgrade
288
+
257
289
docker_push :
258
290
# Docker builds are verified in test_e2e job, so we only need to push the images when the event is a push event.
259
291
if : github.event_name == 'push'
260
292
name : Push Docker Images
261
- needs : [unittest, test_crdcel, test_controller, test_extproc, test_e2e]
293
+ needs : [unittest, test_crdcel, test_controller, test_extproc, test_e2e, test_e2e_inference_extension, test_e2e_upgrade ]
262
294
uses : ./.github/workflows/docker_build_job.yaml
263
295
secrets : inherit
264
296
0 commit comments