Commit graph

36519 commits

Author SHA1 Message Date
Kevin Fenzi
c8b7521e98 buildvm_s390x: reorg group and host vars, split zvm/kvm lpars
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>
2022-01-26 10:28:09 -08:00
Dusty Mabe
dd68a7d907
fedora-coreos-pipeline: add gursewak to appowners 2022-01-26 12:58:52 -05:00
Timothée Ravier
da3e6d156e fedora-coreos-pipeline: Add Timothée Ravier (siosm) 2022-01-26 16:21:30 +01:00
Dusty Mabe
c2a982522b fedora-coreos-pipeline: add micah/colin to appowners list 2022-01-26 14:17:08 +00:00
Dusty Mabe
a7b1e00912 fedora-coreos-pipeline: sort the appowners
Alphabetical is preferred.
2022-01-26 14:17:08 +00:00
Pavel Raiskup
a4a1120b03 copr-builders: disable nosync since we are moving to F35 2022-01-26 15:16:40 +01:00
Pavel Raiskup
2897d35dac copr-builders: double escape maint.ini.j2 contents
- first escape for jinja
- second escaepe for copr-rpmbuild config reader

Then, the finall rpkg.conf content should look like:
download_url = https://${git_props:remote_netloc}/repo/pkgs/%(repo_path)s/%(filename)s/%(hashtype)s/%(hash)s/%(filename)s
2022-01-26 14:39:47 +01:00
Pavel Raiskup
59092849cf copr-backend: always set_fact for provision_directory 2022-01-26 13:52:11 +01:00
Pavel Raiskup
34d5340929 copr-builders: tag main.ini instantiation with copr_rpmbuild_main_ini 2022-01-26 13:50:08 +01:00
Pavel Raiskup
caadae5243 copr-builder: another rpkg-util v3+ fix
Try to set the defaults according to the /etc/rpkg.conf.
2022-01-26 13:49:09 +01:00
Patrik Polakovič
d7a2f5df2a Bodhi: update version to 5.7.4 2022-01-26 12:29:32 +00:00
Pavel Raiskup
826217b569 copr-builders: use rpkg-util v3+ compatible config 2022-01-26 13:27:49 +01:00
Pavel Raiskup
70c2ee43fb copr-dev: update s390x F35 once more
This time we were missing one script in /usr/local/bin:
6cb6c1a159
2022-01-26 11:35:55 +01:00
Pavel Raiskup
6cb6c1a159 copr-be: typofix s390x builder image preparation, take #2 2022-01-26 11:06:02 +01:00
Pavel Raiskup
3f3cbf070c copr-be: typofix s390x builder image preparation 2022-01-26 10:57:38 +01:00
Kevin Fenzi
770e9cc557 update mac addresses on some buildhw-a64 boxes
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-01-25 17:55:10 -08:00
Kevin Fenzi
bb835f7a24 add host_vars for bvmhost-p08-01.stg
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-01-25 16:15:54 -08:00
Kevin Fenzi
6621e3ee65 somehow bvmhost-a64-01.stg had no host vars before
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-01-25 16:05:07 -08:00
Kevin Fenzi
953ba61979 rabbitmq / staging: just make gw match prod
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-01-25 15:54:26 -08:00
Kevin Fenzi
ba254fc43a group_vars: clean up some gws
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-01-25 15:30:38 -08:00
Kevin Fenzi
f824885753 base / linux-system-roles: the group is cloud_aws
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-01-25 15:16:05 -08:00
Kevin Fenzi
f6a8b121f7 base / linux-system-roles: double quote the when line
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-01-25 15:10:19 -08:00
Kevin Fenzi
796f59fa1b base / linux-system-roles: try and reword when
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-01-25 15:07:45 -08:00
Kevin Fenzi
eb5667b8d4 buildvm-s390x-01.stg: add missing _ip
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-01-25 15:04:14 -08:00
Kevin Fenzi
ec42acdcab base / linux-system-roles: Clean up conditional
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-01-25 15:02:04 -08:00
Kevin Fenzi
6ebe03a470 base: linux-system-roles: cloud datacenter to be wider
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-01-25 14:52:13 -08:00
Kevin Fenzi
28a2c74239 buildvm-s390x-01.stg: fix gateway
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-01-25 14:50:18 -08:00
Kevin Fenzi
5e235aab26 buildvm: fix gateways
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-01-25 14:47:50 -08:00
Kevin Fenzi
d1b419b257 base: linux-system-roles are not used in cloud/aws
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-01-25 14:45:57 -08:00
Kevin Fenzi
83d364e0e2 host_vars: drop nm: and remove eth0_ipv4_nm from builders/builders_stg
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>
2022-01-25 14:36:00 -08:00
Pete Buffon
d866ed3851 removed all keys {eth0_ipv4_nm: 24} 2022-01-25 22:17:11 +00:00
Pete Buffon
938e63fa71 mass vm host_vars edit for default network connection 2022-01-25 22:17:11 +00:00
Jakub Kadlcik
cc920ed019 httpd: redirect copr /api/ URLs to fedorainfracloud.org
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.
2022-01-25 21:43:54 +00:00
Pavel Raiskup
e8fdcc2f54 copr-builders: pub keys need to be stored at spawn-time
For some unknown reason, TODO!
2022-01-25 17:08:08 +01:00
Pavel Raiskup
200719eadc copr-builders: one more F35 update
These images contain subscription-manager package.
2022-01-25 16:39:00 +01:00
Silvie Chlupova
166b814a28 copr: downgrade node_exporter to version 1.2.2 2022-01-25 16:35:07 +01:00
Pavel Raiskup
dc1f5c0148 copr-builders: install the subscription-manager when preparing the image 2022-01-25 15:35:44 +01:00
Pavel Raiskup
8ec98e22bb copr-builders: update the F35 images once more
Needed after the commit: 7fbfb87a1c
2022-01-25 15:08:30 +01:00
Pavel Raiskup
697d5a9b38 copr-hypervisor: fixup vars.yml instantiation 2022-01-25 14:04:12 +01:00
Pavel Raiskup
7fbfb87a1c copr-builder: cleanup provision scripts
- 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
2022-01-25 13:50:35 +01:00
Pavel Raiskup
8ebc8d97bc copr-builders: Power9 machines seem to wait long for DHCP 2022-01-25 13:50:35 +01:00
Lenka Segura
a0eea29bdc Release of 5.7.4 to staging 2022-01-25 11:55:59 +01:00
Pavel Raiskup
f4630f18a1 copr-dev: update builder images to F35
Per https://docs.pagure.org/copr.copr/how_to_upgrade_builders.html

Note the issue with AWS aarch64 images:
https://pagure.io/cloud-sig/issue/365
2022-01-25 11:03:22 +01:00
Pavel Raiskup
e103e35c4b copr-hypervisor: tag the package installation task 2022-01-25 10:19:04 +01:00
Pavel Raiskup
08c1bc3f98 copr-hypervisor: install podman
This is needed to generate Fedora 35 qcow2 builder images.
2022-01-25 10:18:16 +01:00
Pavel Raiskup
028476bfa2 copr-hypervisor: set metadata_expire on helpers directory 2022-01-25 10:12:42 +01:00
Pavel Raiskup
6fc324cf25 copr-hypervisor: update helpers with tags 2022-01-25 10:09:35 +01:00
Pavel Raiskup
754e421ef3 copr-hypervisor: update helpers package with dnf
This should refresh the repository metadata.
2022-01-25 10:08:39 +01:00
Kevin Fenzi
864d8d3732 main: drop playbook for datagrepper, it has moved to openshift.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-01-24 16:09:16 -08:00
Adam Williamson
91ca14b966 Add host_vars for openqa-x86-worker05
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-01-24 14:02:07 -08:00