Skip to content

test: nginx version matrix 1.18/1.22/1.25/1.27 - #19

Merged
MarcinDudekDev merged 1 commit into
mainfrom
feat/nginx-version-matrix
Sep 13, 2026
Merged

MarcinDudekDev merged 1 commit into
mainfrom
feat/nginx-version-matrix

Conversation

@MarcinDudekDev

Copy link
Copy Markdown
Owner

Fixes #18

Docker nginx version matrix: 1.18, 1.22, 1.25, 1.27.

  • tests/test-version-matrix.sh runs nginx -t on a minimal full config + portable http-context templates (compression, open-file-cache) against all four images.
  • HTTP/3 fixtures skip on 1.18/1.22, run on 1.25/1.27.
  • Docker missing → skip exit 0 (same as test-with-nginx.sh).
  • Wired into tests/run-tests.sh.

109/109 on this branch (matrix 14 pass / 6 skip). shellcheck --severity=warning clean.

test-with-nginx.sh only ever validates against whatever nginx:latest is
today. The new tests/test-version-matrix.sh runs `nginx -t` inside each
pinned official image: a minimal full config and the gzip/open-file-cache
templates must pass on all four versions, while HTTP/3-era fixtures are
gated by the version that introduced their directives — http3-quic.conf
skips on 1.18/1.22 and runs on 1.25/1.27, and early-hints.conf (needs
1.29) exercises the skip path on every row until a newer tag joins the
matrix.

Docker missing or a vanished Hub tag skips with a reason instead of
failing, matching the test-with-nginx.sh contract; run-tests.sh invokes
it as a skippable section.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@MarcinDudekDev
MarcinDudekDev merged commit 048ae9c into main Sep 13, 2026
6 checks passed
@MarcinDudekDev
MarcinDudekDev deleted the feat/nginx-version-matrix branch September 13, 2026 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Nginx version matrix testing (1.18, 1.22, 1.25, 1.27)

1 participant