Commit Graph

59 Commits

Author SHA1 Message Date
Michal Konecny
6428f8f772 Sunset github2fedmsg and fedmsg
This commit is removing all the fedmsg related stuff from ansible
repository.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2025-02-13 10:08:51 +00:00
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
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
Aurélien Bompard
58932984ff Don't start fedmsg in staging
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-12-09 17:36:39 +01:00
Ryan Lerch
89f6f1fc32 Fix majority of remaining yamllint warnings and errors
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2024-11-28 17:31:45 +10:00
Kevin Fenzi
c04dd50fbf certificates: move to new 2024 wildcard fedoraproject.org cert
The old one expires in about 57 days, but might as well just renew it
early and avoid problems later.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-10-03 16:50:01 -07:00
Kevin Fenzi
47cf07184e wildcard-2023.fedoraproject.org: new wildcard ssl cert
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-11 08:48:40 -08:00
Kevin Fenzi
1e712cdc30 Revert "Revert "wildcard-2022.fedoraproject.org cert""
This reverts commit 4430178b29.

It's time to put this back before the cert expires and before we go into
Beta freeze. Hopefully the odd issue with armv7 qemu guests having a
time behind real time is not still happening.
2022-02-21 10:19:17 -08:00
Kevin Fenzi
4430178b29 Revert "wildcard-2022.fedoraproject.org cert"
This reverts commit 57f0d4fdb6.

For an anoying reason, armv7 image builds come up with the time as 10
days ago, which makes this cert invalid. So, move back to the old cert
for a week or so and then switch to the new one again. ;(
2022-01-31 12:39:49 -08:00
Kevin Fenzi
57f0d4fdb6 wildcard-2022.fedoraproject.org cert
This is the renewed version of the old 2020 cert.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-01-27 10:37:27 -08:00
Stephen Smoogen
37915eaf25 put in patches to use wildcard2020 2020-04-24 21:34:26 +02:00
Rick Elrod
3a518da495 one attempt at fedmsg gateway on f31
Signed-off-by: Rick Elrod <relrod@redhat.com>
2020-04-24 21:34:18 +02:00
Aurélien Bompard
918c33bb31 fedmsg: update package command to not use items
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2019-06-11 17:22:12 +02:00
Patrick Uiterwijk
a20b20b32a Try this
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-11-23 23:56:01 +00:00
Patrick Uiterwijk
e578d9be02 Fix this consistently
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-11-23 23:55:19 +00:00
Patrick Uiterwijk
a8aef4be9b Make sure that nrpe can monitor fedmsg-gateway on slave gateways
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-11-23 23:50:14 +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
039b08354a Yum allowed state=installed. Lets use state=present consistently
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-10-08 22:31:03 +00: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
Ricky Elrod
4ba623caba try this instead because I have no idea what brings python2-fedmsg-consumers in
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2017-08-09 05:14:18 +00:00
Ricky Elrod
0cee28f8d4 hotfix for consumers/__init__.py
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2017-08-09 04:59:56 +00:00
Stephen Smoogen
e3e3317a3d lets break all the things 2017-02-02 17:16:11 +00:00
Kevin Fenzi
6c0099fb21 Systemd wants service/unit files to get 644, not 755. 2016-12-16 14:50:22 +00:00
Kevin Fenzi
b3594c0e93 Drop this patch here too as it's already applied. 2016-12-03 03:15:33 +00:00
Kevin Fenzi
aa0a4b4377 Drop this patch, it's now released. 2016-12-02 23:16:57 +00:00
Patrick Uiterwijk
0b76dd4cb5 Pick up patch from github
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-12-01 12:05:44 +00:00
Patrick Uiterwijk
cb62d23a96 Also fix gateway slave
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-12-01 11:55:21 +00:00
Patrick Uiterwijk
f79388f24e Apply patch to fix fedmsg-gateway
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-12-01 11:53:09 +00:00
Kevin Fenzi
18a757800a Tag this with fedmsg/gateway also 2016-04-04 23:02:33 +00:00
Michael Scherer
9f3e44f8c6 Do not override the complete systemd config
using the drop-in config snipper system, we can add
configuration to systemd without replacing it, in case
the systemd file is changed upstream.
2016-04-04 22:59:16 +00:00
Michael Scherer
83f2b702d5 Move service start to the end (after we did set it up)
Also remove notify for handler for service, since the service
will be started by service, no need to notify a handler to restart
it.
2016-04-04 19:24:15 +00:00
Ralph Bean
9fdaee131c Copy empty dummy files instead of removing default files. For https://fedorahosted.org/fedora-infrastructure/ticket/4995. 2015-11-30 20:19:08 +00:00
Ralph Bean
48af59b57c Future proof ourselves against modern versions of python-psutil. 2015-09-28 18:04:59 +00:00
Kevin Fenzi
df6ea0d351 Add a common tag to all the fedmsg monitor socket perms stuff 2015-03-18 13:11:37 +00:00
Ralph Bean
892d4243dc Typofix. 2015-03-17 14:47:20 +00:00
Ralph Bean
63d93036b3 (stunnel) use a combined cert. 2015-03-17 14:45:25 +00:00
Ralph Bean
88f1f35b1d That wasn't right. 2015-03-17 14:20:39 +00:00
Ralph Bean
f11e60978f (stunnel) add a restart handler. 2015-03-17 14:15:13 +00:00
Ralph Bean
25a1d46dc2 (stunnel) use our chain file here. 2015-03-17 14:13:54 +00:00
Ralph Bean
8a5f607260 Make sure to remove the old one. 2015-03-17 14:06:03 +00:00
Ralph Bean
9fcdbe8fbd Convert our stunnel init script to systemd. 2015-03-17 14:02:35 +00:00
Ralph Bean
db7f4d05f5 (proxies) start stunnel for fedmsg websockets stuff. 2015-03-17 14:02:35 +00:00
Ralph Bean
9a95681073 (fedmsg-gateway) start it. 2015-02-21 21:11:11 +00:00
Ralph Bean
abf8cec398 Add monitoring stuff for fedmsg-gateway slaves. 2015-02-20 17:13:52 +00:00
Ralph Bean
4192c9d11d That vars syntax was invalid. 2015-01-19 20:53:29 +00:00
Ralph Bean
415eb39fd7 Include the fedmsg/gateway/slave role in the new proxies setup. 2015-01-19 20:33:26 +00:00