Skip to content

add new test and update#376

Merged
airween merged 4 commits intoowasp-modsecurity:masterfrom
Easton97-Jens:master_test_update
May 4, 2026
Merged

add new test and update#376
airween merged 4 commits intoowasp-modsecurity:masterfrom
Easton97-Jens:master_test_update

Conversation

@Easton97-Jens
Copy link
Copy Markdown
Contributor

what

  • Updated test.yml to align with the latest ModSecurity setup
  • Added support for Git submodules (e.g. mbedTLS) to prevent build failures
  • Introduced a new workflow file test_new.yml
  • test_new.yml tests multiple Nginx versions (1.30.x, 1.29.x, 1.28.x)
  • Implemented dynamic resolution of the latest patch version (x)
  • Added logging of the actual Nginx version used (tag + commit)
  • Configured matrix to continue running all jobs even if one fails

why

  • Fixes build issues caused by missing submodules (e.g. mbedTLS in ModSecurity)
  • Ensures compatibility with the current ModSecurity repository structure
  • Enables automated testing across multiple supported Nginx versions
  • Reduces manual maintenance by automatically resolving patch versions
  • Improves traceability by clearly logging the used version
  • Increases CI robustness by allowing independent execution of matrix jobs

references


Update .travis.yml

Update dependencies and build configuration for nginx

Update test_new.yml

Update test_new.yml

Update test_new.yml

Update test.yml

Update test_new.yml

Update test_new.yml
@airween airween requested a review from Copilot May 3, 2026 19:58
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR expands CI coverage for the ModSecurity-nginx connector by updating the existing GitHub Actions workflow to handle the current ModSecurity submodule layout and by adding a new multi-version test workflow for newer Nginx releases. It also refreshes the legacy Travis setup to build against a newer Nginx release from the Git repository instead of release tarballs.

Changes:

  • Updated existing CI checkout steps to fetch ModSecurity submodules recursively so nested dependencies like mbedTLS are available.
  • Added a new test_new.yml workflow that resolves 1.30.x / 1.29.x / 1.28.x to concrete Nginx release refs and runs Linux and Windows builds/tests against them.
  • Adjusted .travis.yml to test a newer Nginx version and switch Nginx/nginx-tests source retrieval from tarballs to Git clones.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 6 comments.

File Description
.travis.yml Refreshes Travis CI inputs and switches Nginx/nginx-tests fetching to Git clones.
.github/workflows/test_new.yml Adds a new multi-version GitHub Actions workflow for Linux and Windows CI.
.github/workflows/test.yml Updates existing ModSecurity checkout steps to use recursive submodules.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/test_new.yml Outdated
Comment thread .github/workflows/test_new.yml Outdated
Comment thread .github/workflows/test_new.yml Outdated
Comment thread .github/workflows/test_new.yml Outdated
Comment thread .github/workflows/test_new.yml
Comment thread .github/workflows/test_new.yml
Updated Nginx installation and configuration steps in the workflow. Removed deprecated version resolution logic for Nginx.
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 3, 2026

@airween airween merged commit 9eb44fd into owasp-modsecurity:master May 4, 2026
14 checks passed
@airween
Copy link
Copy Markdown
Member

airween commented May 4, 2026

Thank you, @Easton97-Jens!

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.

3 participants