From 225e9b36316055e3d463ec1771a9bfacbc505e2e Mon Sep 17 00:00:00 2001 From: jaseg Date: Fri, 10 Jun 2022 23:15:32 +0200 Subject: ci: work around more git safe.directory issues --- .gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c90dfa5..d7d7e1e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -27,6 +27,7 @@ test:debian_10: GIT_SUBMODULE_STRATEGY: none image: "registry.gitlab.com/gerbolyze/build-containers/debian:10" script: + - git config --global --add safe.directory "$CI_PROJECT_DIR" - "export PATH=$HOME/.local/bin:$HOME/.cargo/bin:$PATH" - "touch svg-flatten/build/svg-flatten svg-flatten/build/nopencv-test" - "python3 setup.py install --user" @@ -59,6 +60,7 @@ test:ubuntu_2004: GIT_SUBMODULE_STRATEGY: none image: "registry.gitlab.com/gerbolyze/build-containers/ubuntu:20.04" script: + - git config --global --add safe.directory "$CI_PROJECT_DIR" - "export PATH=$HOME/.local/bin:$HOME/.cargo/bin:$PATH" - "touch svg-flatten/build/svg-flatten svg-flatten/build/nopencv-test" - "python3 setup.py install --user" @@ -91,6 +93,7 @@ test:fedora_33: GIT_SUBMODULE_STRATEGY: none image: "registry.gitlab.com/gerbolyze/build-containers/fedora:33" script: + - git config --global --add safe.directory "$CI_PROJECT_DIR" - "export PATH=$HOME/.local/bin:$HOME/.cargo/bin:$PATH" - "touch svg-flatten/build/svg-flatten svg-flatten/build/nopencv-test" - "python3 setup.py install --user" @@ -122,6 +125,7 @@ test:archlinux: GIT_SUBMODULE_STRATEGY: none image: "registry.gitlab.com/gerbolyze/build-containers/archlinux:latest" script: + - git config --global --add safe.directory "$CI_PROJECT_DIR" - "export PATH=$HOME/.local/bin:$HOME/.cargo/bin:$PATH" - "touch svg-flatten/build/svg-flatten svg-flatten/build/nopencv-test" - "python setup.py install --user" -- cgit