From: Pavel Filipenský Date: Thu, 4 Jul 2024 09:08:03 +0000 (+0200) Subject: .gitlab-ci-main.yml: Add safe.directory '*' X-Git-Tag: samba-4.19.8~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63c8ed2a38699e9f3e6f10dc2ba4e6c2904af5a1;p=thirdparty%2Fsamba.git .gitlab-ci-main.yml: Add safe.directory '*' This is to fix the error when pushing to personal gitlab repo: 2024-07-04 08:16:05,460 Running: 'git clone --recursive --shared /builds/pfilipen/samba /builds/samba-testbase/master' in '/builds/pfilipen/samba' Cloning into '/builds/samba-testbase/master'... fatal: detected dubious ownership in repository at '/builds/pfilipen/samba/.git' To add an exception for this directory, call: git config --global --add safe.directory /builds/pfilipen/samba/.git fatal: Could not read from remote repository. Instead of adding more and more explicit repositories we should just allow any, we're in an isolated environment... BUG: https://bugzilla.samba.org/show_bug.cgi?id=15660 Pair-Programmed-With: Stefan Metzmacher Signed-off-by: Pavel Filipenský Signed-off-by: Stefan Metzmacher Reviewed-by: Andreas Schneider Autobuild-User(master): Stefan Metzmacher Autobuild-Date(master): Wed Jul 10 10:35:00 UTC 2024 on atb-devel-224 (cherry picked from commit 3a21b7d9a4e7e9814d0be8c0ebf72b9821a5dc36) Autobuild-User(v4-19-test): Stefan Metzmacher Autobuild-Date(v4-19-test): Thu Jul 11 13:22:43 UTC 2024 on atb-devel-224 --- diff --git a/.gitlab-ci-main.yml b/.gitlab-ci-main.yml index 7493000750e..f7dfe890032 100644 --- a/.gitlab-ci-main.yml +++ b/.gitlab-ci-main.yml @@ -146,9 +146,7 @@ include: - ccache -z -M 500M - ccache -s # We are already running .gitlab-ci directives from this repo, remove additional checks that break our CI - - git config --global --add safe.directory `pwd` - - git config --global --add safe.directory /builds/samba-team/devel/samba/.git - - git config --global --add safe.directory /builds/samba-team/samba/.git + - git config --global --add safe.directory '*' after_script: - mount - df -h