mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-12-25 06:27:49 +01:00
ci: fix opensuse build & re-enable ubuntu preprocess.
This commit is contained in:
parent
8b60e56002
commit
70697cf315
1 changed files with 8 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue