Commit Graph

47 Commits

Author SHA1 Message Date
Michal Konecny
2ec055db6f Use first uppercase letter for all handlers
This will unify all the handlers to use first uppercase letter for
ansible-lint to stop complaining.

I went through all `notify:` occurrences and fixed them by running
```
set TEXT "text_to_replace"; set REPLACEMENT "replacement_text"; git grep
-rlz "$TEXT" . | xargs -0 sed -i "s/$TEXT/$REPLACEMENT/g"
```

Then I went through all the changes and removed the ones that wasn't
expected to be changed.

Fixes https://pagure.io/fedora-infrastructure/issue/12391

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2025-02-10 20:31:49 +00:00
Michal Konecny
7b58dfdce8 Remove fedmsg and github2fedmsg from staging
The messaging bridges openshift project and github2fedmsg VM were
already removed in staging. This is to clean the ansible playbooks.

I will create a separate one for production after this one is merged.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2025-02-04 09:13:40 +01:00
Ryan Lerch
47c68f478d ansiblelint fixes - fqcn[action-core] - template to ansible.builtin.template
Replaces references to template: with ansible.builtin.template

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 11:30:29 +10:00
Ryan Lerch
25391e95b7 ansiblelint fixes - fqcn[action-core] - package to ansible.builtin.package
Replaces many references to  package: with ansible.builtin.package

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 11:28:00 +10:00
Ryan Lerch
6a3816dfdc ansiblelint fixes-- fqcn[action-core] - copy to ansible.builtin.copy
Replaces many references to 'copy' with ansible.builtin.copy

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 10:43:31 +10:00
Ryan Lerch
62952df107 ansiblelint fixes-- fqcn[action-core] - file to ansible.builtin.file
Replaces many references to  file: with ansible.builtin.file

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 10:41:52 +10:00
Ryan Lerch
691adee6ee Fix name[casing] ansible-lint issues
fix 1900 failures of the following case issue:

`name[casing]: All names should start with an uppercase letter.`

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-14 20:20:07 +10:00
Kevin Fenzi
d535671f25 bugzilla2fedmsg: update stomp queue to have new cert name
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-01-17 10:28:00 -08:00
Mattia Verga
15f3dea6a1 Use bugzilla.stage instance after partner-bugzilla shutdown
Signed-off-by: Mattia Verga <mattia.verga@protonmail.com>
2021-07-31 17:08:49 +00:00
Aurélien Bompard
3381359876 Disable the VM version of bugzilla2fedmsg
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-05-19 17:35:28 +02:00
Kevin Fenzi
76748dda43 bugzilla2fedmsg: install python2-docutils
It turns out that python2-docutils is needed to make this function.
Without it, it tracebacks on start and never processes normally.
Probibly the rpm should have a hard dep on this, but in the mean time we
add it here to make sure it's installed.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-09-08 10:37:39 -07:00
Ralph Bean
62701210b4 Our cert is old, and the name doesn't match. Use the correct string here. 2018-12-11 18:52:41 +00:00
Ralph Bean
864a7f6683 Quote are not allowed here. 2018-12-11 18:52:17 +00:00
Kevin Fenzi
43f551af49 also use the new bus in prod for bugzilla5 2018-12-09 21:51:25 +00:00
Ralph Bean
644d5d5eda bugzilla2fedmsg: Override the topic set in the bugzilla2fedmsg app and subscribe to a queue declared here. 2018-09-05 18:41:45 +00:00
Kevin Fenzi
6603e452ef Lets give this new bugzilla2fedmsg cert a try 2017-10-18 20:06:59 +00:00
Patrick Uiterwijk
936e8b261a yum accepted pkg=, package calls it name=
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2017-10-09 00:38:26 +02:00
Patrick Uiterwijk
adcbf72f03 Packageize this, packageize that, packageize the world
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-10-08 22:25:52 +00:00
Kevin Fenzi
04a52b8667 Death to all trailing whitespace. 2016-08-08 19:36:31 +00:00
Ralph Bean
68d5593075 New STOMP urls for bugzilla2fedmsg. 2016-03-03 21:37:23 +00:00
Ralph Bean
08a86eb463 Use the same cert and key here. 2016-01-25 16:19:15 +00:00
Ralph Bean
3f97589b7d Apparently, this is the cert/key pair to use. 2016-01-25 16:03:52 +00:00
Ralph Bean
2e0116fb60 bz2fedmsg - get ready for the big day. (we still need certs...) 2016-01-25 16:01:33 +00:00
Ralph Bean
c15440b633 Different cert names for staging broker. 2015-10-30 15:08:09 +00:00
Ralph Bean
85d35fd0b5 Some new bugzilla2fedmsg test connection data for staging. 2015-10-30 15:03:49 +00:00
Ralph Bean
9f8afc963f Point stg bugzilla2fedmsg back at partner-bugzilla. 2014-11-18 18:28:29 +00:00
Praveen Kumar
4b1e5162d7 Update state from installed/removed to present/absent for yum module as per latest documents -> http://docs.ansible.com/yum_module.html 2014-11-05 15:32:11 +00:00
Ralph Bean
fa85764d3b Tell our patched systemd fedmsg services to restart on failure. 2014-11-05 15:18:49 +00:00
Ralph Bean
34c72bf8b4 Temporarily point staging bugzilla2fedmsg at the prod amq fabric. 2014-10-15 13:57:10 +00:00
Ralph Bean
1332fbfbd7 Add tags to the bz2fm role. 2014-09-16 15:01:11 +00:00
Ralph Bean
569f859833 Typofix. 2014-09-16 15:00:08 +00:00
Ralph Bean
4b553a166e Prescribe a heartbeat interval. 2014-09-15 20:11:39 +00:00
Ralph Bean
859f177efe Use moksha threads here instead of bz2fm threads. 2014-09-09 01:09:00 +00:00
Ralph Bean
4cdd94f9f5 Add collectd for bugzilla2fedmsg. 2014-09-09 01:00:14 +00:00
Ralph Bean
3288718ac7 Just use IPs for staging. moksha isn't doing the right thing with the hostnames. 2014-08-13 14:14:17 +00:00
Ralph Bean
52e7cb5ad1 This makes a lot of sense. 2014-08-05 12:41:33 +00:00
Ralph Bean
1ccd58f23e Typofix. 2014-07-25 16:03:30 +00:00
Ralph Bean
f64f9ea208 Revert "Turns out that staging fabric is not going to be accesible from where we sit."
This reverts commit 6f1cc1d305.
2014-07-25 15:59:06 +00:00
Ralph Bean
5933a1c822 Directories shmirectories. 2014-06-24 15:49:40 +00:00
Ralph Bean
6f1cc1d305 Turns out that staging fabric is not going to be accesible from where we sit. 2014-06-24 15:37:34 +00:00
Ralph Bean
23e34f9c0f Ensure some directories exist. 2014-06-24 15:20:33 +00:00
Ralph Bean
ab06396de6 Get the config file name right. 2014-06-24 15:20:33 +00:00
Ralph Bean
265f7d478f Look for certs in all the right places. 2014-06-24 15:12:53 +00:00
Ralph Bean
63946c704e Moksha wants this file to be /etc/moksha/production.ini. 2014-06-24 14:47:10 +00:00
Ralph Bean
daabcf3935 Typofix mark II. 2014-06-24 14:39:48 +00:00
Ralph Bean
25a565ab9c Typofix. 2014-06-24 14:36:01 +00:00
Ralph Bean
e3f8c50b23 A role for bugzilla2fedmsg. 2014-06-24 14:32:06 +00:00