Commit Graph

68 Commits

Author SHA1 Message Date
Aurélien Bompard
d884a0f8ba Use the combined RabbitMQ CA cert in the clients
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-04-11 15:15:45 +02: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
462176464b ansiblelint fixes-- fqcn[action-core] - command to ansible.builtin.command
Replaces many references to  command: with ansible.builtin.command

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 11:26:47 +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
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
Ryan Lerch
b083c70da2 Move building fedoramessaging extensaion after links are made
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2024-05-16 18:04:00 +10:00
Aurélien Bompard
840c898fec Add tags
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-07-05 15:45:01 +02:00
Aurélien Bompard
6fbc69fdcf Small fixup
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-07-05 15:44:09 +02:00
Aurélien Bompard
82e7d6ab4c Install php dependencies
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-07-03 17:16:26 +02:00
Aurélien Bompard
5db080088e Add missing dep
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-07-03 14:53:56 +02:00
Aurélien Bompard
9df13d4abb Use the new fedora-messaging emitter in Mediawiki
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-07-03 14:52:33 +02:00
Ryan Lerch
3d32e12a1f [wiki] Remove old patched openIDConnect, and comment about new setup
We previously moved the FPCA check from a patched file held here in
ansible into the RPM itself when it was built for the Fedora infra
repos. While we no longer installed the patched file, it remained here
in the files dir of the wiki role, so we are deleting it.

Also, have added a comment to the play to say where we are holding this
patch now, so when i forget about it again, and come back to it in
another year or so, i can remember faster

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2023-05-24 16:45:41 +10:00
Kevin Fenzi
d82fc074dc wiki: drop 2 hotfixes we no longer need
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-16 15:12:03 -07:00
Kevin Fenzi
985d30bcc6 wiki: drop HTTP302Found for now
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-16 14:31:57 -07:00
Aurélien Bompard
6e68f8fe4f Fix the mediawiki auth plugin
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-03-25 11:15:29 +01:00
Ryan Lerch
252374bc55 wiki: only apply the patched OIDC plugin in prod
the patch for the OIDC plugin is now in the RPM, but for now lets only
not apply the patch via ansible in staging, so we know it works.

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2020-09-21 07:35:53 +00:00
Kevin Fenzi
7aba98780e fedora-messaging-migration: Patches from Karsten Hopp to move script calling things from fedmsg to fedora-messaging
We will need to check these services after pushing this out and confirm
that they are still emitting or hearing messages they need to.

Many thanks Karsten!
2020-04-24 21:34:16 +02:00
Kevin Fenzi
d8189b7498 mediawiki: hotfix InputWidget so prefs works.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-06-28 01:16:17 +00:00
Rick Elrod
f48e0a9543 mediawiki: add php-pgsql for tahrir db access, and move package installation to not use with_items
Signed-off-by: Rick Elrod <relrod@redhat.com>
2019-06-28 00:36:59 +00:00
Rick Elrod
f3062433f9 mediawiki: add a localsettings tag, just for updating this file
Signed-off-by: Rick Elrod <relrod@redhat.com>
2019-06-28 00:32:31 +00:00
Kevin Fenzi
d8fbcc780a mediawiki: add another boolean and new selinux policy.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-06-28 00:04:35 +00:00
Kevin Fenzi
db8c71dee4 wiki: drop serialized dir as it's not there anymore in new versions.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-06-18 23:40:03 +00:00
Kevin Fenzi
0e80ba0ebc wiki: drop basset plugin for now.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-06-18 21:49:30 +00:00
Kevin Fenzi
a4a19995e4 install librsvg2-tools 2018-08-10 15:04:45 +00:00
Kevin Fenzi
cbfbc1ed0b fix path 2018-08-10 14:50:51 +00:00
Kevin Fenzi
74aa6984aa set another seboolean 2018-08-10 14:43:32 +00:00
Kevin Fenzi
53ad352757 selinux policy for mediawiki 2018-08-10 14:33:35 +00:00
Kevin Fenzi
ba4b26b313 enable backtickcode wiki extension 2018-07-26 19:51:05 +00:00
Patrick Uiterwijk
e70400ae18 Deploy fedoradocsredirect to prod
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-02-01 14:53:16 +00:00
Patrick Uiterwijk
baa418b692 Only add pkg on staging for now
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-01-24 06:20:08 +00:00
Patrick Uiterwijk
87b84c41ca Deploy fedoradocsredirect in staging mediawiki
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-01-24 06:03:36 +00:00
Kevin Fenzi
547e12ddf8 we need this for openidc to work right 2017-11-23 05:37:11 +00:00
Patrick Uiterwijk
6ca79cbfa3 Require CLA+1
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-11-23 01:31:34 +00:00
Patrick Uiterwijk
f9a0e1afd7 More prod-izing changes
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-11-22 21:41:30 +00:00
Kevin Fenzi
84ab5c11c0 only link vendor in staging mediawiki 2017-11-18 23:10:56 +00:00
Patrick Uiterwijk
6050d3e5e3 Add mediawiki OIDC(API) packages for staging
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-11-13 00:13:41 +00:00
Kevin Fenzi
bfd94ffe69 also link vendor 2017-11-10 23:42:05 +00:00
Kevin Fenzi
def9f2bdae drop openid plugin in stg wiki, move stg wiki to f27 2017-11-10 20:24: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
Kevin Fenzi
057f48398e drop intersection extension for now in stg only 2017-01-04 02:25:46 +00:00
Kevin Fenzi
e5ab568544 add php-mysqlnd for db access on wiki01.stg 2017-01-04 01:05:05 +00:00
Patrick Uiterwijk
e5e25049fb Deploy mediawiki-skin-fedora to staging
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-10-06 09:31:34 +00:00
Kevin Fenzi
0691babe41 add logic for fedora mediawiki, reinstall staging as f24 2016-09-12 22:38:55 +00:00
Kevin Fenzi
ab19c8d9e5 Drop making this dir, ansible mount should do so. 2016-05-17 22:09:42 +00:00
Patrick Uiterwijk
984049f520 Remove +1 requirement from wiki, leaving CLA
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-03-22 22:28:40 +00:00
Patrick Uiterwijk
1cacb25fd4 Enable mediawiki basset plugin
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-03-22 21:21:38 +00:00