Commit Graph

92 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
Samyak Jain
fd17adce36 Branch Fedora 42 from Rawhide
Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2025-02-04 15:02:50 +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
Seddik Alaoui Ismaili
24aaee6429 move apps to memcached02 2024-12-11 23:22:28 +00: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
Seddik Alaoui Ismaili
c88ab2cb08 test move apps to memcached02 2024-11-25 13:20:45 +00:00
Samyak Jain
5f164c7347 Branch Fedora 41 from Rawhide
Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2024-08-13 14:13:43 +00:00
Kevin Fenzi
d11f9c5ced epel7 retirement
Drop epel7 all the places in ansible where it is and makes sense.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-07-03 20:00:59 +00:00
Samyak Jain
2a240052b1 Branch Fedora 40 from Rawhide
Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2024-02-13 13:12:33 +00:00
Samyak Jain
2586c03c3f Branch Fedora 39 from Rawhide
Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2023-08-08 19:46:38 +00:00
Todd Zullinger
2b081e0ec1 bugz.fedoraproject.org: replace %20 with + to fix redirect
The backslash-escaped space in 'Fedora EPEL' was replaced with %20 in
6e982da0d4 (bugz.fedoraproject.org: urlescape redirect instead of \,
2023-03-15).  Unfortunately, mod_rewrite treats the %2 as a
backreference, resulting in the string being 'Fedora0EPEL' which yeilds
no results for EPEL bugs.

We could possibly use on of the many RewriteRule flags to adjust the
handling of backreferences, but using a `+` seems like the simpler
option and works just as well in testing.

Signed-off-by: Todd Zullinger <tmz@pobox.com>
2023-05-26 18:10:03 +00:00
Kevin Fenzi
6e982da0d4 bugz.fedoraproject.org: urlescape redirect instead of \
In a recent apache update they fixed CVE-2023-25690 which now disallowes
redirects with spaces in them. So, just urlencode the space instead of
trying to escape it and it should redirect correctly.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-03-15 12:29:55 -07:00
Samyak Jain
549e5d3ace Branch Fedora 38 from rawhide
Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2023-02-08 20:30:05 +01:00
Tomas Hrcka
a7dcdbd794 Branch Fedora 37 from rawhide
Signed-off-by: Tomas Hrcka <thrcka@redhat.com>
2022-08-09 17:58:51 +02:00
Michel Alexandre Salim
fb42ccf3e6 Make bugz.fedoraproject.org display all open bugs for a package
Currently it's configured to show NEW, ASSIGNED, and ON_QA bugs.

However:
- this misses pending Bodhi updates, which have bugs set to MODIFIED
- approved but not built package reviews are often set to POST

