Shutzbot: add pipeline for RHEL nightly builds. Refs #912

Notes:
ATM will not run any actual tests b/c we want to make sure the
pipeline configuration is correct.

run_tests() will call the deploy.sh script and then do nothing
b/c of the "dummy-" prefix which doesn't match any actual tests!
This commit is contained in:
Alexander Todorov 2020-08-27 11:55:51 +03:00 committed by Major Hayden
parent c0d9bb13fc
commit 951e5e66b6
3 changed files with 205 additions and 0 deletions

View file

@ -60,6 +60,15 @@ retry sudo dnf -y install osbuild-composer-tests
# Set up a directory to hold repository overrides.
sudo mkdir -p /etc/osbuild-composer/repositories
# Override default osbuild-composer sources if local definition exists
if [[ -f "rhel-8.json" ]]; then
sudo cp rhel-8.json /etc/osbuild-composer/repositories/
fi
if [[ -f "rhel-8-beta.json" ]]; then
sudo cp rhel-8-beta.json /etc/osbuild-composer/repositories/
fi
# Start services.
sudo systemctl enable --now osbuild-composer.socket