Commit graph

34634 commits

Author SHA1 Message Date
Kevin Fenzi
ca10e37592 playbooks / staging: adjust playbooks for staging to configure fedmsg if needed
When we setup things we didn't setup fedmsg in iad2 staging.
Now we are using it, so we should configure it until we get rid of it.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-03-01 14:51:09 -08:00
Kevin Fenzi
74591e19b5 filter_plugins / fedmsg: try and make staging only talk to staging hosts
I think the only reason this worked in phx2 was because we also had a
firewall rule that was blocking the staging subnet on all prod machines.
Instead of doing that here, lets just make fedmsg only deal with the
staging hosts in staging. The only thing this might break is things that
aren't in staging_friendly that should be.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-03-01 14:34:41 -08:00
Owen W. Taylor
7c245c1acf flatpak-indexer: fix project name in redis URL 2021-03-01 16:35:18 -05:00
Owen W. Taylor
30a8d3a72d flatpak-indexer: use stringData not data in secret.yml
This matches what we do for other applications.
2021-03-01 16:32:15 -05:00
Owen W. Taylor
bbfe6e38fd flatpak-indexer: fix environment variable name for redis password
Match the environment variable in the deploymentconfig to that used
in the configmap (REDIS_PASSWORD)

Signed-off-by: Owen W. Taylor <otaylor@fishsoup.net>
2021-03-01 11:54:00 -05:00
Owen W. Taylor
3f7de2e870 flatpak-indexer: fix typo in image change trigger for flatpak-indexer
The 'containerNames' parameter was incorrectly cut-and-pasted from
the flatpak-indexer-differ deployment config.

Signed-off-by: Owen W. Taylor <otaylor@fishsoup.net>
2021-03-01 11:54:00 -05:00
Pierre-Yves Chibon
8b39d13364 pagure/dist-git: Adjust the IP list allowed on the internal endpoint - again
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-03-01 17:26:47 +01:00
Pierre-Yves Chibon
caa8b7054a pagure/dist-git: Adjust the IP list allowed on the internal endpoint
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-03-01 17:02:50 +01:00
Pierre-Yves Chibon
40bfa1604b distgit/pagure: Let pagure to manage ssh keys in stg
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-03-01 16:36:20 +01:00
Pierre-Yves Chibon
0d1d2aace5 distgit/pagure: create the git user and add it to the packager group
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-03-01 16:25:10 +01:00
Pierre-Yves Chibon
ac2c21ca4a distgit/pagure: in stg we'll use the git user now
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-03-01 16:17:57 +01:00
Pierre-Yves Chibon
218d692b85 dist-git/pagure: configure pagure to allow access via a single git user for everyone
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-03-01 13:21:25 +01:00
Pierre-Yves Chibon
a3677b36a1 distgit: start working on moving dist-git to use git@ for ssh
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-03-01 13:16:18 +01:00
Pierre-Yves Chibon
08feacbdce toddlers: Drop a couple of email overrides that toddlers found as being no longer valid
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-03-01 09:48:59 +01:00
Grayson Penland
d43f667ab0 Add myself to admins
I'm adding myself to tahrir.admin as per nb s suggestion
2021-02-26 16:04:12 +00:00
Owen W. Taylor
2e59f661ab flatpak-indexer: fix volumeName for flatpak-indexer-storage
The volumeName was a cut-and-paste error from flatpak-indexer-storage-redis

Signed-off-by: Owen W. Taylor <otaylor@fishsoup.net>
2021-02-25 15:33:52 -05:00
Owen W. Taylor
6378b75d37 flatpak-indexer: Update source reference
Pull in commit 17dab90f206:

 redis/Dockerfile: loosen the permissions on etc/redis

Signed-off-by: Owen W. Taylor <otaylor@fishsoup.net>
2021-02-25 15:32:47 -05:00
Owen W. Taylor
636d797c0b flatpak-indexer: fix kind for flatpak-indexer-build
Should be ImageStreamTag not ImageStream. We ended up with a destination
of flatpak-indexer:latest:latest, when a default tag of :latest was added.

