Commit graph

258 commits

Author SHA1 Message Date
Kevin Fenzi
b1b0923af0 openshift 3.11: raise a glass!
Our openshift 3.11 cluster(s) served us long and well.

Now we have everything finally moved to the openshift 4 clusters (fas2
was the last holdout). We can finally retire this. :)

🎉🥂

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-11-28 13:08:01 -08:00
Kevin Fenzi
62edd6c379 koji / staging: bump sequence up some, prod has moved paste this
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-09-21 12:33:20 -07:00
Kevin Fenzi
cd851b9350 koji / staging / sync: add obudai to be able to use osbuild in staging
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-09-21 11:09:36 -07:00
Kevin Fenzi
e63e667a33 Revert "koji / staging / sync: try and adjust to newer db schema"
This reverts commit 4d9a1b07d6.

The problem was a incomplete db dump, so we likely don't need this
change. It should work with a more complete db dump.
2022-09-20 11:36:22 -07:00
Kevin Fenzi
4d9a1b07d6 koji / staging / sync: try and adjust to newer db schema
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-09-20 10:09:23 -07:00
Mikolaj Izdebski
940e193cfd koschei: Update staging sync playbook 2022-06-27 06:54:36 +02:00
f3c79b476a Make bodhi staging sync use the correct db URI
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2022-03-09 19:28:29 +10:00
Eddie Jennings, Jr
1a11a79d05 remove unnecessary file 2021-06-17 17:26:00 +00:00
Eddie Jennings, Jr
32ae94dc2e Update host fqdn 2021-06-16 16:36:16 +00:00
Eddie Jennings, Jr
49145c24b8 update host from phx2 to iad2 2021-06-16 16:34:53 +00:00
Eddie Jennings, Jr
06b1d48ff4 remove unnecessary file 2021-06-16 16:33:18 +00:00
Kevin Fenzi
fd2a8ab38c staging-sync/koji: fix another nfs server case
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-05-23 10:52:37 -07:00
Kevin Fenzi
24def8cd00 staging-sync/koji: nfs is nfs-server now
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-05-23 10:51:01 -07:00
Adam Saleh
dfd5d17e3a Replacing bodhi2_openshift_pods with hardcoded values as the var is not defined anywhere, and it seems to be hardcoded elsewhere. 2021-05-08 10:48:58 +02:00
63015e6bd3 Update bodhi staging sync playbook phx2 -> iad2
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2021-04-19 16:53:58 +00:00
Nils Philippsen
d6cdeb7aea Consistency: releng_stg -> releng_compose_stg
Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-02-01 22:23:41 +00:00
Pierre-Yves Chibon
542cc75a07 koji sync from stg: attempt to fix the migration
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-10-07 16:24:15 +02:00
Pierre-Yves Chibon
f91a80046b Wipe everything that is to do with pdc-backend from our ansible repo
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-10-05 18:57:52 +00:00
Kevin Fenzi
e12535dc89 koji / staging-sync: re-enable arm/ppc builders in the staging sync
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-10-01 17:48:56 -07:00
Pierre-Yves Chibon
2384341514 staging-sync/db-sync: Name a few more tasks to have a nicer output
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-09-16 12:03:06 +02:00
Pierre-Yves Chibon
66cbb8da16 staging-sync/db-sync: Name the task stopping/restarting apache
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-09-16 11:58:52 +02:00
Pierre-Yves Chibon
f755eef97f staging-sync/db-sync: Fix the condition to ensure the server is defined and not null
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-09-16 11:57:22 +02:00
Pierre-Yves Chibon
cf31e3f0c8 staging-sync/db-sync: Point to batcave01 only instead of all the batcaves
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-09-16 11:53:46 +02:00
Pierre-Yves Chibon
e3943b0e52 staging-sync/db-sync: Allow the deletion of the stg database to fail without breaking the playbook
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-09-16 11:53:46 +02:00
Pierre-Yves Chibon
c377f97e50 staging-sync/db-sync: strings need quotes
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-09-16 11:48:41 +02:00
Pierre-Yves Chibon
2046802ec5 staging-sync/db-sync: yet another attempt to make the server argument optional
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-09-16 11:47:28 +02:00
Pierre-Yves Chibon
28e5751542 staging-sync/db-sync: when are not a valid attribute for plays
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-09-16 11:38:21 +02:00
Pierre-Yves Chibon
b4ea291fe9 staging-sync/db-sync: Another attempt to make the server optional
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-09-16 11:37:30 +02:00
Pierre-Yves Chibon
c3ad168fb0 staging-sync/db-sync: stop apache after having dumped the prod db
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-09-16 11:30:23 +02:00
Pierre-Yves Chibon
ca8130bdca staging-sync/db-sync: port the playbook to iad2 and make the server argument optional
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-09-16 11:28:15 +02:00
Kevin Fenzi
5869c9c160 koji prod->stg sync: adjust for new datacenter
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-09-14 16:01:22 -07:00
Mark O'Brien
5aa22c2e02 [koji-iad2] add file for koji db transfer to iad2 2020-06-04 03:54:53 +00:00
Pierre-Yves Chibon
81da617cd2 staging-sync/koji: fix the name of the host groups
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-13 15:57:52 +02:00
Pierre-Yves Chibon
1193ccd63b staging-sync/koji: fix the name of the groups having the koji builders in staging
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-13 15:43:52 +02:00
Pierre-Yves Chibon
41e3162744 staging-sync/koji: umount a few more mounted nfs shares
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-13 12:59:39 +00:00
Pierre-Yves Chibon
653e82b17c koji-reset-staging: Try adjusting the script for koji 1.11 - Take #2
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-12 23:14:05 +02:00
Pierre-Yves Chibon
ce82794c64 koji-reset-staging: Try adjusting the script for koji 1.11
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-12 22:31:12 +02:00
Mikolaj Izdebski
3e8fec7a95 Koschei stage: update rawhide version number 2020-04-24 21:34:23 +02:00
Clement Verna
c6211bbb8e koji stg sync: make sure the prod sync does not break robosignatory in stg.
Fixes https://pagure.io/fedora-infrastructure/issue/8611

