Skip to content

Commit d851982

Browse files
Actions: disable AppArmor entirely
(cherry picked from commit 92a4562c10390fbb9d7a0eb907a693ad94b810df)
1 parent 5a4a13e commit d851982

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

.github/workflows/test-make-target.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ jobs:
5555
ldap-utils \
5656
slapd
5757
58-
sudo service apparmor stop
58+
systemctl is-active --quiet apparmor.service && systemctl stop apparmor.service
59+
systemctl disable apparmor.service
5960
6061
- name: RUN TESTS
6162
if: inputs.plugin != 'rabbitmq_cli'

.github/workflows/test-plugin-mixed.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,8 @@ jobs:
9898
ldap-utils \
9999
slapd
100100
101-
sudo service apparmor stop
101+
systemctl is-active --quiet apparmor.service && systemctl stop apparmor.service
102+
systemctl disable apparmor.service
102103
103104
cat << EOF >> user.bazelrc
104105
build --strategy=TestRunner=local

.github/workflows/test-plugin.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,9 @@ jobs:
9898
ldap-utils \
9999
slapd
100100
101-
sudo service apparmor stop
101+
systemctl is-active --quiet apparmor.service && systemctl stop apparmor.service
102+
systemctl disable apparmor.service
103+
102104
103105
cat << EOF >> user.bazelrc
104106
build --strategy=TestRunner=local

0 commit comments

Comments
 (0)