mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-14 23:43:56 +01:00
CI: add preprocessing for Debian.
This commit is contained in:
parent
8334473902
commit
8e9ccc3bf7
@ -6,7 +6,7 @@ variables:
|
||||
|
||||
stages:
|
||||
- lint
|
||||
- package
|
||||
- build
|
||||
- preprocess
|
||||
|
||||
|
||||
@ -26,7 +26,7 @@ bash:
|
||||
# -------------
|
||||
|
||||
archlinux:
|
||||
stage: package
|
||||
stage: build
|
||||
image: registry.gitlab.com/archlex/packages/builders/arch
|
||||
script:
|
||||
- updpkgsums
|
||||
@ -38,7 +38,7 @@ archlinux:
|
||||
- $PKGDEST/*
|
||||
|
||||
debian:
|
||||
stage: package
|
||||
stage: build
|
||||
image: registry.gitlab.com/archlex/packages/builders/debian
|
||||
script:
|
||||
- VERSION="$(date +%y.%m%d)-1"
|
||||
@ -56,7 +56,7 @@ debian:
|
||||
# Profile Preprocessing
|
||||
# ---------------------
|
||||
|
||||
apparmor:
|
||||
preprocess-archlinux:
|
||||
stage: preprocess
|
||||
image: archlinux
|
||||
dependencies:
|
||||
@ -68,3 +68,14 @@ apparmor:
|
||||
--overwrite etc/apparmor.d/tunables/xdg-user-dirs
|
||||
$PKGDEST/*
|
||||
- apparmor_parser --preprocess /etc/apparmor.d 1> /dev/null
|
||||
|
||||
preprocess-debian:
|
||||
stage: preprocess
|
||||
image: debian
|
||||
dependencies:
|
||||
- debian
|
||||
script:
|
||||
- apt-get update -q
|
||||
- apt-get install -y apparmor
|
||||
- dpkg --install $PKGDEST/*
|
||||
- apparmor_parser --preprocess /etc/apparmor.d 1> /dev/null
|
||||
|
Loading…
Reference in New Issue
Block a user