Fedora CI: Add support for Zuul based CI
This commit is contained in:
parent
430517ec46
commit
fe3aa8f6e9
@ -18,7 +18,15 @@ if [ ! -f $config ]; then
|
||||
cp $original $config
|
||||
|
||||
echo -e '\n\nconfig_opts[f"{config_opts.package_manager}.conf"] += """' >> $config
|
||||
|
||||
# The zuul CI has zuul-build.repo
|
||||
# The Jenkins CI has test-<pkgname>.repo
|
||||
# We run this code from various packages, so we support any <pkgname>
|
||||
if [ -f /etc/yum.repos.d/zuul-build.repo ]; then
|
||||
cat /etc/yum.repos.d/zuul-build.repo >> $config
|
||||
else
|
||||
cat /etc/yum.repos.d/test-*.repo >> $config
|
||||
fi
|
||||
echo -e '\n"""\n' >> $config
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user