File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22# Build context for Docker is always the repo root (one level up).
33.PHONY : help build test test-all test-compat test-version clean shell
44
5- NGINX_VERSION ?= 1.28.2
5+ NGINX_VERSION ?= 1.29.8
66COMPOSE := docker-compose -f docker-compose.test.yml
77IMAGE := ngx-cache-purge-test:$(NGINX_VERSION )
88
@@ -25,12 +25,13 @@ help:
2525 @echo " "
2626 @echo " $( YELLOW) Variables:$( NC) "
2727 @echo " NGINX_VERSION nginx version to build/test (default: $( NGINX_VERSION) )"
28+ @echo " Re-check nginx.org before matrix runs to refresh latest stable/mainline/legacy versions"
2829 @echo " "
2930 @echo " $( YELLOW) Examples:$( NC) "
3031 @echo " make build"
3132 @echo " make test"
3233 @echo " make test-all"
33- @echo " NGINX_VERSION=1.29.6 make build test-all"
34+ @echo " NGINX_VERSION=1.29.8 make build test-all"
3435 @echo " make test-compat"
3536 @echo " make test-version VERSION=1.26.3"
3637
@@ -58,7 +59,8 @@ test-all: build
5859
5960test-compat :
6061 @echo " $( GREEN) Compatibility test across supported nginx versions...$( NC) "
61- @for v in 1.20.2 1.26.3 1.28.2 1.29.6; do \
62+ @echo " $( YELLOW) Check https://nginx.org/en/download.html before running to confirm latest stable/mainline/legacy versions.$( NC) "
63+ @for v in 1.20.2 1.22.1 1.24.0 1.26.3 1.28.3 1.30.0 1.29.8; do \
6264 echo " $( YELLOW) --- nginx $$ v ---$( NC) " ; \
6365 $(MAKE ) --no-print-directory NGINX_VERSION=$$ v build test-all || exit 1; \
6466 done
You can’t perform that action at this time.
0 commit comments