Commit 1c5650be authored by Kolbjørn Barmen's avatar Kolbjørn Barmen
Browse files

Også bygg for buster

parent 9d157197
Pipeline #18931 passed with stages
in 3 minutes and 40 seconds
......@@ -17,12 +17,29 @@ build-debian-stretch:
- docker run -i radsecproxy-debbuild | tar x -C build-stretch/
- ls -l build-stretch/
build-debian-buster:
cache: {}
stage: build
image: registry.uninett.no/public/docker-builder
artifacts:
expire_in: 1h
paths:
- build-buster
script:
- docker build -t radsecproxy-debbuild .
- rm -rf build-buster
- mkdir build-buster
- docker run -i radsecproxy-debbuild | tar x -C build-buster/
- ls -l 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
- (
......@@ -34,6 +51,9 @@ deploy-apt:
- ssh jenkins@apt.uninett.no
mkdir -p
/www/apt.uninett.no/htdocs/debian/pool/stretch/main/binary-amd64/r/radsecproxy
/www/apt.uninett.no/htdocs/debian/pool/buster/main/binary-amd64/r/radsecproxy
- scp build-stretch/radsecproxy*.deb
jenkins@apt.uninett.no:/www/apt.uninett.no/htdocs/debian/pool/stretch/main/binary-amd64/r/radsecproxy/
- scp build-buster/radsecproxy*.deb
jenkins@apt.uninett.no:/www/apt.uninett.no/htdocs/debian/pool/buster/main/binary-amd64/r/radsecproxy/
- ssh jenkins@apt.uninett.no /www/apt.uninett.no/bin/mkrepo.debian
......@@ -4,7 +4,7 @@ set -e
package="radsecproxy"
version="1.8.0"
revision="1~uninett"
revision="2~uninett"
export TZ="Europe/Oslo"
now=$(date +"%a, %d %b %Y %T %z")
......
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