Commit graph

418 commits

Author SHA1 Message Date
Jeremy Cline
0d1517e203 Make the fmn upgrade playbook work with f26 and fmn-2.0
Signed-off-by: Jeremy Cline <jeremy@jcline.org>
2017-10-31 20:30:57 +00:00
Jan Kaluža
8c2e2d7e20 Ensure the odcs-backend is started after an upgrade 2017-10-31 13:41:34 +00:00
Jan Kaluža
9b716b5b4b Set back to False 2017-10-31 13:23:43 +00:00
Patrick Uiterwijk
9cb785a853 Use the package: module
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-10-31 09:29:20 +00:00
Patrick Uiterwijk
60b34a0d32 Use DNF for odcs
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-10-31 09:25:27 +00:00
Patrick Uiterwijk
f8d55e697b Infra-tags-stg is always enabled on staging machines
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-10-31 09:22:40 +00:00
Jan Kaluža
a04b8ff097 Add missing double-quotes 2017-10-31 07:31:22 +00:00
Jan Kaluža
a358ae39f2 Set testing to True when running on staging 2017-10-31 07:25:02 +00:00
Ralph Bean
654c94f105 Only one play needs odcs_migrate_db, not all. 2017-10-30 15:05:06 +00:00
Nick Bebout
629a22835c Update to new badges repo 2017-10-28 23:58:26 +00:00
Patrick Uiterwijk
7eec48adc6 s/include/import/
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-10-27 16:08:11 +00:00
Ralph Bean
b403eb2d36 Make super sure that fedmsg-hub isn't running on the mbs-frontend. 2017-10-26 14:13:47 +00:00
Kevin Fenzi
afef097a3d switch all the include tasks to import tasks 2017-10-17 17:37:03 +00:00
Kevin Fenzi
d9ee0059b4 typo on a massive scale 2017-10-15 20:33:11 +00:00
Kevin Fenzi
69fd8d117a switch all the handlers to import and drop the global static import 2017-10-15 20:29:59 +00:00
Kevin Fenzi
ceff9bfca4 first stab at replacing include with include_playbook or includ_tasks 2017-10-15 19:46:08 +00:00
Randy Barlow
e2baeff4d4 Use dnf instead of yum in the Bodhi upgrade playbook.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2017-10-12 15:02:09 +00:00
48746debfe Fix the fedimg upgrade playbook
Signed-off-by: Sayan Chowdhury <sayanchowdhury@fedoraproject.org>
2017-10-10 08:56:46 +00:00
f4b345c5de fedimg: Upgrade the fedfind package for the fedimg boxes also
Signed-off-by: Sayan Chowdhury <sayanchowdhury@fedoraproject.org>
2017-10-10 08:50:05 +00:00
Kevin Fenzi
08113b252a drop all the arm01, arm02, arm04 instances 2017-10-09 20:30:25 +00:00
4065e788c2 autocloud: Update python2-fedfind along with other autcloud pkgs
Signed-off-by: Sayan Chowdhury <sayanchowdhury@fedoraproject.org>
2017-10-09 18:43:55 +00:00
Ralph Bean
892b773685 Force cache update in koji upgrade playbook. 2017-10-06 17:03:50 +00:00
Patrick Uiterwijk
a8217487d4 Make sure kojira survives prod -> stg sync
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-10-05 16:52:29 +00:00
Ralph Bean
fdbd630824 Replace old testing repo name with new tags-stg repo name. 2017-09-26 15:00:57 +00:00
Ralph Bean
601d134f8c Fix this service name in the odcs upgrade playbook. 2017-09-26 14:53:00 +00:00
Ralph Bean
c6ebcdb2e0 Copy/pasta fix. 2017-09-25 18:59:12 +00:00
Ralph Bean
1b73864474 Add a odcs upgrade playbook, for the future. 2017-09-25 18:58:13 +00:00
Mikolaj Izdebski
aa3a8f63c7 New way of running Koschei DB migrations 2017-09-21 06:51:48 +00:00
c4b91d3892 Omit python from the package name 2017-09-19 10:16:06 +00:00
11c07c32e5 Update the fedimg playbook to update the fedfind package 2017-09-19 10:04:45 +00:00
Pierre-Yves Chibon
d434e8d6c9 Adjust the update-packages playbook for the infrastructure-tags-stg repo 2017-09-05 11:59:08 +02:00
Jeremy Cline
c30d86292f Run database migrations on the stage version of fmn
Signed-off-by: Jeremy Cline <jeremy@jcline.org>
2017-08-17 17:51:02 +00:00
Patrick Uiterwijk
aa8c35358d Also do autosign-stg
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-08-16 18:56:40 +00:00
Randy Barlow
1bfd7d53ea Bodhi's upgrade playbook now enables infrastructure-tags-stg repo.
The repo used to be called infrastructure-testing, but it seems to
have been renamed to infrastructure-tags-stg. This commit adjusts
the playbook to use the new name.

Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2017-08-07 13:35:42 +00:00
Ralph Bean
db391b08ee Some TODOs for next time. 2017-08-02 00:15:24 +00:00
Ralph Bean
0ac3442582 Typofix. 2017-08-01 21:27:21 +00:00
Ralph Bean
8d7256d311 Use explicit subpackage names, to be safe. 2017-08-01 15:51:55 +00:00
Ralph Bean
657036d6c3 Reorganize restarts based on feedback from dgilmore. 2017-08-01 15:51:05 +00:00
Ralph Bean
2c0e8e5d3f Use latest, just to be sure. 2017-08-01 13:25:56 +00:00
Ralph Bean
f0782cda43 Better to run from /srv/web/infra/ansible. 2017-08-01 13:23:58 +00:00
Ralph Bean
384728efdf Typo fix. 2017-08-01 13:16:18 +00:00
Ralph Bean
17a26e637b Nagios up/down. 2017-08-01 13:16:13 +00:00
Ralph Bean
dbf55ff5b4 First attempt at a koji upgrade playbooks. 2017-08-01 13:13:19 +00:00
Randy Barlow
f10f0e44a7 Raise verbosity of psql in Bodhi's staging sync script.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2017-07-17 21:10:48 +00:00
Randy Barlow
64ab5e3d57 Echo queries to the terminal in Bodhi's drop script.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2017-07-17 20:54:47 +00:00
Randy Barlow
099e2f3357 Revert "Don't exit on error with psql."
This reverts commit 9124a80041.
2017-07-17 20:53:59 +00:00
Randy Barlow
9124a80041 Don't exit on error with psql.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2017-07-17 20:46:15 +00:00
Randy Barlow
44bcc2fda5 Use --set with psql instead of in-lining \set.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2017-07-17 20:37:23 +00:00
Randy Barlow
ad77424231 Configure the db script to use IF EXISTS and exit non-0 on error.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2017-07-17 20:33:17 +00:00
Randy Barlow
63574f9888 Also debug the import script.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2017-07-17 20:04:35 +00:00