Skip to content

Commit 3f41a8e

Browse files
committed
remove AppArmor profile for mysql in KinD on GHA
Signed-off-by: Matteo Mortari <[email protected]>
1 parent ad2db00 commit 3f41a8e

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

.github/workflows/build-image-pr.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ jobs:
3737
uses: helm/[email protected]
3838
with:
3939
node_image: "kindest/node:v1.27.11"
40+
- name: Remove AppArmor profile for mysql in KinD on GHA # https://github.com/kubeflow/manifests/issues/2507
41+
run: |
42+
set -x
43+
sudo apt-get install apparmor-profiles
44+
sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.mysqld
4045
- name: Load Local Registry Test Image
4146
env:
4247
IMG: "${{ env.IMG_ORG }}/${{ env.IMG_REPO }}:${{ steps.tags.outputs.tag }}"

.github/workflows/csi-test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,12 @@ jobs:
6363
with:
6464
node_image: "kindest/node:v1.27.11"
6565

66+
- name: Remove AppArmor profile for mysql in KinD on GHA # https://github.com/kubeflow/manifests/issues/2507
67+
run: |
68+
set -x
69+
sudo apt-get install apparmor-profiles
70+
sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.mysqld
71+
6672
- name: Install kustomize
6773
run: ./csi/scripts/install_kustomize.sh
6874

.github/workflows/python-tests.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,11 @@ jobs:
126126
with:
127127
node_image: "kindest/node:v1.27.11"
128128
cluster_name: chart-testing-py-${{ matrix.python }}
129+
- name: Remove AppArmor profile for mysql in KinD on GHA # https://github.com/kubeflow/manifests/issues/2507
130+
run: |
131+
set -x
132+
sudo apt-get install apparmor-profiles
133+
sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.mysqld
129134
- name: Load Local Registry Test Image
130135
env:
131136
IMG: "${{ env.IMG_ORG }}/${{ env.IMG_REPO }}:${{ steps.tags.outputs.tag }}"

0 commit comments

Comments
 (0)