Commit graph

34400 commits

Author SHA1 Message Date
Stephen Smoogen
8e73b7c5c5 fix the minimum for a guest to be enough to actually install a system 2021-02-08 13:33:25 -05:00
Kevin Fenzi
ce3181ae62 nuancier: open port 80
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-02-08 08:52:46 -08:00
Kevin Fenzi
dce4be062b nuancier: set wsgi vars for httpd role.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-02-08 07:58:18 -08:00
Pavel Raiskup
391e4ea7af copr-be: override centos-stream configs
This is needed for now because we are updating mock-core-configs,
and there is an incompatible variant of the centos-stream configuration:
https://pagure.io/copr/copr/issue/1691
2021-02-08 15:11:13 +01:00
Pavel Raiskup
fea22e3e45 copr-be: use the new SSL certificate 2021-02-08 14:06:31 +01:00
Kevin Fenzi
daa470f778 apps-fp-o: Change directory mode to 2755 since thats what it becomes after sync
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-02-07 17:16:26 -08:00
Kevin Fenzi
60f6cb5f50 compose-tracker: check out correct branch for prod
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-02-07 10:13:46 -08:00
Kevin Fenzi
c856c7e882 compose-tracker: move from f30 to f33.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-02-07 10:05:02 -08:00
Owen W. Taylor
67224d3b02 Add back regindexer and revert httpd config until flatpak-indexer is ready
While we're getting flatpak-indexer tested and working in staging, we still
need regindexer, and we don't want the httpd config changes that are
part of the regindexer => flatpak-indexer change.

Fixes: https://pagure.io/fedora-infrastructure/issue/9631
Signed-off-by: Owen W. Taylor <otaylor@fishsoup.net>
2021-02-06 14:21:27 -05:00
Kevin Fenzi
074f2a2089 apps-fp-o: change directory to 0755 to match everywhere else.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-02-06 10:55:58 -08:00
Kevin Fenzi
b0919a564e httpd / redirectmatch: directories should be 755
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-02-06 10:19:33 -08:00
Owen W. Taylor
69e318a10a Add a flatpak-indexer openshift service
flatpak-indexer replaces regindexer for creating an index of Fedora
Flatpaks. It adds an additional capability - creating "diffs" between image versions
allowing for incremental updates.

Add a new openshift namespace: flatpak-indexer, with three deploymentconfigs
in it:

 - flatpak-indexer: generates the index
 - flatpak-indexer-differ: worker(s) to run the expensive tardiff operation
 - redis: used for cache and communication between indexer and differ

The staging version of the indexer targets the *production* bodhi/koji/registry,
since we don't have useful Flatpak content in staging. This could be changed.

The registry reverse proxy configuration is updated to a slightly different
set of generated indexes (the 'annotations' indexes for F31 and older are
now suffixed with -annotations, and the 'labels' indexes unsuffixed.)

Signed-off-by: Owen W. Taylor <otaylor@fishsoup.net>
2021-02-05 21:19:30 +00:00
Kevin Fenzi
c349a7c25e chrony: try and fix chrony in staging
In staging we set a 'staging' datacenter, but this makes the chrony
template think they are external hosts not in iad2, which is wrong.
So, add a conditional to make them use our internal iad2 ntp servers if
they are in staging datacenter too.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-02-05 12:24:03 -08:00
Kevin Fenzi
f9f87b928a buildvm / staging: add ipa/client to setup ssh/sudo access.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-02-05 11:47:08 -08:00
Mohan Boddu
1a302f3617 chmod composes TMPDIR to 755
For some reason starting with F33, the tmp dirs are created with 700
perms and that is causing issues with running scripts in releng dir

Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
2021-02-05 14:06:28 -05:00
Aurélien Bompard
29f4c6adf6
fas-changes: access key
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-02-05 17:40:42 +01:00
Aurélien Bompard
6a674f5814
Add a tiny app to get the list of recently changed users in FAS
There is unfortunately no other way to get that info, apparently.

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-02-05 17:24:04 +01:00
Aurélien Bompard
6606399bbc
Allow users to change some of their attributes
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-02-05 16:47:02 +01:00
Aurélien Bompard
9e7b8efc2e
Get fasPronoun in sssd
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-02-05 16:47:01 +01:00
Stephen Coady
1ffdf371fd [noggin] [fasjson]: add scoady to appowners for staging
Signed-off-by: Stephen Coady <scoady@redhat.com>
2021-02-04 21:23:23 +00:00
Pierre-Yves Chibon
649eec104d messaging-bridge: leverage the rabbit/queue role and add monitoring to the queues
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-02-04 21:21:05 +00:00
Stephen Smoogen
d81f49b969 add the new certs that will need to be installed. They will need to be properly installed and then the other configs need to use them 2021-02-04 16:20:42 -05:00
Michael Scherer
a5601476b9 Remove communityblog from ansible
It got moved to wpengine, so all the deployment bits
are no-op
2021-02-04 21:11:49 +00:00
Michael Scherer
e1b408851a Remove build of fudcon
The source code was removed in https://pagure.io/fedora-websites/c/f5646276cf629ffa32b87cb23afb99823d498510?branch=master
and the website is just a redirect.
2021-02-04 21:05:18 +00:00
Pierre-Yves Chibon
7d29b2fbf7 pagure: allow the commit ACL on API token to not be project-specific
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-02-04 17:40:18 +01:00
Stephen Smoogen
011e9b6a2f Fix logrotate for docker-distribution
This used a syntax that was from an old EL and does not work with
newer Fedora with systemctl. Hat tip to misc for helping me figure out
which rpm had the file in it and then what the right syntax was.
2021-02-04 06:48:28 -05:00
Mark O'Brien
8029e4433b ipa: stg bodhi backend 2021-02-04 09:59:28 +00:00
Neal Gompa
ff0a3beaff roles/distgit/pagure: Enable 'commit' ACL for API tokens
This permits users to create API tokens that have the ability to
commit to repositories through HTTPS. This is especially useful for
non-packagers that are trying to contribute through pull requests,
because they lack the normal packager SSH permissions.

