ci: fix opensuse build & re-enable ubuntu preprocess.

This commit is contained in:
Alexandre Pujol 2024-06-04 20:26:32 +01:00
parent 8b60e56002
commit 70697cf315
Failed to generate hash of commit

View file

@ -119,7 +119,7 @@ opensuse:
image: registry.gitlab.com/roddhjav/builders/opensuse
script:
- mkdir -p "$PKGDEST"
- sudo zypper install -y distribution-release golang-packaging rsync
- sudo zypper install -y distribution-release golang-packaging rsync apparmor-profiles
- bash dists/build.sh rpm
artifacts:
expire_in: 1 day
@ -151,11 +151,16 @@ preprocess-debian:
- dpkg --install $PKGDEST/*
- apparmor_parser --preprocess /etc/apparmor.d 1> /dev/null
.preprocess-ubuntu:
extends: preprocess-debian
preprocess-ubuntu:
stage: preprocess
image: ubuntu
dependencies:
- ubuntu
script:
- apt-get update -q
- apt-get install -y apparmor apparmor-profiles
- dpkg --install $PKGDEST/*
- apparmor_parser --preprocess /etc/apparmor.d 1> /dev/null
preprocess-whonix:
extends: preprocess-debian