[kde-linux/os-autoinst-distri-kdelinux] /: Ensure CI has permissions to write artifacts

Thomas Duckworth <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 55e22574f0824743554052cd112d6e020b1456aa by Thomas Duckworth.
Committed on 18/07/2026 at 13:22.
Pushed by tduck into branch 'master'.

Ensure CI has permissions to write artifacts

Broke CI by trying to get GitLab to collect JUnit XML, this should fix
it by actually creating the directory it needs.

M  +2    -0    .gitlab-ci.yml

https://invent.kde.org/kde-linux/os-autoinst-distri-kdelinux/-/commit/55e22574f0824743554052cd112d6e020b1456aa

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 57523c3..834a8c0 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -34,6 +34,8 @@ reuse:
     - when: always
   allow_failure: false
   script:
+    - mkdir -p "$CI_PROJECT_DIR/gitlab-artifacts"
+    - chmod 0777 "$CI_PROJECT_DIR/gitlab-artifacts"
     - >
       podman run --rm
       --device /dev/kvm
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.