Commit graph

242 commits

Author SHA1 Message Date
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
Mikolaj Izdebski
6cc4dd88b3 openshift-apps/koschei/job: Label loop elements 2020-04-24 21:34:10 +02:00
Mikolaj Izdebski
4eff6615bf Koschei: refactor staging sync playbook 2020-04-24 21:34:10 +02:00
Mikolaj Izdebski
442401b955 staging-sync/koschei: Rewrite for OpenShift 2020-04-24 21:34:10 +02:00
Mikolaj Izdebski
01453fc961 staging-sync/koschei: Drop support for BDR database 2020-04-24 21:34:10 +02:00
Kevin Fenzi
1eb65f9d8d fas / staging-sync: adjust for fas being in openshift.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:09 +02:00
Aurélien Bompard
8644757f5d Restart the bodhi-consumer pods too when syncing bodhi
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2019-06-21 12:33:03 +00:00
Kevin Fenzi
168644af88 Drop ppc64: Since fedora 28 is end of life and we dropped it for epel6/7, drop ppc64 from all the things.
Remove ppc64-test instance in cloud.
Remove template conditionals that no longer apply since ppc64 is gone.
Remove buildvm-ppc64 instances.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-06-15 19:50:36 +00:00
Randy Barlow
19291eb169 bodhi: Fix some more group names with dashes.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2019-05-21 15:27:42 +00:00
Kevin Fenzi
3a907f13bd ansible: Try and mass fix all the manual playbooks to use _ instead of - in group names.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-21 14:49:37 +00:00
Randy Barlow
f503a47536 bodhi: Switch staging-sync playbook to use fedora-messaging.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2019-05-13 20:47:27 +00:00
Mikolaj Izdebski
f65009a66f staging-sync/koji: Create backup PostgreSQL role 2019-03-13 10:43:24 +01:00
Mikolaj Izdebski
65bc0b1bb3 staging-sync/koji: connect to postgres db when restoring production db dump 2019-03-12 22:57:31 +01:00
Mikolaj Izdebski
47b9c9a42b Revert "staging-sync/koji: don't set ON_ERROR_STOP=1 postgres variable"
This reverts commit b6bcde72d6.
2019-03-12 22:46:58 +01:00
Mikolaj Izdebski
b6bcde72d6 staging-sync/koji: don't set ON_ERROR_STOP=1 postgres variable 2019-03-08 09:17:06 +01:00
Mikolaj Izdebski
6edc8d918f staging-sync/koji: adjust mbuffer settings 2019-03-08 09:10:18 +01:00
Randy Barlow
b8eb958251 Use Python 3 in Bodhi's staging sync playbook.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2018-11-08 17:29:40 +00:00