Commit graph

37098 commits

Author SHA1 Message Date
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
Kevin Fenzi
abd4523cac sigul / bridge: drop fas group check so we can drop fas
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>
2022-01-24 13:34:46 -08:00
Pavel Raiskup
d2a2a91828 copr-builders: use limits.conf.d, not limits.conf
The old variant seems to break SSHD on Fedora 35 for some reason, maybe
https://access.redhat.com/solutions/2947841
2022-01-24 22:06:20 +01:00
Adrian Reber
ff550a4317 Try to restart a mirrorlist-server process if not running
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>
2022-01-24 18:52:32 +00:00
Leonardo Rossetti
76ec9e06a1 adding resultsdb username 2022-01-24 18:49:34 +00:00
d2b07d0218 languages: compute stats for f35 2022-01-24 18:47:15 +00:00
Mattia Verga
0de9fdade7 bodhi: relax regex used to catch bug ids in changelogs
Signed-off-by: Mattia Verga <mattia.verga@protonmail.com>
2022-01-24 18:41:28 +00:00
David Duncan
c7a4031d5f Update configuration to include new AWS region ap-southeast-3
Signed-off-by: David Duncan <davdunc@amazon.com>
2022-01-24 18:36:02 +00:00
David Duncan
5bb6e67e21 Update script to include new AWS regions after jakarta launch
Signed-off-by: David Duncan <davdunc@amazon.com>
2022-01-24 18:36:02 +00:00
8a009ac86a docstranslation: stick with fedora version of po4a 2022-01-24 18:32:05 +00:00
Kevin Fenzi
9552a4ccec security.txt: push out a year on date
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-01-24 10:31:07 -08:00
Kevin Fenzi
d93be536ff proxies: add security.txt file
Per https://securitytxt.org/ and
https://datatracker.ietf.org/doc/html/draft-foudil-securitytxt-12
This is a basic 2 liner, we can expand on it later.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-01-24 18:28:46 +00:00
Dusty Mabe
0ae073966a
fedora-coreos-pipeline: include prod OpenShift cluster as a target
We're ready to deploy to the prod cluster now.
2022-01-24 10:25:23 -05:00
Dusty Mabe
2274273ab9
fedora-coreos-pipeline: add steps for deleting project
These steps can be used by the app owners to delete the
project if needed so it can be recreated from scratch.
2022-01-24 10:25:23 -05:00
Dusty Mabe
ac61ab020c
Align naming for the Fedora CoreOS Pipeline
Our playbook was named `fedora-coreos.yml` and our role was
named `fcos-pipeline`. Let's meet in the middle at `fedora-coreos-pipeline`
for both.

Also update some of the descriptions.
2022-01-24 09:55:56 -05:00
Adam Saleh
063545f933 Add Lenka and Patrik to bodhi project on openshift. 2022-01-24 15:22:45 +01:00
Adam Saleh
3e61b53ce1 Testing Bodhi on staging before 5.7.4 release. 2022-01-24 15:06:27 +01:00
Jakub Kadlcik
612af5e20c copr: use systemd drop-ins instead of chaning /usr 2022-01-23 23:54:23 +01:00
Jakub Kadlcik
259b3878c1 swap: fix file creation to be idempotent, pt2 2022-01-23 23:15:49 +01:00
Jakub Kadlcik
358b3c5130 swap: fix file creation to be idempotent 2022-01-23 22:58:00 +01:00
Jakub Kadlcik
12dd3933cc copr: automatically restart frontend httpd after failure 2022-01-23 22:55:23 +01:00
Jakub Kadlcik
68139c0ff2 swap: automatically start swap.swap service, pt2 2022-01-23 22:20:30 +01:00