diff options
author | 2022-05-16 18:38:55 -0300 | |
---|---|---|
committer | 2022-05-17 11:42:29 -0300 | |
commit | 428e068cdc0d46a6de6859f2b9f8b151f34fd84b (patch) | |
tree | 3278c10b766ca7155e28f4b5c7901b9ab084e8c7 /.gitlab-ci.yml | |
parent | ci: run firejail --version after build/install (diff) | |
download | firejail-428e068cdc0d46a6de6859f2b9f8b151f34fd84b.tar.gz firejail-428e068cdc0d46a6de6859f2b9f8b151f34fd84b.tar.zst firejail-428e068cdc0d46a6de6859f2b9f8b151f34fd84b.zip |
gitlab-ci: check for apparmor support on build_apparmor
To ensure that firejail was actually built with support for it.
Note: This commit intentionally fails on GitLab CI to demonstrate that
the above is currently not the case.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b65411545..06b3367e6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml | |||
@@ -56,6 +56,7 @@ build_apparmor: | |||
56 | - DEBIAN_FRONTEND=noninteractive apt-get install -y -qq build-essential lintian libapparmor-dev pkg-config gawk | 56 | - DEBIAN_FRONTEND=noninteractive apt-get install -y -qq build-essential lintian libapparmor-dev pkg-config gawk |
57 | - ./configure --prefix=/usr && make deb-apparmor && dpkg -i firejail*.deb | 57 | - ./configure --prefix=/usr && make deb-apparmor && dpkg -i firejail*.deb |
58 | - command -V firejail && firejail --version | 58 | - command -V firejail && firejail --version |
59 | - firejail --version | grep -F 'AppArmor support is enabled' | ||
59 | 60 | ||
60 | debian_ci: | 61 | debian_ci: |
61 | image: registry.salsa.debian.org/salsa-ci-team/ci-image-git-buildpackage:latest | 62 | image: registry.salsa.debian.org/salsa-ci-team/ci-image-git-buildpackage:latest |