For simplicity, just show all open bugs with `__open__`.

Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
2022-04-03 17:50:13 +00:00
Tomas Hrcka
dfcaed1b32 F36 branching
Signed-off-by: Tomas Hrcka <thrcka@redhat.com>
2022-02-08 15:55:04 +00:00
Tomas Hrcka
e15133639e Branching f35 from rawhide
Signed-off-by: Tomas Hrcka <thrcka@redhat.com>
2021-08-10 15:17:02 +00: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
Tomas Hrcka
c6b02d2071 Branching f34 from rawhide
Signed-off-by: Tomas Hrcka <thrcka@redhat.com>
2021-02-09 19:09:18 +01:00
Tomas Hrcka
309026dcc3 Branching F33 from rawhide
Signed-off-by: Tomas Hrcka <thrcka@redhat.com>
2020-08-11 16:07:06 +00:00
Kevin Fenzi
0dea991f21 proxies: Try and correct the bugz url to show Fedora EPEL right
Seems if you use a %20 for a space in the Redirect url it will just pass
that on and not urldecode it. So, try and just \ the space and see if
that works better.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-08-05 17:13:28 -07:00
Francois Andrieu
798bf46c82 bugz: include ON_QA status in redirect
Signed-off-by: Francois Andrieu <naolwen@gmail.com>
2020-07-31 14:05:18 +02:00
Kevin Fenzi
ce63d5f3ea bugz: Try and redirect this to bugzilla for now since we have no packages app. 2020-07-29 13:51:14 -07:00
Stephen Smoogen
d89168a30f clean up download usage 2020-06-06 15:23:40 -04:00
Mohan Boddu
fdf52dca0a Branching F32 from rawhide
Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
2020-04-24 21:34:22 +02:00
Kevin Fenzi
81fb4582e7 ansible: change when conditions to use == instead of is when checking strings.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:10 +02:00
Kevin Fenzi
a562b8a3f8 ansible_distribution_version: address FIXME's/review tweaks.
download: mod_limitipconn isn't used anyone, dropped the entire line.
transient_cloud: just dropped the dnf part and use 'package' entirely.
sshd_config: UsePrivilegeSeparation isn't used in Fedora at all.
koji_hub: no fedora or rhel8 hubs yet, so just 7 is fine for now.
openvpn: changes look ok
packages3: Should get cverna to review, packages is using fedora now.
varnish: no rhel8 varnish servers yet.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:10 +02:00
Karsten Hopp
c9ed62ac32 update ansible_distribution_major_version conditionals
Signed-off-by: Karsten Hopp <karsten@redhat.com>
2020-04-24 21:34:10 +02:00
Mohan Boddu
fec2d57539 Branching F31 from rawhide
Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
2020-04-24 21:34:08 +02:00
Stephen Smoogen
01697e28aa [packages3] put in distmappings for epel8 2019-06-06 17:35:59 +00:00
Mohan Boddu
afcfd8b730 Branching F30 from rawhide
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2019-02-19 20:07:12 +00:00
Clement Verna
e04cc56096 fedora-packages: deploy latest version and update box to f29
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-02-12 08:25:27 +01:00
Kevin Fenzi
665023329a This creates= was accidentally removed. This means all master runs have been running this on both packages03 and packages04 every run. :( 2018-11-26 18:57:26 +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
Mohan Boddu
1324e6784d Branching F29 from rawhide
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2018-08-14 16:58:01 +00:00
Kevin Fenzi
250bd9ade6 Revert "Update path to fedora-packages wsgi file"
This reverts commit 1144e921bc.
2018-07-20 20:15:54 +00:00
Clement Verna
1144e921bc Update path to fedora-packages wsgi file
Signed-off-by: Clement Verna <cverna@tutanota.com>
2018-07-18 11:06:00 +02:00
Mohan Boddu
68598ed941 Setup for branching f28 from rawhide
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2018-02-20 09:00:29 +00:00
Clement Verna
b8100fc5ff Fix packages stg bugzilla.
This commit add the correct bugzilla address for
packages.stg.
It also cleanup the template by making use of
the env_suffix variable.

Signed-off-by: Clement Verna <cverna@tutanota.com>
2018-02-14 19:43:45 +01:00
Clement Verna
a4b3eee7e6 Cleanup the packages03 role
Signed-off-by: Clement Verna <cverna@tutanota.com>
2018-02-14 10:05:22 +01:00
Clement Verna
5885e444be Set the correct selinux context to allow httpd to clone git repos
Signed-off-by: Clement Verna <cverna@tutanota.com>
2018-02-13 20:32:22 +01:00
Clement Verna
d80ead8087 Allow httpd to write the git repo used by the source tab
The Source tab is using git repository that are cloned under
/var/cache/fedoracommunity/git.fp.o.
This commit allow httpd to access this folder.

Signed-off-by: Clement Verna <cverna@tutanota.com>
2018-02-13 10:45:55 +00:00
Patrick Uiterwijk
ba4bccf109 Allow httpd_execmem and nfs
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-12-22 18:48:37 +00:00
Patrick Uiterwijk
a0ea57487e Revert splitting creates out. That was invalid
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-12-22 13:00:30 +00:00