We can consolidate a bunch of things here in group vars that was in
host vars and avoid a bunch of duplication. So, now: all the
buildvm_s390x builders are in that group, but there's now a
buildvm_s390x_kvm and buildvm_s390x_zvm for those seperate lpars and
those define the default network setup for each lpar. Finally the hosts
vars only now needs to have the ip addresses.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
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