test: enable ignore_missing_repos in service configs
This commit is contained in:
parent
5d6a4b762b
commit
c9e412f320
5 changed files with 8 additions and 0 deletions
|
|
@ -136,6 +136,7 @@ PGUSER=postgres PGPASSWORD=foobar PGDATABASE=osbuildcomposer PGHOST=localhost PG
|
|||
popd
|
||||
|
||||
cat <<EOF | sudo tee "/etc/osbuild-composer/osbuild-composer.toml"
|
||||
ignore_missing_repos = true
|
||||
log_level = "debug"
|
||||
[koji]
|
||||
allowed_domains = [ "localhost", "client.osbuild.org" ]
|
||||
|
|
@ -778,6 +779,7 @@ verifyPackageList
|
|||
#
|
||||
greenprint "Verifying oauth2"
|
||||
cat <<EOF | sudo tee "/etc/osbuild-composer/osbuild-composer.toml"
|
||||
ignore_missing_repos = true
|
||||
[koji]
|
||||
enable_tls = false
|
||||
enable_mtls = false
|
||||
|
|
|
|||
|
|
@ -102,6 +102,7 @@ sudo "${CONTAINER_RUNTIME}" pull --creds "${V2_QUAY_USERNAME}":"${V2_QUAY_PASSWO
|
|||
"quay.io/osbuild/osbuild-composer-ubi-pr:${CI_COMMIT_SHA}"
|
||||
|
||||
cat <<EOF | sudo tee "/etc/osbuild-composer/osbuild-composer.toml"
|
||||
ignore_missing_repos = true
|
||||
log_level = "debug"
|
||||
[koji]
|
||||
allowed_domains = [ "localhost", "client.osbuild.org" ]
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
ignore_missing_repos = true
|
||||
|
||||
[koji]
|
||||
enable_tls = false
|
||||
enable_mtls = false
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
ignore_missing_repos = true
|
||||
|
||||
[koji]
|
||||
allowed_domains = [ "localhost", "client.osbuild.org" ]
|
||||
ca = "/etc/osbuild-composer/ca-crt.pem"
|
||||
|
|
|
|||
|
|
@ -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/*
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue