Commit Graph

36208 Commits

Author SHA1 Message Date
Pavel Raiskup
dcc3ffa07a copr-be: add missing copr_ping tag 2021-12-21 10:46:09 +01:00
Pavel Raiskup
589e889d88 copr-be: intialize copr-ping API token from private.git
Relates: https://pagure.io/fedora-infrastructure/issue/10392
2021-12-21 10:45:17 +01:00
Pavel Raiskup
29c586cf99 Use centos+epel-8 for epel-8
We want to move to mock-core-configs-36.4 (pushing to infra 34 repos)
because the version contains multiple config fixes.

That version though dropped epel-8 configs as they go soon EOL.  We plan
to move to rhel+epel, but thad needs more work and testing - so for now
default to centos+epel again (CentOS 8 goes EOL in Jan 2022).
2021-12-21 10:35:45 +01:00
Mark O Brien
d8173062ad update ip for el9-test
Signed-off-by: Mark O Brien <markobri@redhat.com>
2021-12-20 16:51:04 +00:00
Mark O Brien
5ff6922918 add centos username for el9-test
Signed-off-by: Mark O Brien <markobri@redhat.com>
2021-12-20 15:44:00 +00:00
Mark O Brien
03992f783d add el9-test to inventory
Signed-off-by: Mark O Brien <markobri@redhat.com>
2021-12-20 15:26:12 +00:00
Mark O Brien
95ab8656c0 add el9-test to inventory
Signed-off-by: Mark O Brien <markobri@redhat.com>
2021-12-20 15:26:03 +00:00
Mark O Brien
57fa4c40bc add vpn info for el9-test
Signed-off-by: Mark O Brien <markobri@redhat.com>
2021-12-20 15:23:05 +00:00
Mark O Brien
fc59db5059 allow el9-test ip for batcave
Signed-off-by: Mark O Brien <markobri@redhat.com>
2021-12-20 15:11:02 +00:00
Kevin Fenzi
70b94e3398 buildvm-s390x-07: make this z/vm host a cache
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-12-19 08:54:02 -08:00
Pavel Raiskup
4211300b3b copr-be: configure CentOS DistGit instance
Temporarily, this should go to copr-distgit-client in the future:
https://pagure.io/copr/copr/issue/2015
2021-12-17 13:04:38 +01:00
Mikolaj Izdebski
355d0ae743 Koschei: more aggressive DB cleanup in staging 2021-12-17 12:34:46 +01:00
Adam Williamson
3dec01a15a openqa/server: set httpd_can_network_connect boolean again :(
Seems there's one more port that needs to be tagged before we
can finally unset this:
https://bugzilla.redhat.com/show_bug.cgi?id=1277312#c9

Keep the custom policy as well, though, so we just need to
update it when that port gets done.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-12-14 16:33:19 -08:00
Adam Williamson
2320eef5ee openqa/worker: create custom SELinux module directory first
Whoops. Also order these things a bit better.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-12-14 15:54:38 -08:00
Adam Williamson
edc4caa833 openqa/server: use custom SELinux policy instead of boolean
We've been using the httpd_can_network_connect boolean for years
to allow httpd to connect to the openQA server processes. This
is an unnecessarily large hammer when we only need it to be
able to connect to exactly the two openQA ports. This uses a
custom SELinux policy to allow connecting to those ports only,
and ensures the boolean is set back to off.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-12-14 15:48:34 -08:00
Adam Williamson
67eb9bb288 openqa/server: clean up and trim package requirements
Several of these requirements are old ones that were only needed
for createhdds, when we ran createhdds on the servers. All of
those can go. Also make the list line-by-line for easier git
blame tracking in future (and add comments for the remaining
entries so we know why they're there).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-12-14 14:43:29 -08:00
Pavel Raiskup
ac3a331eeb copr-be: disable auto_packing
https://docs.pagure.org/copr.copr/rpkg_util_2_vs_3.html
https://lists.fedoraproject.org/archives/list/copr-devel@lists.fedorahosted.org/thread/3JORYRKDWFMJSR35Z4LIKDEXH2T5263H/
2021-12-14 16:16:26 +01:00
Michal Konečný
4b8e7671f5 [release-monitoring] Remove Yahoo authentication backend
Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2021-12-14 13:44:09 +01:00
Michal Konečný
9f05832fa1 [release-monitoring] Fix static path on staging
The current static path referenced python3.8 in path, which is no longer
true on newer Fedora, so we need to have special rule for staging till
the production will be updated.

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2021-12-14 13:28:19 +01:00
Pavel Raiskup
53a79c70d1 copr-be-dev: experiment with optimal pipe reader 2021-12-12 12:49:27 +01:00
Kevin Fenzi
b3f80c5558 noggin: switch email to bastion02 to try and avoid large queue on bastion01
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-12-11 16:58:40 -08:00
Kevin Fenzi
ea108af80d buildvm-x86: one too many 5s
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-12-11 11:58:19 -08:00
Kevin Fenzi
ba23745ab8 buildvm-x86: set eth0_ipv4_nm
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-12-11 11:41:59 -08:00
Kevin Fenzi
14f1896637 buildvm-x86: set eth0_ipv4_gw
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-12-11 11:40:22 -08:00
Kevin Fenzi
36b0cf4668 buildvm-x86: move to f35
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-12-11 11:37:00 -08:00
Kevin Fenzi
1c07264c84 buildvm-x86: adjust eth0_ip to eth0_ipv4
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-12-11 11:36:10 -08:00
Kevin Fenzi
8f999d60af noggin: add additional domain we do not want to allow accounts from
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-12-11 09:34:56 -08:00
Mohan Boddu
7ec9166e80 Sync CS9 shipped content rather than its buildroot content
Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
2021-12-10 20:51:51 +00:00
Kevin Fenzi
9136938987 proxies / certificates: also tag getfedora.org cert
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-12-10 11:43:15 -08:00
Kevin Fenzi
f3d4f5459a buildvm-s390x-01.stg: drop the kvm version of this, use the existing Z/VM one
Turns out there was a z/vm and a kvm version of this host with both of
them using the same ip address. ;( Lets kill off the kvm one for now and
use just the z/vm one.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-12-10 11:39:54 -08:00
Kevin Fenzi
fe725ba603 proxies / websites: tag getfedora.org website
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-12-10 11:39:16 -08:00
Pavel Raiskup
8c2d55d72d copr-be: better task name for lighttpd config 2021-12-10 19:10:01 +01:00
Francois Andrieu
519c10809e websites: missing configmap for updatepot cronjob 2021-12-10 18:06:29 +00:00
Pavel Raiskup
adee0ddf95 copr-be: typo in lighttpd.conf
Fixes bug in f736ed7ef9
2021-12-10 18:54:59 +01:00
Pavel Raiskup
9be329fb9a copr-be: restrict cgi a bit more
We don't need any other extension than php.
2021-12-10 18:33:27 +01:00
Pavel Raiskup
f736ed7ef9 copr-be: dir-generator fix once more
Seems like with lighttpd v1.4.61 we finally can match the index file
request against the rewritten url, so it is secure!  This allows us to
prettily restrict the configuration to load the php script from only one
possible location.
2021-12-10 18:33:27 +01:00
Kevin Fenzi
3d121ae5ee bkernel: drop nosync here too and fix logic to not change site-defaults in kojibuilder role
This caused a bit of trouble since I disabled nosync in the kojibuilder
role. I think applied that with -t site-defaults, which updated
everything, _including_ bkernel machines. Sadly, bkernel machines have
additional config in site-defaults to allow for secure boot signing and
this was lost. So, make sure only the bkernel role changes site-defaults
on bkernel machines and also drop nosync from it's private config.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-12-10 09:04:18 -08:00
David Kirwan
9495dd3b77 Removed worker04,05 from ocp stg
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2021-12-10 15:57:20 +00:00
Pavel Raiskup
d1b05865ac copr-be: fixup the php directory generator
- avoid using globals if not necessary
- when opendir then closedir
- drop the undefined SERVER_SOFTWARE env use

This reverts commit 35d389a9fa.
Fixes: https://pagure.io/copr/copr/issue/2009
2021-12-10 16:12:19 +01:00
Pavel Raiskup
7afd769a06 copr-be: drop the --ignore-subnets
Originally added as: d03a23530d

Though that commit was probably related to OpenStack networking we had
those days.  The traffic from Copr builders will have to be filtered-out
based on a specific UserAgent (or something alike), once we are on
the issue https://pagure.io/copr/copr/issue/1263
2021-12-10 14:49:52 +01:00
Mohan Boddu
943064c64a More fixes to epel release symlink
Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
2021-12-09 19:05:00 -05:00
Mohan Boddu
f2d96224d9 More fixes for epel release symlink
Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
2021-12-09 18:36:50 -05:00
Kevin Fenzi
147785c399 buildvm-ppc64le: switch to ppc64le specific install for virt-install
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-12-09 14:07:18 -08:00
Mohan Boddu
917db82a2c For epel-next-release symlink use the epel subpackage rpm from epel repo
Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
2021-12-09 20:15:43 +00:00
Kevin Fenzi
73ce83f871 buildvm_ppc64le: move ppc64le builders to f35
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-12-09 11:47:48 -08:00
Mohan Boddu
2976d26f24 Use f36 key to sign eln builds
Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
2021-12-09 12:20:23 -05:00
Kevin Fenzi
5e1791ce44 noggin: Increase the activation token lifetime
Currently gmail is throttling emails from fedoraproject.org, so the new
user tokens time out before they reach the new user. Bump this up to an
hour for now until the gmail issue is over.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-12-09 07:10:43 -08:00
Michal Konečný
b9403b3ac0 [the-new-hotness]Fix consumer callback for production
Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2021-12-09 13:29:38 +01:00
Michal Konečný
ffe823979d [the-new-hotness] Update configuration for release
There were plenty of changes till the last release and this commit is
updating the current production configuration to reflect changes made
for staging.

Release of the-new-hotness 1.0.0.

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2021-12-09 13:19:21 +01:00
Kevin Fenzi
84b9d7bcc3 koji_builder / mock / site-defaults: disable nosync in prod too
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-12-08 19:42:26 -08:00