Commit graph

590 commits

Author SHA1 Message Date
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
Aurélien Bompard
c9a1543185 Create a command playbook to delete a rabbitmq queue 2019-02-28 12:15:50 +00:00
Randy Barlow
ab31dee7e8 Upgrade production to bodhi-3.11.0-3.fc29.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2018-11-19 14:22:02 +00:00
Kevin Fenzi
e4dffc2030 include vars 2018-11-09 22:14:58 +00:00
Kevin Fenzi
9ca8bba750 enable this role again 2018-11-09 21:08:16 +00:00
Randy Barlow
534c6755fe Does register on skipped tasks unregister the variable?
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2018-11-09 20:54:43 +00: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
Randy Barlow
92575354b5 Use Python 3 in Bodhi's upgrade playbook for staging.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2018-11-08 17:27:49 +00:00
Mikolaj Izdebski
7193f05083 Koji stg sync: remount /mnt/koji on ODCS frontend too 2018-11-06 09:54:43 +00:00
Randy Barlow
f52dc7a3ea Revert "Temporarily disable the composes check."
This reverts commit b7daa5a138.
2018-11-01 20:15:40 +00:00
Randy Barlow
b7daa5a138 Temporarily disable the composes check.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2018-11-01 19:34:25 +00:00
Randy Barlow
f722b35cd5 python2-fedmsg-atomic-composer is no longer used or available.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2018-11-01 13:53:44 +00:00
Mikolaj Izdebski
64d1054912 Fix a typo in SQL 2018-11-01 01:34:03 +00:00
Mikolaj Izdebski
23c535975e Delete host_config entries before deleting host 2018-11-01 01:32:02 +00:00
Mikolaj Izdebski
1c65b0c624 Koji host_channels is now a versioned table too 2018-11-01 01:26:04 +00:00
Mikolaj Izdebski
83267309be Fix a typo 2018-11-01 01:20:19 +00:00
Mikolaj Izdebski
eba9bd03ea Koji host arches belong in host_config now 2018-11-01 01:17:38 +00:00
Mikolaj Izdebski
5dfd44ca88 Koji host configuration was split to versioned host_config table 2018-11-01 01:08:30 +00:00
Mikolaj Izdebski
4321755fb3 staging-sync/koji: Fail on psql errors 2018-11-01 01:00:21 +00:00
Kevin Fenzi
e4a51f0a5d try this one 2018-10-31 22:07:39 +00:00
Kevin Fenzi
0aa0126116 include vars on the play level 2018-10-31 21:57:11 +00:00
Kevin Fenzi
d1f0769ffb try this 2018-10-31 21:53:42 +00:00
Randy Barlow
14c3a5dc14 Try one more syntax for include_vars.
I do not know what I am doing.

Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2018-10-31 21:50:34 +00:00
Randy Barlow
160e36bd6c Try a different syntax on the include_vars.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2018-10-31 21:49:21 +00:00
Kevin Fenzi
dfd5abaf68 try and include vars here 2018-10-31 21:43:18 +00:00
Kevin Fenzi
84af1a4e2d remove bodhi2 group from manual package updates 2018-10-31 21:36:09 +00:00
Stephen Smoogen
3e3632fa62 fix all playbooks so that yumrepos is a pre_task 2018-10-31 15:38:38 +00:00
Kevin Fenzi
b2ff9078f2 Clean up non openshift anitya in favor of openshift version. 2018-10-06 00:11:10 +00:00
David Shier
c0f45892ff Removed all traces i could fild of the tagger and statscache (and stats_cache for databases) in ansible, proxy configs, and the nagios config. Pursuant to request in pagzre issue https://pagure.io/fedora-infrastructure/issue/7267 . - Odin2016 2018-10-03 17:50:38 +00:00
Clement Verna
913ff566ec Add a tag to rebuild the search index
Signed-off-by: Clement Verna <cverna@tutanota.com>
2018-09-26 09:13:37 +02:00
Jan Kaluža
d9191fee97 ODCS: Use fedmsg-hub-3 also in manual upgrade playbook. 2018-08-30 13:48:02 +00:00
Mikolaj Izdebski
9f8b52eb32 Copr upgrade: don't stop httpd unless packages were actually upgraded 2018-08-27 19:30:08 +00:00
Mikolaj Izdebski
dbf227b155 Add copr upgrade playbook 2018-08-27 14:25:37 +00:00
Kevin Fenzi
49b55c8d46 disable sigul-server role for now until we land 1.0 stuff 2018-08-24 22:04:28 +00:00
Randy Barlow
7c9d54cc6f Don't worry about interrupting composes in staging Bodhi.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2018-08-22 19:04:29 +00:00
Kevin Fenzi
fe70c2cb9f this is a variable, not a string 2018-07-25 18:03:53 +00:00
Patrick Uiterwijk
12037c9188 Do not use slashes in suffix
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-07-25 17:48:11 +00:00
Adam Williamson
5af3c19681 Let's just have one of those playbooks...
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-07-24 12:47:08 -07:00
Adam Williamson
ab7d81f822 Add convenience playbooks for restarting openQA worker services
This is something I have to do every so often and it's an awful
pain doing it by hand these days given how many boxes there are,
so this seems smarter...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-07-24 12:43:44 -07:00
Rick Elrod
4a60ddc875 Nuke pkgdb some more... and probably break everything.
Signed-off-by: Rick Elrod <relrod@redhat.com>
2018-07-19 20:40:14 +00:00
Michael Scherer
a726d457f0 Do not use a predictable directory name
This is a potential security issue since /var/tmp is world writable,
and so /var/tmp/badges-tempdir could be prefilled with a malicious
repo. Malicious meaning:
   - one that would have open permission (so git pull do not fail)
   - with a hook triggered on update of the git repo (like pre-rebase)

Since the playbook is running as root, this is bad (tm)
2018-07-11 11:40:35 +02:00
Mikolaj Izdebski
7a6d0c6caf Inhibit warnings about running dnf directly during Koschei upgrade 2018-07-10 17:14:35 +00:00
Kevin Fenzi
5afb825376 add some infrastructure for delete request handling 2018-06-19 18:14:45 +00:00
Jeremy Cline
bf5d428985 Bump the worker count to 6 for FMN 2018-06-11 19:07:52 +00:00
Jan Kaluža
683c3023f9 Uprade odcs-stg to latest ODCS 2018-05-28 08:25:38 +00:00
Mikolaj Izdebski
30533d7315 Create /mnt/koji/compose/updates in stg koji 2018-05-22 21:33:35 +00:00