Commit graph

34750 commits

Author SHA1 Message Date
3e4ac717f8 languages: add resources quota & generate website in pv 2021-04-05 18:37:27 +00:00
486d9f6c7f languages: use templating for similar cronjobs & allow initial import with playbook tags 2021-04-05 18:37:27 +00:00
75d43faea6 languages: use imagestream for nginx 2021-04-05 18:37:27 +00:00
e57a3c9df4 languages: prod deployment 2021-04-05 18:37:27 +00:00
Brendan Early
a4c1b1448f Add fedora-packages-static and solr to openshift 2021-04-05 18:25:10 +00:00
Kevin Fenzi
1df0773d19 Drop fas_client_groups from everything since we are not using fas anymore.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-04-05 10:22:31 -07:00
Kevin Fenzi
8ee9c66072 hosts: try again as the last simple fix was too simple
So, we need a bit more logic here.
We want to use the vpn hosts file only if something is on the vpn and
it's also not in iad2. In iad2 we want the normal hosts file.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-04-05 10:15:52 -07:00
Kevin Fenzi
d36a478580 hosts: make a hacky, but hopefully working way of handling vpn
This isn't very clever, but it should work and be easily understandable.
We likely want to come up with a better way to do these hosts files
entirely, but it can wait until after freeze.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-04-05 10:07:58 -07:00
Kevin Fenzi
189bf72205 ircbot: adjust rules so branched/34 (and 35/36) composes show up in #fedora-releng
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-04-04 09:36:34 -07:00
Kevin Fenzi
67b69f0022 people: add python36 jinja2 for make-people-page script
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-04-03 13:41:43 -07:00
Pierre-Yves Chibon
2b46c6a7fb basessh/distgit: adjust the way ssh is configured for distgit
Basically, we are now installing a small wrapper in /usr/local/bin
which just echoes to stdout what should be in the authorized_keys
file for that user.
That content is generated by retrieving the ssh key from sssd via
the command sss_ssh_authorizedkeys as well as the usual ssh way to
restrict the action an user/key can do: command="...".
In this case, we're setting a couple of environment variable that
are needed later on for things to work properly as well as only
allow the user to call the aclchecker.py script provided by pagure.

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-04-03 21:16:51 +02:00
492fe4f671 openshift: update egressPolicy for iad2 2021-04-03 18:44:31 +00:00
a3021f650c httpd: remove deprecated NamedVirtualHost 2021-04-03 18:10:47 +00:00
db437822cb cleanup: fix proxies NameVirtualHost 2021-04-03 18:10:47 +00:00
Kevin Fenzi
439c87283a releng-compose: install fedora-repo-zdicts for zchunk repodata
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-04-03 11:08:06 -07:00
Pierre-Yves Chibon
404b18b99d mirrormanager: make the ADMIN_GROUP be a list instead of a tuple
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-04-03 19:14:30 +02:00
Pierre-Yves Chibon
00804542f3 Revert "basessh/distgit: adjust the way ssh is configured for distgit"
This is still being reviewed and wasn't meant to be pushed out yet

This reverts commit 67844b4504.
2021-04-03 19:10:54 +02:00
Pierre-Yves Chibon
9f335edcac mirrormanager: do not include signed_fpca in the admin groups
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-04-03 19:09:00 +02:00
Pierre-Yves Chibon
67844b4504 basessh/distgit: adjust the way ssh is configured for distgit
Basically, we are now installing a small wrapper in /usr/local/bin
which just echoes to stdout what should be in the authorized_keys
file for that user.
That content is generated by retrieving the ssh key from sssd via
the command sss_ssh_authorizedkeys as well as the usual ssh way to
restrict the action an user/key can do: command="...".
In this case, we're setting a couple of environment variable that
are needed later on for things to work properly as well as only
allow the user to call the aclchecker.py script provided by pagure.

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-04-03 19:01:38 +02:00
Pierre-Yves Chibon
0597180571 fedocal: look at deploying in openshift prod
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-04-02 11:18:26 +02:00
Pierre-Yves Chibon
4f103bce5c fedocal: in openshift retrieve the agreements rather than CLA - new AAA
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-04-02 11:17:07 +02:00
Pierre-Yves Chibon
329cdbc683 fedocal: build from debug again...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-04-02 10:30:03 +02:00
Pierre-Yves Chibon
d509f740b0 fedocal: build from the staging branch in staging
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-04-02 09:55:00 +02:00
Kevin Fenzi
373c11458c openqa_lab_workers: add a ipa group for access with sysadmin-qa
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-04-01 17:48:19 -07:00
Adam Williamson
cd09666b16 Try and fix cecert definitions for openQA lab/stg
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-04-01 17:18:57 -07:00
Kevin Fenzi
c1324ea2bf resultsdb: this host has vpn
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-04-01 16:56:02 -07:00
Kevin Fenzi
b4df850535 Revert "hosts: then and if swapped?"
This reverts commit b8f411c96b.
2021-04-01 16:47:21 -07:00
Adam Williamson
dffebd91fe Update openQA builds for staging again, right this time
They're going to u-t too, but I want to deploy them without
waiting.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-04-01 16:28:46 -07:00
Kevin Fenzi
b8f411c96b hosts: then and if swapped?
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-04-01 16:16:23 -07:00
Nils Philippsen
05f399851e ipa/client: Don't apply hosts role on non-VPN hosts
We don't want a custom /etc/hosts installed on every host, so bring back
the conditional.