Signed-off-by: Clement Verna <cverna@tutanota.com>
2020-04-24 21:34:21 +02:00
Clement Verna
0c7ac2f41a koji sync stg: user_krb_principals uses user_id and not id as a column name
Signed-off-by: Clement Verna <cverna@tutanota.com>
2020-04-24 21:34:21 +02:00
Clement Verna
9b9bffa9e6 koji sync stg: we need to delete hosts in user_krb_principals before users
Signed-off-by: Clement Verna <cverna@tutanota.com>
2020-04-24 21:34:21 +02:00
Clement Verna
3b78584a65 Koji sync stg: create a user for the builders so that we can create the krb_principal for them.
Signed-off-by: Clement Verna <cverna@tutanota.com>
2020-04-24 21:34:21 +02:00
Kevin Fenzi
8f8f928d03 koji sync: the user_kbr_principals table users user_id and not username, update for the change
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:21 +02:00
Kevin Fenzi
899f1c7aa6 koji sync sql: koji 1.19 moved krb to a user_krb_principals table
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:21 +02:00
Kevin Fenzi
60d8bef6a5 manual / staging-sync / koji: use _ in group names for builders too
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:21 +02:00
Kevin Fenzi
ffba2b31f5 manual / staging-sync / koji: use _ in group name
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:21 +02:00
Kevin Fenzi
c1d9e6155c bodhi: Move bodhi_openshift_pods and bodhi_version to os and os_stg and drop the bodhi2 and bodhi2_stg groups again.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:15 +02:00
Mikolaj Izdebski
9d6a733f40 staging-sync/fas: Fix a typo 2020-04-24 21:34:13 +02:00
Aurélien Bompard
fb8b70778a Bodhi 5: stop and start the new service as well during manual operations
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-04-24 21:34:12 +02:00
Aurélien Bompard
e160a30a32 Update Bodhi to 5.0 in staging
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-04-24 21:34:12 +02:00