Commit 0916199b authored by Kolbjørn Barmen's avatar Kolbjørn Barmen

Enter buster

parent 3fee536d
Pipeline #18882 passed with stages
in 2 minutes and 29 seconds
......@@ -27,12 +27,39 @@ build-debian-stretch:
- mkdir build-stretch
- mv -v rude/rude*.deb crude/crude*.deb build-stretch/
build-debian-buster:
cache: {}
stage: build
image: debian:buster
artifacts:
expire_in: 1h
paths:
- build-buster
script:
- apt-get update
- apt-get install
-q -y --no-install-recommends
-o Dpkg::Options::="--force-confdef"
-o Dpkg::Options::="--force-confold"
build-essential autoconf ruby ruby-dev libpcap-dev
- gem install fpm
- autoheader autoconf/configure.in
- autoconf autoconf/configure.in > configure
- chmod 755 configure
- ./configure --enable-wall --with-debug-lvl=3 --prefix=/usr
- make deb
- rm -rf build-buster
- mkdir build-buster
- mv -v rude/rude*.deb crude/crude*.deb build-buster/
deploy-apt:
stage: deploy
image: debian:stretch
image: debian:buster
artifacts:
paths:
- build-stretch
- build-buster
script:
- apt-get update && apt-get install openssh-client -y
- (
......@@ -45,6 +72,10 @@ deploy-apt:
mkdir -p
/www/apt.uninett.no/htdocs/debian/pool/stretch/main/binary-amd64/r/rude
/www/apt.uninett.no/htdocs/debian/pool/stretch/main/binary-amd64/c/crude
- scp build-stretch/rude*.deb jenkins@apt.uninett.no:/www/apt.uninett.no/htdocs/debian/pool/stretch/main/binary-amd64/r/rude/
- scp build-stretch/crude*.deb jenkins@apt.uninett.no:/www/apt.uninett.no/htdocs/debian/pool/stretch/main/binary-amd64/c/crude/
/www/apt.uninett.no/htdocs/debian/pool/buster/main/binary-amd64/r/rude
/www/apt.uninett.no/htdocs/debian/pool/buster/main/binary-amd64/c/crude
- scp build-stretch/rude*.deb jenkins@apt.uninett.no:/www/apt.uninett.no/htdocs/debian/pool/stretch/main/binary-amd64/r/rude/
- scp build-stretch/crude*.deb jenkins@apt.uninett.no:/www/apt.uninett.no/htdocs/debian/pool/stretch/main/binary-amd64/c/crude/
- scp build-buster/rude*.deb jenkins@apt.uninett.no:/www/apt.uninett.no/htdocs/debian/pool/buster/main/binary-amd64/r/rude/
- scp build-buster/crude*.deb jenkins@apt.uninett.no:/www/apt.uninett.no/htdocs/debian/pool/buster/main/binary-amd64/c/crude/
- ssh jenkins@apt.uninett.no /www/apt.uninett.no/bin/mkrepo.debian
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