Commit 05131927 authored by Kolbjørn Barmen's avatar Kolbjørn Barmen

Enter buster

parent e16602ea
Pipeline #18881 passed with stages
in 58 seconds
......@@ -15,12 +15,26 @@ build-debian-stretch:
- mkdir build-stretch
- mv -v *.deb build-stretch/
build-debian-buster:
cache: {}
stage: build
image: debian:buster
artifacts:
expire_in: 1h
paths:
- build-buster
script:
- ./build.sh
- mkdir build-buster
- mv -v *.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
- (
......@@ -30,5 +44,7 @@ deploy-apt:
echo "${SSH_APT_HOSTKEY}" > ~/.ssh/known_hosts;
)
- ssh jenkins@apt.uninett.no mkdir -p /www/apt.uninett.no/htdocs/debian/pool/stretch/main/all/m
- ssh jenkins@apt.uninett.no mkdir -p /www/apt.uninett.no/htdocs/debian/pool/buster/main/all/m
- scp build-stretch/*.deb jenkins@apt.uninett.no:/www/apt.uninett.no/htdocs/debian/pool/stretch/main/all/m/
- scp build-buster/*.deb jenkins@apt.uninett.no:/www/apt.uninett.no/htdocs/debian/pool/buster/main/all/m/
- ssh jenkins@apt.uninett.no /www/apt.uninett.no/bin/mkrepo.debian
FROM debian:stretch
FROM debian:buster
WORKDIR /root/
COPY mp-rude mp-rude
COPY build.sh build.sh
......
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