Kevin Fenzi
6820860b7b
typos for everyone
2017-02-24 20:21:35 +00:00
Kevin Fenzi
ef51eef219
use the right db host for koji in staging
2017-02-24 20:17:29 +00:00
Kevin Fenzi
bdaaa1c889
reorg the stg builders, adjust koji db sync for BDR
2017-02-24 19:03:07 +00:00
Randy Barlow
165854b53c
Delete the bodhi db dump when we are done with it.
...
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2017-02-23 19:57:56 +00:00
Randy Barlow
68a3ce158e
Insert a newline instead of a literal \n.
...
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2017-02-23 19:52:58 +00:00
Randy Barlow
8523b4cb2a
Don't try to match the \ from \connect.
...
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2017-02-23 19:50:48 +00:00
Randy Barlow
e99a5bfe15
Don't rm the db dump at the end.
...
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2017-02-23 19:46:58 +00:00
Randy Barlow
1cd2468b6a
Remove the db dump when we are done with it.
...
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2017-02-23 19:42:43 +00:00
Randy Barlow
50a1456a4d
Correctly sed the connect statement.
...
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2017-02-23 19:38:42 +00:00
Randy Barlow
7c8993cf4e
Set ddl locking after connecting to bodhi2 and without LOCAL.
...
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2017-02-23 19:32:07 +00:00
Randy Barlow
437c68d5b1
Match the whole line with my sed statement.
...
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2017-02-23 19:20:03 +00:00
Randy Barlow
a1ceb9f28b
Use on instead of true for ddl_locking and dont rm the dump.
...
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2017-02-23 19:16:50 +00:00
Randy Barlow
4ce585e944
Replace CREATE DATABASE with a bdr.permit_ddl_locking statement.
...
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2017-02-23 19:06:36 +00:00
Randy Barlow
13ccff2f33
Use correct syntax to delete rows from bodhi's db in stg sync.
...
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2017-02-23 18:59:21 +00:00
Randy Barlow
2f23271045
Undo the last commit, as it wasn't needed.
...
Apparently unxz removes the compressed file after decompressing it,
so it wasn't necessarily to explictly remove it.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2017-02-23 17:54:25 +00:00
Randy Barlow
b4963b4ce9
Delete the compressed bodhi db dump when done with staging sync.
...
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2017-02-23 17:52:17 +00:00
Randy Barlow
75bcdb3c46
Use pgbdr02 instead of pgbdr01 in Bodhi's staging sync script.
...
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2017-02-23 17:40:30 +00:00
Randy Barlow
5fb8c38b4b
Merge branch 'master' of /git/ansible
2017-02-23 17:31:26 +00:00
Randy Barlow
2f91a810ba
Use the new pgbdr01 host for Bodhi's staging sync script.
...
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2017-02-23 17:31:06 +00:00
Mikolaj Izdebski
6c255a8285
Make it possible to run Koschei upgrade in staging
2017-02-23 16:32:27 +00:00
Jeremy Cline
3aed8bc40e
Restart httpd after anitya frontend upgrade
...
Signed-off-by: Jeremy Cline <jeremy@jcline.org>
2017-02-16 14:16:54 +00:00
Jeremy Cline
a48b2b4446
Update the alembic config location for anitya
...
Signed-off-by: Jeremy Cline <jeremy@jcline.org>
2017-02-16 14:08:22 +00:00
Jeremy Cline
2860686a1f
Use inventory group names in anitya upgrade playbook
...
Signed-off-by: Jeremy Cline <jeremy@jcline.org>
2017-02-16 13:43:51 +00:00
Ralph Bean
999103b7ee
Correct package name.
2017-02-13 19:12:11 +00:00
Ralph Bean
769f697a4d
s/yum/dnf/
2017-02-13 19:03:25 +00:00
Jeremy Cline
ae6fe5e560
Explicitly only use the main repo when not testing
...
When the Anitya package gets updated, only use the main repo when
testing is not on.
Signed-off-by: Jeremy Cline <jeremy@jcline.org>
2017-02-09 21:44:45 +00:00
Jeremy Cline
94e353f1f0
Add a playbook for upgrading Anitya
...
Signed-off-by: Jeremy Cline <jeremy@jcline.org>
2017-02-09 16:29:48 +00:00
Ralph Bean
2dfb4afe05
Typofix in group name.
2017-02-02 13:48:16 +00:00
Ralph Bean
7891bbc817
MBS upgrade playbook.
2017-02-01 11:43:44 +00:00
Michael Simacek
2b23e4675b
koschei staging-sync: unset latest repo
2017-01-24 09:30:53 +01:00
Michael Simacek
4d52a04e85
Drop more tables in staging-sync
2017-01-23 15:56:34 +01:00
Michael Simacek
ff176d9940
First attempt at making koschei staging-sync working again
2017-01-23 15:19:12 +01:00
Aurélien Bompard
24355c520d
First attempt at a staging-sync playbook for Mailman/HK
2017-01-16 18:14:53 +00:00
Ralph Bean
4b19dd111d
Restore mizdebsk. My mistake.
2017-01-12 14:15:36 +00:00
Ralph Bean
4d60856504
Update the list of stg koji admins.
2017-01-12 14:10:28 +00:00
Patrick Uiterwijk
174df6e125
Create keytabs for sigul-bridge and robosignatory
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-12-11 20:16:10 +00:00
Pierre-Yves Chibon
86d13af119
Typi typo
2016-12-05 11:29:47 +01:00
Pierre-Yves Chibon
b32236aa1e
Fix the environment variable and the alembic call
2016-12-05 11:29:01 +01:00
Pierre-Yves Chibon
86fcce15e9
Let's try to adjust the hosts
2016-12-05 11:26:36 +01:00
Pierre-Yves Chibon
5975c42723
Add a playbook to easily upgrade pagure
2016-12-05 11:05:32 +01:00
Pierre-Yves Chibon
8e3813c952
Adjust a little the documentation in playbooks/manual/staging-sync/db-sync.yml
2016-12-02 17:42:08 +01:00
Ralph Bean
5579d8e76b
Make this pretty, for readability.
2016-12-01 17:30:13 +00:00
Randy Barlow
28438e0e13
Re-enable mash lock protection on the bodhi upgrade playbook.
2016-11-30 15:51:42 +00:00
Randy Barlow
d993841e99
Disable the Bodhi mash lockfile upgrade protection.
2016-11-30 15:45:05 +00:00
Kevin Fenzi
ad0fbf4b84
semi colin is no longer used for host/group seperator. Only use :
2016-11-04 18:27:42 +00:00
Kevin Fenzi
b1a2d105c9
In ansible 2.2 always_run is depreciated. Switch to check_mode.
2016-11-01 16:29:49 +00:00
Ralph Bean
a88873dc33
Added a script to create staging modules when requested.
...
For https://pagure.io/fedora-infrastructure/issue/5543
2016-10-31 14:08:06 +00:00
Patrick Uiterwijk
d4d14d0471
Also add krb_principal on koji stg sync
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-10-28 13:27:00 +00:00
Sayan Chowdhury
da01e57907
Add manual upgrade playbook for bugyou
2016-10-28 05:47:59 +00:00
Randy Barlow
b0dd0b25c3
Don't exclude staging from upgrading from main repo for bodhi.
2016-10-27 18:33:55 +00:00