nm is used by installs, but it's set in group_vars/all.
Drop the eth0_ipv4_nm from builders / builders_stg because it messes up
things by being not in CIDR notitation.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
See https://pagure.io/copr/copr/issue/1935
Prevent only /api_2, /api_3, etc from redirectring from
fedoraproject.org to fedorainfracloud.org
I am not entirely sure why do we need these special-cases for API but
you guys are taking care of it and keeping it updated, so it must be
important. If anyone can explain some context, it would be
appreciated. The config is older than my involvement in the Copr
project :-)
Anyway, there is only one /api/ page - https://copr.fedorainfracloud.org/api
and that is not an API endpoint that is programmatically accessed and
that preserves backwards compatibility. It is a page that one opens
in the web browser to find information about API, such as where the
documentation is, and how to obtain an API token.
We would like to apply the redirect from fedoraproject.org to
fedorainfracloud.org even for this page.
- add copr_builder_fedora_version variable, because production sometimes
differs from devel for a short period of time
- drop the epel-8 -> centos-stream+epel-8 links, this is now done all
against RHEL
- katello hack package is not in s390x images anymore, since we generate
the images by 'copr-image', not by IBM Cloud snapshots
- kernel-core is now fixed for aws builders, update it as well as other
packages when updating the image
- don't install subscription-manager when spawning builder, it is
already available from image preparation time
- copr-rh-subscribe.sh script is also prepare_base_image only
- we don't modify /etc/copr-rpmbuild/mock.cfg.j2 for quite some time,
drop the hack
- the /usr/bin/copr-update-builder is fixed upstream, drop the
lineinfile hack
- epel-8 configs are installed via files/mock/epel now
- no need to touch /etc/rpkg.conf nowadays on f35
- prepare mockbuilder user only when preparing image, not spawning
- disable coredumps only when preparing the image
- disable services only when preparing the image
- don't update rubygem-gem2rpm all the time, on F35 we have new enough
version
- the /etc/copr-rpmbuild/rpkg.conf.j2 is to be kept as is on F35
Right now this is the last thing (That we know of)
thats using fas2. If we disable this for now we can drop fas2. :)
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
Sometimes we see that mirrorlist-server processes are not running and it
just needs to be restarted. Let the script try it twice before erroring
out.
The most common reason for non running mirrorlist-server processes seems
to be incomplete or truncated input files which is usually fixed the
next time the data is synced.
Signed-off-by: Adrian Reber <adrian@lisas.de>