Improves commit 7a2024398f.

Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-04-02 00:13:18 +02:00
Kevin Fenzi
cdd7d76183 proxy06: remove duplicate dns variables
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-04-01 10:13:58 -07:00
Nils Philippsen
7a2024398f hosts: do the right thing for VPN hosts
Move the vpn ./. base logic from the ipa/client role into the hosts
role, so that applying the latter doesn't apply the base profile on VPN
hosts.

Fixes: fedora-infrastructure#9822

Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-04-01 16:31:59 +02:00
Nils Philippsen
6811f7df63 make-people-page: Update copyright statements
Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-04-01 10:05:30 +00:00
Nils Philippsen
1567f4d587 make-people-page: Remove stray trailing semicolon
Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-04-01 10:05:30 +00:00
Nils Philippsen
d80642e913 make-people-page: Move filtering out of template
Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-04-01 10:05:29 +00:00
Nils Philippsen
03beee66af make-people-page: Catch some common problems
Skip over home directories which are unowned or owned by someone else
than the user, or if the user themselves is unknown, and report.

Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-04-01 10:05:29 +00:00
Nils Philippsen
84a5c6db9e make-people-page: Loop over directories, not users
With IPA, enumerating users isn't easy and potentially expensive. Loop
over home directories instead. In the course, use pathlib.Path instead
of legacy interfaces for paths and pwd.getpwnam() to get information
about users instead of spawning external pipes.

Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-04-01 10:05:29 +00:00
Nils Philippsen
1ad70d6c81 make-people-page: Use renamed logotext image
And use the Fedora blue as the background color of the page header.

Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-04-01 10:05:29 +00:00
Nils Philippsen
a64eb7b65e make-people-page: Import one item per line
Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-04-01 10:05:29 +00:00
Nils Philippsen
440c7c7c1b make-people-page: Use Python 3
Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-04-01 10:05:29 +00:00
Pavel Raiskup
e7c08e5d33 copr-fe: use bash_profile, not bashrc 2021-04-01 11:30:03 +02:00
František Zatloukal
8dec01cb93 Revert "oraculum: Use a different branch on stg for test"
This reverts commit 48af0e1675.
2021-04-01 11:09:51 +02:00
Pavel Raiskup
de6b2cd7b0 copr-fe: typo in PG history file create 2021-04-01 10:53:16 +02:00
Pavel Raiskup
5184a2d111 copr-fe: fix creation of postgresql history file 2021-04-01 10:43:13 +02:00
Pavel Raiskup
00c619b151 copr-fe: allow easy PostgreSQL connection to copr-fe user 2021-04-01 10:30:05 +02:00
Pavel Raiskup
bc8b471253 copr-be-dev: try to enable messaging 2021-04-01 09:08:47 +02:00
Pavel Raiskup
5a61d7f43d copr-be: never regress back to old novaclient
We should really pay attention to use newer novaclient in the future,
when we get back to some OpenStack cloud.
2021-04-01 09:02:07 +02:00
Patrick Uiterwijk
8979bb9a05 Import pre-prod bugzilla SAML data
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2021-04-01 07:35:24 +02:00
Kevin Fenzi
f3eb7ccaf8 ipa / client / sssd: ignore the named user in ipa as well to make named work on nameservers
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-03-31 17:09:02 -07:00
Kevin Fenzi
eeb798c778 os-nodes / staging: double memory and cpu
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-03-31 17:07:56 -07:00