diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ae5e391148c710127b657339b7f59a012d1c80ab..5f7589303dff9c6954cd3d4de075c4dc4ee95667 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,8 +4,10 @@ image: containers.ethitter.com:443/docker/images/debian:stretch before_script: - apt-get update - apt-get -y --no-install-recommends install devscripts lintian fakeroot - - echo $CI_BUILDS_DIR - - echo $CI_PROJECT_DIR + - echo $NGINX_VERSION + - echo $NGINX_BINARY + # Relies on latest binary build artifact from https://git.ethitter.com/debian/nginx-build. + - curl -o source/fakeroot/usr/sbin/nginx "${NGINX_BINARY}" after_script: - ls -la $CI_BUILDS_DIR diff --git a/source/Makefile b/source/Makefile index dee87c2a670296a75007209c06182c24eaec12c5..0ae581b46f93834179a8834711d18bab9c76839a 100644 --- a/source/Makefile +++ b/source/Makefile @@ -1,8 +1,4 @@ -# Relies on latest binary build artifact from https://git.ethitter.com/debian/nginx-build. -get_binary: - curl -o fakeroot/usr/sbin/nginx "${NGINX_BINARY}" - -install: get_binary +install: install fakeroot/etc/default/nginx /etc/default/nginx install fakeroot/etc/init.d/nginx /etc/init.d/nginx install fakeroot/etc/logrotate.d/nginx /etc/logrotate.d/nginx