Signed-off-by: Owen W. Taylor <otaylor@fishsoup.net>
2021-02-25 14:42:31 -05:00
Stephen Smoogen
49c0a2d134 FBR: Add in dhcp/bastion host for rdu-cc networks.
This should set up the bridge and controls on the new vmhosts in
RDU-CC so that we can deploy a dhcp host which will allow mgmt to be
brought up for power and similar hardware.

Signed-off-by: Stephen Smoogen <ssmoogen@redhat.com>
2021-02-25 17:45:14 +00:00
Stephen Smoogen
3fa0e1d883 This adds a config file for Fedora 33 osbs systems so that they do not
try to bind to the master interfaces when osbs is also wanting to use
dynamic binding.

Signed-off-by: Stephen Smoogen <ssmoogen@redhat.com>
2021-02-25 17:32:05 +00:00
Owen W. Taylor
39472fb526 flatpak-indexer: fixes for flatpak-indexer-build
* Output the build to the correct imagestream - it was outputing
  to the flatpak-indexer-tardiff stream from a cut-and-paste mistake
* Add a ImageChange trigger for the from: image - we want to trigger
  a rebuild if the ubi8/python-38 image changes by itself, even if
  the flatpak-indexer-tardiff image where we get the tardiff binary from
  isn't rebuilt.

