Commit 03325796 authored by Erick Hitter's avatar Erick Hitter

Fix build context

parent 17eae2e8
......@@ -4,7 +4,7 @@ image: containers.ethitter.com:443/docker/images/debian:stretch
before_script:
- apt-get update
- apt-get -y --no-install-recommends install devscripts lintian fakeroot
- mkdir ../nginx-package-build.orig
- mkdir nginx-package-build.orig
- echo $CI_BUILDS_DIR
- echo $CI_PROJECT_DIR
......@@ -16,6 +16,7 @@ after_script:
package:
stage: build
script:
- cd source
- debuild -us -uc
# artifacts:
# paths:
......
# Relies on latest binary build artifact from https://git.ethitter.com/debian/nginx-build.
get_binary:
curl -o sources/usr/sbin/nginx "$NGINX_BINARY"
install: get_binary
install sources/etc/default/nginx /etc/default/nginx
install sources/etc/init.d/nginx /etc/init.d/nginx
install sources/etc/logrotate.d/nginx /etc/logrotate.d/nginx
install sources/etc/nginx/ /etc/nginx/
install sources/usr/lib/nginx/modules/ /usr/lib/nginx/modules/
install -m 0755 sources/usr/sbin/nginx /usr/sbin/nginx
install sources/usr/share/doc/nginx/ /usr/share/doc/nginx/
install sources/usr/share/nginx/ /usr/share/nginx/
install sources/var/cache/nginx/ /var/cache/nginx/
install sources/var/log/nginx/ /var/log/nginx/
# 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 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
install fakeroot/etc/nginx/ /etc/nginx/
install fakeroot/usr/lib/nginx/modules/ /usr/lib/nginx/modules/
install -m 0755 fakeroot/usr/sbin/nginx /usr/sbin/nginx
install fakeroot/usr/share/doc/nginx/ /usr/share/doc/nginx/
install fakeroot/usr/share/nginx/ /usr/share/nginx/
install fakeroot/var/cache/nginx/ /var/cache/nginx/
install fakeroot/var/log/nginx/ /var/log/nginx/
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment