diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 17d80875547fd6921c4064ae76e72efd308c6c78..2eb887964eea0559a2d855dd43d01ff15c6b1c1a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,4 @@ -package:jessie: +build-deb:jessie: stage: build image: containers.ethitter.com:443/docker/images/debian:jessie before_script: @@ -17,7 +17,16 @@ package:jessie: - nginx_${NGINX_VERSION_JESSIE}* - nginx-dbgsym_* -package:stretch: +test-deb:jessie: + stage: test + image: containers.ethitter.com:443/docker/images/debian:jessie + script: + - dpkg -i nginx_${NGINX_VERSION_JESSIE}*.deb + - nginx -V + dependencies: + - build-deb:jessie + +build-deb:stretch: stage: build image: containers.ethitter.com:443/docker/images/debian:stretch before_script: @@ -36,7 +45,16 @@ package:stretch: - nginx_${NGINX_VERSION_STRETCH}* - nginx-dbgsym_* -package:buster: +test-deb:stretch: + stage: test + image: containers.ethitter.com:443/docker/images/debian:stretch + script: + - dpkg -i nginx_${NGINX_VERSION_STRECTH}*.deb + - nginx -V + dependencies: + - build-deb:stretch + +build-deb:buster: stage: build image: containers.ethitter.com:443/docker/images/debian:buster before_script: @@ -54,3 +72,12 @@ package:buster: paths: - nginx_${NGINX_VERSION_BUSTER}* - nginx-dbgsym_* + +test-deb:buster: + stage: test + image: containers.ethitter.com:443/docker/images/debian:buster + script: + - dpkg -i nginx_${NGINX_VERSION_BUSTER}*.deb + - nginx -V + dependencies: + - build-deb:buster