From 4dbe97a8945b1af66cdc6178d5342a3f01aa921f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Fri, 12 Jan 2024 17:55:52 +0100 Subject: [PATCH] ci: Add work-around for podman-push permission issue For some reason, podman recently started to fail to read files in non-world-readable directories: https://gitlab.gnome.org/Infrastructure/Infrastructure/-/issues/1247 As long as it happens with stuff we don't actually need, the work-around is to just remove the offending files. Part-of: --- .gitlab-ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4f30780aa..2fcf35f70 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -138,6 +138,12 @@ variables: mutter mutter-devel \ gnome-shell + # Work-around for podman-push aborting on permission issue + # https://gitlab.gnome.org/Infrastructure/Infrastructure/-/issues/1247 + rm -rf /etc/pki/pesign/ + chmod -R a+rX /opt/mutter/$MUTTER_USER + chmod -R a+rX /var/lib/gdm + # Ensure that we mark the project clone dir as safe directory git config --system --add safe.directory "$CI_PROJECT_DIR"