mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-14 23:43:56 +01:00
ci: fix opensuse build & re-enable ubuntu preprocess.
This commit is contained in:
parent
8b60e56002
commit
70697cf315
@ -119,7 +119,7 @@ opensuse:
|
|||||||
image: registry.gitlab.com/roddhjav/builders/opensuse
|
image: registry.gitlab.com/roddhjav/builders/opensuse
|
||||||
script:
|
script:
|
||||||
- mkdir -p "$PKGDEST"
|
- 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
|
- bash dists/build.sh rpm
|
||||||
artifacts:
|
artifacts:
|
||||||
expire_in: 1 day
|
expire_in: 1 day
|
||||||
@ -151,11 +151,16 @@ preprocess-debian:
|
|||||||
- dpkg --install $PKGDEST/*
|
- dpkg --install $PKGDEST/*
|
||||||
- apparmor_parser --preprocess /etc/apparmor.d 1> /dev/null
|
- apparmor_parser --preprocess /etc/apparmor.d 1> /dev/null
|
||||||
|
|
||||||
.preprocess-ubuntu:
|
preprocess-ubuntu:
|
||||||
extends: preprocess-debian
|
stage: preprocess
|
||||||
image: ubuntu
|
image: ubuntu
|
||||||
dependencies:
|
dependencies:
|
||||||
- ubuntu
|
- 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:
|
preprocess-whonix:
|
||||||
extends: preprocess-debian
|
extends: preprocess-debian
|
||||||
|
Loading…
Reference in New Issue
Block a user