Antonio Mika
872e5b5646
feat: global proxy protocol support
2025-07-27 15:23:46 +02:00
Niek
f185cd43b7
ci: recreate CRL with 3650 days expiration
...
Recreate CRL files with 3650 days (10 years) expire date.
2025-07-09 12:25:46 +02:00
dependabot[bot]
a212d80509
ci: bump pytest from 8.4.0 to 8.4.1 in /test/requirements
...
Bumps [pytest](https://github.com/pytest-dev/pytest ) from 8.4.0 to 8.4.1.
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/8.4.0...8.4.1 )
---
updated-dependencies:
- dependency-name: pytest
dependency-version: 8.4.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-06-24 06:27:47 +00:00
dependabot[bot]
f7d3c59ffc
ci: bump urllib3 from 2.4.0 to 2.5.0 in /test/requirements
...
Bumps [urllib3](https://github.com/urllib3/urllib3 ) from 2.4.0 to 2.5.0.
- [Release notes](https://github.com/urllib3/urllib3/releases )
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst )
- [Commits](https://github.com/urllib3/urllib3/compare/2.4.0...2.5.0 )
---
updated-dependencies:
- dependency-name: urllib3
dependency-version: 2.5.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-06-23 05:12:55 +00:00
dependabot[bot]
0cf0e80aa9
ci: bump requests from 2.32.3 to 2.32.4 in /test/requirements
...
Bumps [requests](https://github.com/psf/requests ) from 2.32.3 to 2.32.4.
- [Release notes](https://github.com/psf/requests/releases )
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md )
- [Commits](https://github.com/psf/requests/compare/v2.32.3...v2.32.4 )
---
updated-dependencies:
- dependency-name: requests
dependency-version: 2.32.4
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-06-16 04:13:45 +00:00
Nicolas Duchon
24c8fd0406
Merge pull request #2631 from nginx-proxy/dependabot/pip/test/requirements/pytest-8.4.0
...
ci: bump pytest from 8.3.5 to 8.4.0 in /test/requirements
2025-06-10 21:12:19 +02:00
dependabot[bot]
6a92955a16
ci: bump pytest from 8.3.5 to 8.4.0 in /test/requirements
...
Bumps [pytest](https://github.com/pytest-dev/pytest ) from 8.3.5 to 8.4.0.
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/8.3.5...8.4.0 )
---
updated-dependencies:
- dependency-name: pytest
dependency-version: 8.4.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-06-09 05:02:04 +00:00
Niek
5e77e2910b
tests: SSL client certificate validation mTLS
2025-06-04 15:29:15 +02:00
Nicolas Duchon
d3a3d32e18
test: drop old checks in docker-gen tests
...
docker engine 1.13 has been out for more than 8 years now
2025-05-26 22:59:24 +02:00
Nicolas Duchon
3f17dd2949
test: typo
2025-05-24 15:00:06 +02:00
Nicolas Duchon
0bb98ef415
test: simplify container readiness check
2025-05-24 14:43:35 +02:00
Nicolas Duchon
0479cb02a2
test: fix docker-gen flaky tests
2025-05-23 21:42:26 +02:00
Nicolas Duchon
4af3be397a
test: wait for docker-gen container to be ready too
2025-05-23 21:33:11 +02:00
Povilas Kanapickas
4c8f22ebcc
feat: support ACME challenges for unknown virtual hosts
...
Currently any ACME challenge for unknown virtual host returns 503. This
is inconvenient because if the user does not use wildcard certificates,
then the user must match the configuration of certificate renewal script
to what virtual hosts are enabled at the time.
This must be done automatically, because due to short certificate
lifetime the renewal script runs automatically. Additionally, enabling a
previously disabled virtual host forces certificate renewal.
Accordingly, it's worthwhile supporting unknown virtual hosts for the
purposes of passing ACME challenges. This is done by introducing a
global ACME_HTTP_CHALLENGE_ACCEPT_UNKNOWN_HOST variable to control this.
2025-05-19 20:10:02 +02:00
Povilas Kanapickas
72210064f0
test: add test for unknown domain responses to acme challenge
2025-05-19 20:09:53 +02:00
Nicolas Duchon
145278b0ae
Merge pull request #2279 from Knapoc/network-segregation-seperate-containers
...
feat: allow nginx / docker-gen network segregation
2025-05-15 13:18:29 +02:00
Nicolas Duchon
db51154175
test: custom nginx network segregation label
2025-05-11 12:46:45 +02:00
Nicolas Duchon
bfabd46054
test: network segregation w/ internal Docker network
2025-05-11 12:40:17 +02:00
Nicolas Duchon
3da268fd04
Merge pull request #2611 from nginx-proxy/dependabot/docker/library/nginx-1.27.5
...
build: bump library/nginx from 1.27.4 to 1.27.5
2025-05-08 13:44:28 +02:00
Nicolas Duchon
860d63fbc2
test: bump nginx version used for cert creation to 1.27.5
2025-05-08 13:31:29 +02:00
dependabot[bot]
b9c9b975d8
ci: bump urllib3 from 2.3.0 to 2.4.0 in /test/requirements
...
Bumps [urllib3](https://github.com/urllib3/urllib3 ) from 2.3.0 to 2.4.0.
- [Release notes](https://github.com/urllib3/urllib3/releases )
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst )
- [Commits](https://github.com/urllib3/urllib3/compare/2.3.0...2.4.0 )
---
updated-dependencies:
- dependency-name: urllib3
dependency-version: 2.4.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-05-08 10:52:22 +00:00
Knapoc
c338e1bcdf
test: docker-gen network segregation
...
* fix tests
* remove obsolete compose version
2025-04-22 17:04:29 +02:00
Knapoc
ded6f89c56
test: check docker-gen network segregation
2025-04-22 12:04:04 +02:00
dependabot[bot]
84d2370f72
ci: bump packaging from 24.2 to 25.0 in /test/requirements
...
Bumps [packaging](https://github.com/pypa/packaging ) from 24.2 to 25.0.
- [Release notes](https://github.com/pypa/packaging/releases )
- [Changelog](https://github.com/pypa/packaging/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pypa/packaging/compare/24.2...25.0 )
---
updated-dependencies:
- dependency-name: packaging
dependency-version: '25.0'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-21 05:00:00 +00:00
Nicolas Duchon
1842acba7d
Merge pull request #2591 from SchoNie/tests-contextmanager-fixes
...
tests: DockerComposer contextmanager improvements
2025-03-10 23:55:06 +01:00
Niek
005b0bdd62
chore: fix whitespace
2025-03-10 09:53:52 +01:00
Niek
15e6fa8e07
tests: skip test_proxy-host-network-mode when PYTEST_RUNNING_IN_CONTAINER
...
Connecting to host network not supported when pytest is running in container
2025-03-10 09:53:52 +01:00
Niek
c18795b10e
tests: variable interpolation comments
...
To make same as in test_wildcard-host.yml
2025-03-10 09:53:52 +01:00
Niek
58e21618b4
tests: DockerComposer connect_to_network except
...
If running from a container host-network-mode test fail because we cannot connect to host network. This prevents the cleanup.
So make sure we always return network for later removal.
Explicitly return None for readability
2025-03-10 09:53:52 +01:00
Niek
545e9cebb6
tests: DockerComposer KeyboardInterrupt
...
make sure we teardown on KeyboardInterrupt
2025-03-10 09:53:51 +01:00
Niek
a6271639ad
tests: DockerComposer contextmanager do not fail
...
Change pytest.fail to a logging error because pytest.fail makes DockerComposer ContextManager exit and no _down teardown is executed.
2025-03-10 09:53:51 +01:00
Niek
d87ee36909
tests: self._docker_compose_file typo
2025-03-10 09:53:51 +01:00
Niek
557069583d
tests: DockerComposer contextmanager improvements
...
-Improve the DockerComposer contextmanager to make sure teardown happens by using try except block.
-Move the self. declarations up so we are sure they are set even if an exception occurs.
-set self._networks
2025-03-10 09:53:50 +01:00
Marukome0743
82ae7443c6
chore: add syntax
parser directive to Dockerfile
2025-03-10 17:30:48 +09:00
dependabot[bot]
ee7ba1a77b
ci: bump pytest from 8.3.4 to 8.3.5 in /test/requirements
...
Bumps [pytest](https://github.com/pytest-dev/pytest ) from 8.3.4 to 8.3.5.
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/8.3.4...8.3.5 )
---
updated-dependencies:
- dependency-name: pytest
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-03 04:29:06 +00:00
Nicolas Duchon
04797a52e1
test: bump nginx version used for cert creation to 1.27.4
2025-02-09 14:04:55 +01:00
Gilles Filippini
c1f1c85aeb
ci: standalone compose file for proxy-host-network-mode
...
This is to prevent the below error with docker-compose v1:
ERROR: for nginx-proxy "host" network_mode is incompatible with port_bindings
2025-02-08 15:27:53 +01:00
Gilles Filippini
06f412f622
ci: fix a few tests to support docker-compose v1
2025-02-08 15:27:53 +01:00
Gilles Filippini
78307266d4
Revert commit 142a159
to support python docker 5
...
Debian bookworm (current stable) still has python3-docker 5.0.3. The
reverted commit prevented the test-suite to run natively on this distro.
The version check could be bumped again when the next Debian stable (trixie)
will be released (by fall 2025 hopefully).
2025-02-08 15:27:53 +01:00
Nicolas Duchon
18030a7896
Merge pull request #1737 from junderw/fix-redirect
...
feat: redirect non-GET methods using 308 instead of 301
2025-01-18 22:03:27 +01:00
Nicolas Duchon
34a33a2255
tests: virtual proto
2025-01-18 21:50:41 +01:00
Nicolas Duchon
a61e485410
tests: refactor due to rebase
2025-01-18 20:41:17 +01:00
Nicolas Duchon
9fc7cec15c
feat: customizable non get redirect code
2025-01-18 20:25:01 +01:00
Nicolas Duchon
8447a36046
tests: parameterize test
2025-01-18 20:25:01 +01:00
Nicolas Duchon
923f05032f
tests: fix tests & test compose file
2025-01-18 20:25:01 +01:00
junderw
820d4a29ac
tests: redirects
2025-01-18 20:25:01 +01:00
Nicolas Duchon
aa8145b62d
tests: review changes
...
Co-authored-by: Niek <100143256+SchoNie@users.noreply.github.com >
2025-01-05 00:05:30 +01:00
Nicolas Duchon
836012cad6
docs: update test README
2025-01-03 16:00:36 +01:00
Nicolas Duchon
005377c6e5
tests: remove remaining unneeded container config
2024-12-30 20:45:08 +01:00
Nicolas Duchon
bfdd72fe95
tests: type hints and linting
2024-12-30 14:17:03 +01:00