Thomas LEVEIL
|
99a569b2e6
|
fix #755: Tests fail with new Docker version scheme
Docker introduced a [new version scheme](https://blog.docker.com/2017/03/docker-enterprise-edition/). As the result, the latest docker version is now `17.03.0-ce`.
|
2017-03-06 23:36:16 +01:00 |
|
Thomas LEVEIL
|
2aef648f3d
|
TESTS: add a test to verify nginx conf is update on container creation/deletion
|
2017-02-21 03:20:38 +01:00 |
|
Thomas LEVEIL
|
dd443f3eca
|
TESTS: ignore the requirements and certs directory when collecting tests
|
2017-02-17 01:24:48 +01:00 |
|
Thomas LEVEIL
|
9620be91fa
|
TESTS: separated containers: fix indentation and remove dependency over jwilder/whoami image
|
2017-02-17 01:11:11 +01:00 |
|
Thomas LEVEIL
|
85370fa31f
|
TESTS: improve error reporting for failed to run docker-compose commands
|
2017-02-17 00:54:14 +01:00 |
|
Thomas LEVEIL
|
6069bc53cd
|
TESTS: replace old test suite with the new one
get rid of Bats definitively
|
2017-02-17 00:29:30 +01:00 |
|
Thomas LEVEIL
|
250a01d235
|
TESTS: add tests for IPv6 support
|
2017-02-16 23:27:28 +01:00 |
|
Thomas LEVEIL
|
78375632dd
|
TESTS: adjust Travis-CI config (upgrade to docker 1.13 and no more docker-compose)
|
2017-02-16 21:40:54 +01:00 |
|
Thomas LEVEIL
|
a6e4f7f3ad
|
TESTS: adjust Travis-CI config
|
2017-02-16 21:40:54 +01:00 |
|
Thomas LEVEIL
|
02f9e29a31
|
TESTS: make pytest verbose by default
|
2017-02-16 21:40:54 +01:00 |
|
Thomas LEVEIL
|
9f26efdf86
|
TESTS: add tests for IPv6
|
2017-02-16 21:40:54 +01:00 |
|
Thomas LEVEIL
|
e6b9d2f5e7
|
TESTS: show skip reason in test summary
|
2017-02-16 21:40:54 +01:00 |
|
Thomas LEVEIL
|
eeb27f7b50
|
TESTS: fix failure raising when cannot get nginx-proxy nginx configuration file
|
2017-02-16 21:40:54 +01:00 |
|
Thomas LEVEIL
|
43d8ba0e78
|
TESTS: add tests for using nginx and docker-gen in separated containers
|
2017-02-16 21:40:54 +01:00 |
|
Thomas LEVEIL
|
a533ff6aff
|
TESTS: add support for resolving containers IP address from domain names in the form *.<container name>.container.docker
|
2017-02-16 21:40:54 +01:00 |
|
Thomas LEVEIL
|
743d9801e9
|
TESTS: make test now runs tests from a docker container
|
2017-02-16 21:40:54 +01:00 |
|
Thomas LEVEIL
|
e6bc7e6043
|
TESTS: rename nginx-proxy-tester.sh to test.sh
|
2017-02-16 21:40:54 +01:00 |
|
Thomas LEVEIL
|
87926db4c3
|
TESTS: upgrade to docker python module 2.0.2 and docker-compose 1.11.1
|
2017-02-16 21:40:54 +01:00 |
|
Thomas LEVEIL
|
fdde850fc2
|
TESTS: pytest checks the existance of the jwilder/nginx-proxy:test image
|
2017-02-16 21:40:54 +01:00 |
|
Thomas LEVEIL
|
3e92192dc4
|
TESTS: add test for multiple networks
|
2017-02-16 21:40:54 +01:00 |
|
Thomas LEVEIL
|
3ecae2f020
|
TESTS: the docker_compose pytest fixture is now responsible for attaching the container running pytest to all docker networks
|
2017-02-16 21:40:54 +01:00 |
|
Thomas LEVEIL
|
dcf8dd4682
|
TESTS: refactor conftest.py
|
2017-02-16 21:40:54 +01:00 |
|
Thomas LEVEIL
|
3f88ba8903
|
TESTS: refactor conftest.py
|
2017-02-16 21:40:54 +01:00 |
|
Thomas LEVEIL
|
10cd3e5f81
|
TESTS: refactor conftest.py
|
2017-02-16 21:40:54 +01:00 |
|
Thomas LEVEIL
|
087592df2c
|
TESTS: simplify nginx-proxy-tester.sh
|
2017-02-16 21:40:54 +01:00 |
|
Thomas LEVEIL
|
9d8f0db268
|
TESTS: remove containers after each test
|
2017-02-16 21:40:54 +01:00 |
|
Thomas LEVEIL
|
541ce48292
|
fixup! TESTS: add support for compose syntax v2
|
2017-02-16 21:40:54 +01:00 |
|
Thomas LEVEIL
|
889dfea4ca
|
TESTS: adjust logging (when using pytest -s)
|
2017-02-16 21:40:54 +01:00 |
|
Thomas LEVEIL
|
150365e784
|
fixup! TESTS: add test for custom default configuration
|
2017-02-16 21:40:54 +01:00 |
|
Thomas LEVEIL
|
23d361d1da
|
TESTS: reorganize tests into subfolders
|
2017-02-16 21:40:54 +01:00 |
|
Thomas LEVEIL
|
eeed150858
|
README: fix instruction for overriding default custom conf
|
2017-02-16 21:40:54 +01:00 |
|
Thomas LEVEIL
|
8aa3158952
|
TESTS: add test for custom default location configuration
|
2017-02-16 21:40:54 +01:00 |
|
Thomas LEVEIL
|
713149df8e
|
TESTS: add test for custom default configuration
|
2017-02-16 21:40:54 +01:00 |
|
Thomas LEVEIL
|
ee5b0f96ad
|
TESTS: add test for custom per vhost configuration in location block
|
2017-02-16 21:40:54 +01:00 |
|
Thomas LEVEIL
|
a283c95e2e
|
TESTS: nginxproxy fixture can provide the nginx generated conf in tests
|
2017-02-16 21:40:54 +01:00 |
|
Thomas LEVEIL
|
f512a56faf
|
TESTS: add test for custom per vhost configuration
|
2017-02-16 21:40:54 +01:00 |
|
Thomas LEVEIL
|
2425574958
|
TESTS: add test for custom proxy-wide configuration
|
2017-02-16 21:40:54 +01:00 |
|
Thomas LEVEIL
|
73fda600b3
|
TESTS: add verbosity
|
2017-02-16 21:40:54 +01:00 |
|
Thomas LEVEIL
|
0d00bd2322
|
TESTS: fix passing pytests args to nginx-proxy-tester script
|
2017-02-16 21:40:54 +01:00 |
|
Thomas LEVEIL
|
399e19e2dc
|
TESTS: add support for compose syntax v2
|
2017-02-16 21:40:54 +01:00 |
|
Thomas LEVEIL
|
787fa28799
|
TESTS: add script to run the test suite from a docker container
|
2017-02-16 21:40:54 +01:00 |
|
Thomas LEVEIL
|
7a4cae050c
|
TESTS: abort test suite if the 'jwilder/nginx-proxy:test' image is missing
|
2017-02-16 21:40:54 +01:00 |
|
Thomas LEVEIL
|
86be8a9424
|
TESTS: fix retry delay
|
2017-02-16 21:40:54 +01:00 |
|
Thomas LEVEIL
|
0f1bb344ff
|
TESTS: port tests for #590 to docker-compose test
|
2017-02-16 21:40:54 +01:00 |
|
Thomas LEVEIL
|
197d793a25
|
TESTS: rewrite tests using pytest and docker-compose
Experimentation to see if it is worth the effort
|
2017-02-16 21:40:54 +01:00 |
|
 Thomas LEVEILandThomas LEVEIL
|
f0951df040
|
optional IPv6 support
Fix #127 and fix #717 by improving #713
|
2017-02-15 11:50:16 +01:00 |
|
Thomas LEVEIL
|
3f6381d0fa
|
regexp: use sha1 for upstream only if regexp is used
avoid confusions such as in #677
|
2017-01-14 11:40:33 +01:00 |
|
Thomas LEVEIL
|
1bfc1c85ce
|
fix regexp in VIRTUAL_HOST using end-of-string matching ()
|
2017-01-08 01:49:05 +01:00 |
|
Thomas LEVEIL
|
d8658bd8d9
|
TEST: wildcards-hosts.bats - add a test which uses regexp end-of-string
|
2017-01-07 23:50:54 +01:00 |
|
Thomas LEVEIL
|
a3c6a272f1
|
TEST: wildcards-hosts.bats - showcase http://foo.bar.why.not.bats-to-infinity-and-beyond/
|
2017-01-07 23:33:54 +01:00 |
|
Thomas LEVEIL
|
8d017504c0
|
TRAVIS: run debian and alpine tests in parallel
|
2017-01-07 21:07:34 +01:00 |
|
Thomas LEVEIL
|
66d401c075
|
makefile: update docker images before running tests
|
2015-10-14 19:42:59 +00:00 |
|
Thomas LEVEIL
|
92be4b6d54
|
doc
|
2015-09-30 23:57:13 +00:00 |
|
Thomas LEVEIL
|
865b14e029
|
tests: fix minor bug in docker_wait_for_log
|
2015-09-30 23:56:25 +00:00 |
|
Thomas LEVEIL
|
b4d1acbf2d
|
tests: refactoring
|
2015-09-30 23:40:04 +00:00 |
|
Thomas LEVEIL
|
4bd30f5d2c
|
add test suite. See #197
This test suite is implemented using [bats](https://github.com/sstephenson/bats).
Not all features are tested. For instance ssl features and custom nginx config are missing. Probably others.
This test suite won't work with TravisCI. Too many evenings were wasted trying to overcome [issues](http://stackoverflow.com/questions/32846800/travis-fails-to-stop-docker-containers) that arises only on the TravisCI platform. However it runs on [CircleCI](https://circleci.com) which is also free for opensource projects.
|
2015-09-29 23:46:36 +00:00 |
|
Thomas LEVEIL
|
1aac996019
|
conform to Docker official images best practices
https://github.com/docker-library/official-images/blob/master/README.md#consistency
|
2015-09-12 10:37:21 +00:00 |
|
Thomas LEVEIL
|
d83ba3da1e
|
refuse to start if the docker sock isn't available
|
2015-09-11 23:42:44 +00:00 |
|