test: enable ignore_missing_repos in service configs

This commit is contained in:
Achilleas Koutsou 2024-10-31 18:50:28 +01:00 committed by Lukáš Zapletal
parent 5d6a4b762b
commit c9e412f320
5 changed files with 8 additions and 0 deletions

View file

@ -62,6 +62,7 @@ sudo mkdir -p /etc/osbuild-worker
# these are expected to be provided with the compose request.
if [[ "$AUTH_METHOD" != "$AUTH_METHOD_NONE" ]]; then
# Remove the repositories, because it is not used in the Service scenario
# This requires that ignore_missing_repos is enabled in the osbuild-composer configuration
sudo rm -rf /etc/osbuild-composer/repositories
sudo rm -f /usr/share/osbuild-composer/repositories/*