Schutzbot: Allow overriding internal RHEL URL

by defining the COMPOSE_URL environment variable! This will allow
testing more flavors of internal releases.

The rest is renaming files and variables to reflect the fact that
we're running tests against internal trees, not only nightlies.
This commit is contained in:
Aleksandar Todorov 2021-03-12 14:46:58 +02:00 committed by Alexander Todorov
parent fc2d2894d4
commit 661b2a0be0
5 changed files with 37 additions and 29 deletions

View file

@ -67,7 +67,7 @@ greenprint "🧬 Using mock config: ${MOCK_CONFIG}"
greenprint "📦 SHA: ${COMMIT}"
greenprint "📤 RPMS will be uploaded to: ${REPO_URL}"
# rhel 8.4 will run off of the nightly repos and does not have a redhat subscription
# rhel 8.4 will run off of the internal repos and does not have a redhat subscription
if [[ $VERSION_ID == 8.4 ]]; then
greenprint "📋 Updating RHEL 8 mock template for unsubscribed image"
sudo sed -i '/# repos/q' /etc/mock/templates/rhel-8.tpl