Commit f985ce83 authored by Runar Borge's avatar Runar Borge

Added buildscripts for stretch

parent be258cfd
Pipeline #28948 passed with stages
in 1 minute and 14 seconds
......@@ -21,6 +21,25 @@ build-debian-buster:
- ./build.sh mp-dragonlab
- cp *.deb build-buster
build-debian-stretch:
stage: build
image: debian:stretch
artifacts:
expire_in: 1d
paths:
- build-stretch
script:
- apt-get update && apt-get upgrade -y
- apt-get install -y debhelper git curl apt-utils locales
- mkdir build-stretch
- echo "Building for MP-UNINETT"
- ./build.sh mp-uninett
- cp *.deb build-stretch
- echo "Building for MP-DRAGONLAB"
- ./build.sh mp-dragonlab
- cp *.deb build-stretch
build-ubuntu-focal:
stage: build
image: ubuntu:focal
......@@ -58,5 +77,6 @@ deploy-apt:
)
- ls -l build-*/*.deb
- scp build-buster/*.deb jenkins@apt.uninett.no:/www/apt.uninett.no/htdocs/debian/pool/buster/main/all/
- scp build-stretch/*.deb jenkins@apt.uninett.no:/www/apt.uninett.no/htdocs/debian/pool/stretch/main/all/
- scp build-focal/*.deb jenkins@apt.uninett.no:/www/apt.uninett.no/htdocs/ubuntu/pool/focal/main/all/
- ssh jenkins@apt.uninett.no /www/apt.uninett.no/bin/mkrepo
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