Verified Commit a6859d5b authored by Marco Marinello's avatar Marco Marinello
Browse files

Use our own builder to speed-up a bit, remove stretch build

parent b2cbcf9c
Pipeline #90 failed with stage
in 5 minutes and 21 seconds
......@@ -8,7 +8,7 @@ stages:
# Stage "build"
build-jessie:
image: debian:jessie
image: registry.gitlab.com/fusslab/builder:jessie
stage: test
script:
- rm ../* || true
......@@ -30,31 +30,9 @@ build-jessie:
paths:
- artifacts/*
build-stretch:
image: debian:stretch
stage: test
script:
- rm ../* || true
- apt-get update -qy
- apt-get install -y build-essential debhelper libncurses5-dev libglib2.0-dev libgeoip-dev libtokyocabinet-dev zlib1g-dev libncursesw5-dev libbz2-dev dh-python python-all python-setuptools python3-all python3-setuptools python3-metaconfig python3-jinja2 python3-pip kpartx parted qemu-utils qemu-user-static python3-jinja2 python3-yaml dh-systemd python3-setuptools devscripts equivs gnupg2 ca-certificates
- curl https://archive.fuss.bz.it/apt.key | apt-key add -
- echo "deb http://archive.fuss.bz.it/ stretch main contrib" >> /etc/apt/sources.list
- apt-get update -qy
- mk-build-deps
- dpkg -i octonet*deps*.deb || apt-get install -fy
- rm octonet*deps*.deb
- debian/rules debsrc
- debian/rules binary
- mkdir artifacts
- cp ../* artifacts || true
# The files which are to be made available in GitLab
artifacts:
paths:
- artifacts/*
build-buster:
image: debian:buster
image: registry.gitlab.com/fusslab/builder:buster
stage: test
script:
- rm ../* || true
......
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