mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-12-26 15:06:45 +01:00
ci(github): set local tunable for github actions.
This commit is contained in:
parent
24ea5f0a3a
commit
3013c1ea5a
2 changed files with 10 additions and 0 deletions
1
.github/workflows/main.yml
vendored
1
.github/workflows/main.yml
vendored
|
@ -97,6 +97,7 @@ jobs:
|
||||||
|
|
||||||
- name: Install apparmor.d
|
- name: Install apparmor.d
|
||||||
run: |
|
run: |
|
||||||
|
sudo install -Dm0644 tests/github.local /etc/apparmor.d/tunables/global.d/github.local
|
||||||
sudo dpkg --install .pkg/apparmor.d_*_amd64.deb || true
|
sudo dpkg --install .pkg/apparmor.d_*_amd64.deb || true
|
||||||
sudo systemctl restart apparmor.service
|
sudo systemctl restart apparmor.service
|
||||||
|
|
||||||
|
|
9
tests/github.local
Normal file
9
tests/github.local
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
# apparmor.d - Full set of apparmor profiles
|
||||||
|
# Copyright (C) 2024 Alexandre Pujol <alexandre@pujol.io>
|
||||||
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
|
# Local tunables addition for bats integration tests on Github Action
|
||||||
|
|
||||||
|
@{p_dbus_system}+=unconfined
|
||||||
|
@{p_dbus_session}+=unconfined
|
||||||
|
@{p_dbus_accessibility}+=unconfined
|
Loading…
Reference in a new issue