1
0
mirror of https://github.com/thib8956/nginx-proxy synced 2025-07-01 06:15:45 +00:00

TESTS: replace old test suite with the new one

get rid of Bats definitively
This commit is contained in:
Thomas LEVEIL
2017-02-17 00:10:21 +01:00
parent 250a01d235
commit 6069bc53cd
95 changed files with 146 additions and 2059 deletions

View File

@ -1,27 +1,16 @@
.SILENT :
.PHONY : test test2
.PHONY : test-debian test-alpine test
update-dependencies:
docker pull jwilder/docker-gen:0.7.3
docker pull nginx:1.11.9
docker pull nginx:1.11.9-alpine
docker pull python:3
docker pull rancher/socat-docker:latest
docker pull appropriate/curl:latest
docker pull docker:1.10
test/requirements/build.sh
test-debian:
docker build -t jwilder/nginx-proxy:bats .
bats test
test-debian: update-dependencies
docker build -t jwilder/nginx-proxy:test .
test/pytest.sh
test-alpine:
docker build -f Dockerfile.alpine -t jwilder/nginx-proxy:bats .
bats test
test-alpine: update-dependencies
docker build -f Dockerfile.alpine -t jwilder/nginx-proxy:test .
test/pytest.sh
test: test-debian test-alpine
test2-debian:
$(MAKE) -C test2 test-debian
test2-alpine:
$(MAKE) -C test2 test-alpine