Commit graph

294 commits

Author SHA1 Message Date
Ralph Bean
dbf55ff5b4 First attempt at a koji upgrade playbooks. 2017-08-01 13:13:19 +00:00
Randy Barlow
959b34e8ae Use /etc/bodhi/alembic.ini on production upgrades.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2017-06-20 22:42:48 +00:00
Jeremy Cline
3263b7b76c Adjust the notifs roles for the new release
The new release of fmn merges fmn.web with fmn and several paths need
adjusting.

Signed-off-by: Jeremy Cline <jeremy@jcline.org>
2017-06-20 14:40:29 +00:00
Randy Barlow
37d3a96893 Bodhi 2.8.0's alembic.ini is moved to /etc/bodhi.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2017-06-16 22:00:06 +00:00
c5a1e65085 fedimg: explicitly install python2-libcloud
Signed-off-by: Sayan Chowdhury <sayanchowdhury@fedoraproject.org>
2017-06-16 08:21:42 +00:00
33e589722c fedimg: don't skip pull python-libcloud from epel-testing
Signed-off-by: Sayan Chowdhury <sayanchowdhury@fedoraproject.org>
2017-06-16 07:26:22 +00:00
d1330d831d fedimg: s/infrastructure/epel/
Signed-off-by: Sayan Chowdhury <sayanchowdhury@fedoraproject.org>
2017-06-16 07:13:24 +00:00
eb74251c04 fedimg: upgrade python-libcloud also from infra repo for now
Signed-off-by: Sayan Chowdhury <sayanchowdhury@fedoraproject.org>
2017-06-16 07:08:41 +00:00
Pierre-Yves Chibon
07d7e2e2d1 Update the pagure upgrade playbook to make it up to date 2017-06-07 12:24:56 +02:00
Jeremy Cline
6c8f5e2e81 Install FMN from epel-testing in staging
Signed-off-by: Jeremy Cline <jeremy@jcline.org>
2017-06-01 14:11:37 +00:00
Jeremy Cline
71de1cd8ea Revert "Revert "Adjust the FMN roles and playbook for FMN 1.2""
This reverts commit b6baefa344.

Conflicts:
	playbooks/manual/upgrade/fmn.yml
	roles/notifs/backend/tasks/main.yml
2017-05-15 21:52:38 +00:00
Jeremy Cline
4233f7536b fix python-fmn to python2-fmn
Signed-off-by: Jeremy Cline <jeremy@jcline.org>
2017-05-15 21:16:15 +00:00
Jeremy Cline
b6baefa344 Revert "Adjust the FMN roles and playbook for FMN 1.2"
This reverts commit f44727c3e2.
2017-05-15 21:09:11 +00:00
Jeremy Cline
f44727c3e2 Adjust the FMN roles and playbook for FMN 1.2
Signed-off-by: Jeremy Cline <jeremy@jcline.org>
2017-05-15 20:12:15 +00:00
Randy Barlow
36f735c243 Run the alembic upgrade on bodhi-backend01.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2017-04-17 22:24:29 +00:00
Kevin Fenzi
0acfaa2a7e Fix handlers, roles, and tasks to be handlers_path, roles_path and tasks_path so as not to conflict with ansible variables.
Fix duplicate definition of become default that was in group_vars/all as well as vars/global.
2017-04-13 15:46:14 +00:00
Randy Barlow
dfcb50f1e2 Also update python2-fedmsg-atomic-composer when updating bodhi.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2017-04-11 13:28:53 +00:00
Jeremy Cline
b1d69ac2bc Update the FMN role and playbook for 1.2.0
Packages have been combined, some new configuration files are required,
and database migrations have been relocated.

Signed-off-by: Jeremy Cline <jeremy@jcline.org>
2017-04-10 19:42:22 +00:00
Randy Barlow
91650b3178 Configure production Bodhi to host its docs.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2017-04-10 13:17:27 +00:00
Ralph Bean
725f2d2238 Wrong command. 2017-03-16 16:48:15 +00:00
Randy Barlow
b6c58a4275 Only install configure docs on staging for now.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2017-03-08 21:20:24 +00:00
Randy Barlow
2e32219183 Serve bodhi's docs at /docs.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2017-03-08 21:04:40 +00:00
Michael Simacek
5d02ce0e63 Use koschei_backend_services variable 2017-03-02 15:48:46 +01:00
Ralph Bean
9523dadd16 Wrong name. 2017-03-01 18:36:27 +00:00
Ralph Bean
e31984a6b0 For mbs upgrades, upgrade this too. 2017-03-01 18:35:52 +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
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
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
b1a2d105c9 In ansible 2.2 always_run is depreciated. Switch to check_mode. 2016-11-01 16:29:49 +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
Michael Simacek
959e864147 Deploy koschei from stable 2016-09-27 09:39:49 +02:00
Randy Barlow
fc6704e6d4 Restore the lockfile check to the bodhi upgrade playbook. 2016-09-26 03:09:01 +00:00
Randy Barlow
aa96ae9697 Stop trying to be clever and just comment the mash lock checker. 2016-09-26 03:03:59 +00:00
Randy Barlow
86c70cd723 Ignore lock files. 2016-09-26 03:02:38 +00:00
Randy Barlow
2e580970b0 Ignore the mash lock file.
Today's mash lock files are from the failed epel*-testing repos.
They are not currently mashing despite their presence, and we want
to deploy bodhi-2.2.2 to production.
2016-09-26 02:59:58 +00:00
Randy Barlow
e4bd3103b1 Do not ignore mashes that are in progress during Bodhi upgrades. 2016-09-20 21:48:33 +00:00