Skip to content
Snippets Groups Projects
Commit 03325796 authored by Erick Hitter's avatar Erick Hitter
Browse files

Fix build context

parent 17eae2e8
Branches
No related tags found
1 merge request!1Add build
This commit is part of merge request !1. Comments created here will be created in the context of that merge request.
Showing
with 17 additions and 16 deletions
...@@ -4,7 +4,7 @@ image: containers.ethitter.com:443/docker/images/debian:stretch ...@@ -4,7 +4,7 @@ image: containers.ethitter.com:443/docker/images/debian:stretch
before_script: before_script:
- apt-get update - apt-get update
- apt-get -y --no-install-recommends install devscripts lintian fakeroot - 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_BUILDS_DIR
- echo $CI_PROJECT_DIR - echo $CI_PROJECT_DIR
...@@ -16,6 +16,7 @@ after_script: ...@@ -16,6 +16,7 @@ after_script:
package: package:
stage: build stage: build
script: script:
- cd source
- debuild -us -uc - debuild -us -uc
# artifacts: # artifacts:
# paths: # 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/
source/Makefile 0 → 100644
# 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/
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment