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:
|
stages:
|
||||||
- lint
|
- lint
|
||||||
- package
|
- build
|
||||||
- preprocess
|
- preprocess
|
||||||
|
|
||||||
|
|
||||||
@ -26,7 +26,7 @@ bash:
|
|||||||
# -------------
|
# -------------
|
||||||
|
|
||||||
archlinux:
|
archlinux:
|
||||||
stage: package
|
stage: build
|
||||||
image: registry.gitlab.com/archlex/packages/builders/arch
|
image: registry.gitlab.com/archlex/packages/builders/arch
|
||||||
script:
|
script:
|
||||||
- updpkgsums
|
- updpkgsums
|
||||||
@ -38,7 +38,7 @@ archlinux:
|
|||||||
- $PKGDEST/*
|
- $PKGDEST/*
|
||||||
|
|
||||||
debian:
|
debian:
|
||||||
stage: package
|
stage: build
|
||||||
image: registry.gitlab.com/archlex/packages/builders/debian
|
image: registry.gitlab.com/archlex/packages/builders/debian
|
||||||
script:
|
script:
|
||||||
- VERSION="$(date +%y.%m%d)-1"
|
- VERSION="$(date +%y.%m%d)-1"
|
||||||
@ -56,7 +56,7 @@ debian:
|
|||||||
# Profile Preprocessing
|
# Profile Preprocessing
|
||||||
# ---------------------
|
# ---------------------
|
||||||
|
|
||||||
apparmor:
|
preprocess-archlinux:
|
||||||
stage: preprocess
|
stage: preprocess
|
||||||
image: archlinux
|
image: archlinux
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -68,3 +68,14 @@ apparmor:
|
|||||||
--overwrite etc/apparmor.d/tunables/xdg-user-dirs
|
--overwrite etc/apparmor.d/tunables/xdg-user-dirs
|
||||||
$PKGDEST/*
|
$PKGDEST/*
|
||||||
- apparmor_parser --preprocess /etc/apparmor.d 1> /dev/null
|
- 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