Skip to content

Commit eabf090

Browse files
michaelklishinmergify[bot]
authored andcommitted
Actions: disable AppArmor (a manual backport of #12515)
(cherry picked from commit bdafbe7)
1 parent 94ccc8a commit eabf090

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

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

Lines changed: 2 additions & 2 deletions
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+
systemctl is-active --quiet apparmor.service && systemctl stop apparmor.service
111+
systemctl disable apparmor.service
112112
113113
cat << EOF >> user.bazelrc
114114
build --strategy=TestRunner=local

.github/workflows/test-plugin.yaml

Lines changed: 2 additions & 2 deletions
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+
systemctl is-active --quiet apparmor.service && systemctl stop apparmor.service
108+
systemctl disable apparmor.service
109109
110110
cat << EOF >> user.bazelrc
111111
build --strategy=TestRunner=local

0 commit comments

Comments
 (0)