Signed-off-by: Owen W. Taylor <otaylor@fishsoup.net>
2021-02-25 12:04:00 -05:00
Michal Konečný
0e509bde17 release-monitoring: Change permanent session lifetime to 1 day
After the discussion in
https://github.com/fedora-infra/anitya/issues/340 this commit will
change the session lifetime back to 1 day.

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2021-02-24 16:34:09 +00:00
Owen W. Taylor
e2d5093aee Update storage configuration
* Specify a volumeName for the persistant volume claims (on initial deploy
  to staging, these PVC's got bound to random volume...)
* Name the PVC's to exactly match the volume names, including a -stg suffix
  for staging
* Reduce the requested size for the redis volume to 1Gi.
2021-02-24 16:29:09 +00:00
Owen W. Taylor
1acc6aeade openshift-apps/flatpak-indexer: Remove a reference to a non-existent secret volume
The deployment config for flatpak-indexer referenced a secret volume that
in the Red Hat internal deployment of flatpak-indexer holds a client certificate,
but is not needed for Fedora.

Signed-off-by: Owen W. Taylor <otaylor@fishsoup.net>
2021-02-24 16:29:09 +00:00
Pierre-Yves Chibon
96e6ccbe61 toddlers: fix typo, staging is not a variable
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-02-24 12:00:26 +01:00
Owen W. Taylor
32ba71a9b8 openshift-apps/flatpak-indexer: fix wrong URL to upstream repo
One of the references to the upstream repository referenced
https://pagure.io/flatpak-indexer, but at least for now, the code
lives at https://github.com/owtaylor/flatpak-indexer.

Signed-off-by: Owen W. Taylor <otaylor@fishsoup.net>
2021-02-23 16:28:50 -05:00
Brendan Reilly
055cdb614f Fix celery config for MBS 2021-02-23 18:18:57 +00:00
46c4f7925b F34 Bodhi Activation Point
Signed-off-by: Tomas Hrcka <thrcka@redhat.com>
2021-02-23 11:09:53 +01:00
Mohan Boddu
67c42a5060 Enabling autosigning on f35-openh264
Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
2021-02-22 18:17:45 -05:00
Stephen Smoogen
451f439d49 uncomment vmhost-x86-11.stg.iad2. 2021-02-22 17:02:46 -05:00
Stephen Smoogen
72f7f03220 Add in builders for buildhw-a64-2[1234] 2021-02-22 13:47:12 -05:00
Stephen Smoogen
b4832eb4c9 Merge remote-tracking branch 'upstream/main' into main 2021-02-22 13:43:41 -05:00
Stephen Smoogen
f814f3cbc9 Add in the hosts for bvmhosts-a64 and other builders 2021-02-22 12:15:15 -05:00
Mark O'Brien
a511a0301d mailman01: hostvars for stg iad2 2021-02-22 10:26:01 -05:00
Mark O'Brien
ea5b024dbc redeploy proxy33/39 with new AMI 2021-02-22 10:26:01 -05:00
Aurélien Bompard
7526b44d67 Missed that one
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-02-22 10:26:01 -05:00
Aurélien Bompard
d9bd5287ab Try to bring back Mailman in staging
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-02-22 10:26:01 -05:00
Aurélien Bompard
f17dc57b43 Create the sysadmin-main group in IPA
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-02-22 10:26:01 -05:00
Kevin Fenzi
70d9f69a00 koji / kojira: switch back to the shipped version of kojira
We had a patched version, but the patches have been merged upstream so
we should switch back to using the 'stock' kojira.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-02-22 10:26:01 -05:00
Nils Philippsen
c2530541f1 ipa/client: Ignore hosts still hooked up with FAS
This is necessary because:

- The ipa/client role is pulled in if only one host is in the play which
  uses it.
- The prepare-ipa-info tasks operate on all hosts in the play in order
  to gather together operations on the IPA server which would otherwise
  be (potentially, unnecessarily) repeated for many hosts in the play
  and which have to be serialized to avoid race conditions when changing
  data in IPA.

For now, we set `primary_auth_source` to `fas` for `all`, and to `ipa`
for the `staging` group. We can set this to `ipa` for individual host
groups in prod to enable this piece meal while we roll out the change.

Fixes: https://pagure.io/fedora-infrastructure/issue/9674

Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-02-22 10:26:00 -05:00
ee519289a2 Stop building iot out of the old repo
1. iot.fedoraproject.org now points to getfedora.org/iot
2. The iot directory was removed from the old repo anyway

Signed-off-by: Ben Cotton <bcotton@fedoraproject.org>
2021-02-22 10:26:00 -05:00
Mark O'Brien
b4ffd1d69d mailman01: hostvars for stg iad2 2021-02-22 11:33:32 +00:00
Mark O'Brien
670c68715a redeploy proxy33/39 with new AMI 2021-02-22 11:31:32 +00:00
Aurélien Bompard
a5592f8fb4
Missed that one
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-02-22 10:51:03 +01:00
Aurélien Bompard
3ef3d39409
Try to bring back Mailman in staging
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-02-22 10:38:26 +01:00
Aurélien Bompard
fe455c8017
Create the sysadmin-main group in IPA
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-02-22 10:37:18 +01:00
Kevin Fenzi
e31ecea1c8 koji / kojira: switch back to the shipped version of kojira
We had a patched version, but the patches have been merged upstream so
we should switch back to using the 'stock' kojira.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-02-19 14:28:26 -08:00
Nils Philippsen
523b53e67f ipa/client: Ignore hosts still hooked up with FAS
This is necessary because:

- The ipa/client role is pulled in if only one host is in the play which
  uses it.
- The prepare-ipa-info tasks operate on all hosts in the play in order
  to gather together operations on the IPA server which would otherwise
  be (potentially, unnecessarily) repeated for many hosts in the play
  and which have to be serialized to avoid race conditions when changing
  data in IPA.

For now, we set `primary_auth_source` to `fas` for `all`, and to `ipa`
for the `staging` group. We can set this to `ipa` for individual host
groups in prod to enable this piece meal while we roll out the change.

Fixes: https://pagure.io/fedora-infrastructure/issue/9674

Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-02-19 22:13:18 +00:00
Stephen Smoogen
adcc3b584e fix bvmhost-x86-05.stg.iad2.fedoraproject.org router to be correct network 2021-02-19 16:50:58 -05:00
Stephen Smoogen
6f9f670e73 fix bvmhost-x86-05.stg.iad2.fedoraproject.org router to be correct network 2021-02-19 16:50:34 -05:00