Skip to content

Commit 52b749e

Browse files
Merge pull request #12518 from rabbitmq/mergify/bp/v3.13.x/pr-12517
Actions: disable AppArmor (a manual backport of #12515) (backport #12517)
2 parents 94ccc8a + 76d57b2 commit 52b749e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,11 @@ jobs:
104104
run: |
105105
sudo apt-get update && \
106106
sudo apt-get install -y \
107-
apparmor-utils \
108107
ldap-utils \
109108
slapd
110109
111-
sudo aa-complain `which slapd`
110+
sudo systemctl is-active --quiet apparmor.service && sudo systemctl stop apparmor.service
111+
sudo systemctl disable apparmor.service
112112
113113
cat << EOF >> user.bazelrc
114114
build --strategy=TestRunner=local

.github/workflows/test-plugin.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,11 @@ jobs:
101101
run: |
102102
sudo apt-get update && \
103103
sudo apt-get install -y \
104-
apparmor-utils \
105104
ldap-utils \
106105
slapd
107106
108-
sudo aa-complain `which slapd`
107+
sudo systemctl is-active --quiet apparmor.service && sudo systemctl stop apparmor.service
108+
sudo systemctl disable apparmor.service
109109
110110
cat << EOF >> user.bazelrc
111111
build --strategy=TestRunner=local

0 commit comments

Comments
 (0)