From c87aacb351cecd69fd8f9cb96bafe6a28f1b0b8e Mon Sep 17 00:00:00 2001 From: Praveen Kumar Date: Thu, 30 Jan 2025 11:06:47 +0530 Subject: [PATCH] CI: Disable apparmor because of following error - https://github.com/actions/runner-images/issues/10015 ``` [1/2] STEP 15/16: RUN echo '{"auths":{"fake":{"auth":"aWQ6cGFzcwo="}}}' > /tmp/.pull-secret && /src/scripts/devenv-builder/configure-vm.sh --no-build --no-set-release-version --skip-dnf-update /tmp/.pull-secret && /src/okd/src/use_okd_assets.sh --replace ${OKD_REPO} ${OKD_VERSION_TAG} sudo: PAM account management error: Authentication service cannot retrieve authentication info ``` --- .github/workflows/build_images.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build_images.yaml b/.github/workflows/build_images.yaml index b4fdfed..efaba38 100644 --- a/.github/workflows/build_images.yaml +++ b/.github/workflows/build_images.yaml @@ -66,6 +66,9 @@ jobs: popd - name: build microshift image and push run: | + # https://github.com/actions/runner-images/issues/10015 + sudo systemctl is-active --quiet apparmor.service && sudo systemctl stop apparmor.service + sudo systemctl disable apparmor.service ./create-microshift-image.sh