Skip to content

Commit 3ffb561

Browse files
committed
test: update compatibility matrix in t/Makefile
1 parent 56e7be6 commit 3ffb561

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

t/Makefile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
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
66
COMPOSE := docker-compose -f docker-compose.test.yml
77
IMAGE := 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

5960
test-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

0 commit comments

Comments
 (0)