Signed-off-by: Neal Gompa <ngompa13@gmail.com>
2021-02-04 08:35:19 +00:00
Kevin Fenzi
fe31b7dadb tasks / virt-inst-create: don't setup direct kernel boot in stg for 32bit arm
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-02-03 16:40:57 -08:00
Kevin Fenzi
276c2d4f6f buildvm_armv7: switch back to f33 and uefi in staging
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-02-03 16:29:04 -08:00
Pierre-Yves Chibon
f7f8f965c8 distgit/pagure: tell pagure-dist-git that main == rawhide
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-02-03 20:40:27 +01:00
Nils Philippsen
c6e09b40cb ipa/client: clean up old 2FA sudo configuration
The old, TOTPCGI-enabled sudo configuration breaks when it should be
verifying password and OTP token against what's stored in IPA.

If found, or /etc/pam.d/sudo or the sudo package are missing, reinstall
the sudo package to fix.

Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-02-03 15:27:45 +00:00
Nils Philippsen
ba73b7cb26 ipa/client: make mutually exclusive with old FAS way
The fas_client role and 2fa_client tasks are incompatible with the
ipa/client role, so mask them out for MBS and OSBS hosts in staging,
just as with the bugzilla2fedmsg and github2fedmsg group playbooks.

This will have to be done for all hosts, groups using the ipa/client
role.

Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-02-03 15:27:45 +00:00
Mohan Boddu
98edf2c159 Changing master to rawhide
This change will add the new packages to koji tags when a new repo
ticket is processed.

Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
2021-02-03 15:11:35 +00:00
Kevin Fenzi
cdc344bb27 koji_hub / kojira: keep repos for 3 days instead of 1
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-02-03 06:33:32 -08:00
Pierre-Yves Chibon
c625bdc1a7 distgit/pagure:Prevent creating main or rawhide without having it in PDC
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-02-03 14:31:33 +01:00
Pierre-Yves Chibon
caa56c98bb distgit/pagure: block pushing to master
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-02-03 14:12:47 +01:00
Adam Saleh
b318b39c27 Attempting to workaround the image definition to reference the cluster-build image in the projects image-stream 2021-02-03 12:34:45 +00:00
Patrick Uiterwijk
163cbc5e9b zezere: back up database
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2021-02-03 12:57:58 +01:00
Adam Saleh
9f53e6b607 Fixed volume definition for fedocal cron in openshift. 2021-02-03 11:44:17 +01:00
Adam Saleh
dec482739b Added an openshift-cronjob for the fedocal openshift deployment. 2021-02-03 11:22:01 +01:00
Kevin Fenzi
25ace56df7 pagure.io / nagios: check only that cert is valid for 25 days
We renew letsencrypt certs at 30 days, so checking at 60 is pointless.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-02-02 14:24:07 -08:00
Pavel Raiskup
6586cf0eed copr: backend: tag lighttpd config 2021-02-02 19:54:18 +01:00
Pavel Raiskup
cad2c4dbd0 copr: backend: nicer lighttpd doc 2021-02-02 19:36:14 +01:00
Pavel Raiskup
8ba5a4889f copr: backend: execute PHP only for dir-generator.php 2021-02-02 19:30:03 +01:00
Mark O'Brien
55528ea6ba ipa-client: throttle tasks to one worker at a time to avoid conflicts when talking to server 2021-02-02 17:20:01 +00:00
Kevin Fenzi
a7ddcf5828 rabbitmq_cluster: expire /bodhi queues that are idle more than 1 week.
Fixes https://pagure.io/fedora-infrastructure/issue/9170

Lets just have rabbitmq cleaup any queues in the /bodhi vhost that are
around for more than a week idle.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-02-02 17:07:35 +00:00
Kevin Fenzi
0bf41f71ca ipa: install collectd so we can see some basic load graphs
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-02-02 08:48:31 -08:00
Pierre-Yves Chibon
05caa9f461 distgit/pagure: simplify RCM_BRANCHES and adjust the list of branches blocked
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-02-02 17:08:41 +01:00
Pierre-Yves Chibon
63437cbb4a pagure: add the lock permission on file
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-02-02 16:50:04 +01:00