Skip to content

Disable git in deployment image

Hashar requested to merge disable-git-safe-directory into master

I could not provision the environment due to:

== Installing/updating scap == ERROR: Specified source path "/srv/services/scap" does not seem to be a scap repository. Aborting bash: scap: command not found

The issue arises cause running as scap-deploy, git is unable to read the config of the repositories under /srv/services. They are owned by root and git recently learned to stop processing config files when their owner mismatch the invoking user.

Add = '*' to the global git configuration, to disable the check entirely.

Bug: T325128

Merge request reports