Commit 7a97cfbf authored by Kolbjørn Barmen's avatar Kolbjørn Barmen

1.7.2-2~uninett - built with gitlab-ci

parent 428cb9c5
Pipeline #15772 failed with stages
in 17 seconds
stages:
- build
- deploy
build-debian-stretch:
cache: {}
stage: build
image: debian:stretch
artifacts:
expire_in: 1h
paths:
- build-stretch
script:
- docker build -t radsecproxy-debbuild .
- rm -rf build-stretch
- mkdir build-stretch
- docker run -i radsecproxy-debbuild | tar x -C build-stretch/
- ls -l build-stretch/
deploy-apt:
stage: deploy
image: debian:stretch
artifacts:
paths:
- build-stretch
script:
- apt-get update && apt-get install openssh-client -y
- (
umask 077;
mkdir -p ~/.ssh;
echo "${SSH_PRIVKEY}" > ~/.ssh/id_rsa;
echo "${SSH_APT_HOSTKEY}" > ~/.ssh/known_hosts;
)
- ssh jenkins@apt.uninett.no
mkdir -p
/www/apt.uninett.no/htdocs/debian/pool/stretch/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/
- ssh jenkins@apt.uninett.no /www/apt.uninett.no/bin/mkrepo.debian
...@@ -4,7 +4,7 @@ set -e ...@@ -4,7 +4,7 @@ set -e
package="radsecproxy" package="radsecproxy"
version="1.7.2" version="1.7.2"
revision="1~uninett" revision="2~uninett"
export TZ="Europe/Oslo" export TZ="Europe/Oslo"
now=$(date +"%a, %d %b %Y %T %z") 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