Mikolaj Izdebski
9e4f745cb3
Remove playbooks/manual/upgrade/copr.yml
2019-05-14 10:00:36 +02:00
Randy Barlow
627e815c25
bodhi: Switch the upgrade playbook to use fedora-messaging.
...
Staging now uses fedora-messaging and not fedmsg.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2019-05-13 20:48:44 +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
Jakub Kadlčík
0ddd5823f8
Update cache before trying to update Copr packages
2019-05-05 20:14:26 +02:00
Jakub Kadlčík
96de11a1bf
Create manual playbooks for upgrading Copr instances
...
There is a problem with our current playbooks, that they can be
executed automatically without us knowing about it. That is an issue
particularly during release process because we can prepare new
packages into infra-tags repo or bodhi and a nightly reprovision
can upgrade to them outside of an outage window or any of us being
prepared for it.
Therefore `groups/copr-*.yml` playbooks *should not* upgrade any
packages, but only ensure, that those packages are installed. For
upgrade, there should be separate `manual/copr/copr-*-upgrade.yml`
playbooks. Because they are located under `manual` directory, it
is secured, that they can't be run automatically.
2019-05-01 18:39:27 +02:00
Stephen Smoogen
d8a12827e1
[pagure/upgrade] Make it clear we stop ALL workers before the upgrade. Put in TODO for future work
2019-04-08 14:03:32 +00:00
Stephen Smoogen
4fd801d09d
[pagure/upgrade] Make httpd stop explicite.
...
I moved the httpd down from a pre task to where it is currently running
so that it will not break.
Signed-off-by: Stephen Smoogen <smooge@redhat.com>
2019-04-08 13:37:51 +00:00
Stephen Smoogen
809f5758ec
[pagure/upgrade] Put in basic comments to show when file was last confirmed ot work
2019-04-08 13:19:56 +00:00
Stephen Smoogen
7611b5063c
[pagure] Fix upgrade script to cover newer pagure
...
The manual/upgrade/pagure.yml was written for older pagure and changes
in the environment require updates to our infrastructure. This will
hopefully make upgrades more repeatable.
Signed-off-by: Stephen Smoogen <smooge@redhat.com>
2019-04-05 13:54:37 +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
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