Commit Graph

50 Commits

Author SHA1 Message Date
Adam Williamson
804efd40d1 Update pagure.io/fedora-qa to forge.fedoraproject.org/quality
Quality org has completed moving repos to Forgejo (all but one),
so let's update all of these.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-01-23 15:31:46 -08: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
3c41882bb0 ansiblelint fixes - fqcn[action-core] - shell to ansible.builtin.shell
Replaces references to shell: with ansible.builtin.shell

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 11:29:10 +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
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
Kamil Páral
b00d1d2f85 blockerbugs: define BLOCKERBUGS_URL and simplify the config file
BLOCKERBUGS_URL needs to be defined in order to show correct links in the
staging environment. While fixing that, realized that most of the if-else
clauses were unnecessary, because there are already group vars for that. So
simplified the config file by using the vars. KOJI_URL is dropped because it's
no longer needed.

Related: https://pagure.io/fedora-qa/blockerbugs/issue/192
2021-09-29 10:13:22 +02:00
Tim Flink
a7680d17eb blockerbugs: fixing typo in path for patch 2021-09-14 13:44:45 -06:00
Tim Flink
0628aed2b1 blockerbugs: fix bugzilla query code
There was an unannounced change to rhbz where the default number of
results returned for a query was changed to 20.

This should be a temporary change that will need to be reverted when a
new version of blockerbugs is released with this capability built in.
2021-09-14 13:26:54 -06:00
František Zatloukal
f0a83d86ef Blockerbugs: Update variables to have different stg/prod keys 2021-08-17 12:01:21 +02: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
František Zatloukal
cb6f8fc713 Blockerbugs: Adjust staging settings 2021-07-02 16:58:52 +02:00
Tim Flink
7771e03285 [blockerbugs] adding the tags I forgot
Sigh, I forgot to add the tags to the 'blockerbugs' group change so this
commit fixes the missing tags.
2021-06-09 13:55:03 -06:00
Tim Flink
daa7ad21c1 [blockerbugs] creating local blockerbugs group
This extends the last change that ensures a local "blockerbugs" user
exists on the sync machine. Unfortunately, that doesn't work unless the
group specified already exists.
2021-06-09 13:39:28 -06:00
František Zatloukal
9f273622e0 Blockerbugs: force to use local user instead of the ipa one 2021-06-09 19:14:13 +02:00
František Zatloukal
12913c02bd Blockerbugs: fixup FAS on stg 2021-05-06 07:36:48 +02:00
František Zatloukal
ba43f7c3b3 Blockerbugs: Tell flask that we're behind proxy 2020-08-19 09:56:34 +02:00
Tim Flink
442fd1b92d blockerbugs: set another sebool so openid works
Turns out that the httpd_can_network_connect sebool has to be set in
newer OSs (previous was el7) in order for python_openid to be able to
initiate discovery as part of login.

This is a simple change that sets httpd_can_network_connect to 1 for the
blockerbugs role that should only affect machines running the app.
2020-08-18 18:23:23 -06:00
František Zatloukal
ff6841eff6 Switch blockerbugs from EL7 to FC32 2020-08-18 21:20:03 +02:00
Tim Flink
e2147f0ba3 Blockerbugs: adding chronic to cron sync to reduce cron emails 2019-06-20 11:41:15 +00:00
Tim Flink
231fd1e4b8 silencing blockerbugs sync cron job 2019-06-20 09:52:11 +00:00
Tim Flink
c39397d028 blockerbugs: changing SQLALCHEMY option in stg to reduce cron email
There was a change with a recent upgrade to flask-sqlalchemy so that
SQLALCHEMY_TRACK_MODIFICATIONS will no longer be enabled by default
in future releases. As we're not using it, I'm explicitly setting that
to False in the hopes that most/some of the cron emails go away if
the warning isn't emitted during blockerbugs sync.
2019-03-11 18:57:36 +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
Tim Flink
70866fd532 making stg/prod differences in blockerbugs more sane 2017-08-15 18:06:46 +00:00
Tim Flink
03d02cb39e removing blockerbugs-stg reliance on hosts file for db host 2017-08-14 17:09:54 +00:00
Kevin Fenzi
3cb2683c7a clean up more old infrastructure-testing repo stuff 2017-08-10 17:45:26 +00:00
Martin Krizek
050d563f0b blockerbugs: setting the perms correctly now hopefully 2016-11-28 16:51:35 +00:00
Martin Krizek
54846977e3 blockerbugs: make settings.py not others readable 2016-11-28 16:25:33 +00:00
Martin Krizek
3cb6f5ca9d blockerbugs: remove hotfix, already released 2016-11-28 12:32:08 +00:00
Tim Flink
40e955f4cb changing blockerbugs cron to send to all qa admins 2016-09-15 16:40:16 +00:00
Martin Krizek
168268bb40 blockerbugs: enable stream logging for prod as well 2016-09-12 10:29:29 +00:00
Martin Krizek
cc4789ba76 blockerbugs: use bodhi2 url 2016-09-12 10:24:55 +00:00
Martin Krizek
a8e15091f2 blockerbugs-stg: enable stream logging 2016-08-30 11:51:25 +00:00
Tim Flink
169675bb8e changing stg blockerbugs to use prod bz/bodhi as a datasource for testing 2016-04-26 19:25:09 +00:00
Kevin Fenzi
84d676f74b python-bunch is needed here too. Wonder if we are missing a dep? 2016-03-04 20:17:14 +00:00
Martin Krizek
f997085ab9 blockerbugs-stg: Disable openidbaseclient.py hotfix 2015-11-05 20:53:27 +00:00
Patrick Uiterwijk
08568865fe Replace all restart httpd with reload httpd
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2015-11-04 23:40:01 +00:00
Tim Flink
d3a39ed035 fixing syntax error 2015-09-03 00:15:13 +00:00
Tim Flink
8befbff403 adding proper tags to hotfix 2015-09-03 00:14:24 +00:00
Tim Flink
8a07c4e9c5 hotfixing python-fedora on blockerbugs* to work around syntax error that blows up during sync 2015-09-03 00:13:25 +00:00
Tim Flink
c6a0eaf83a updated bodhi url for blockerbugs.stg, enabled fedmenu for prod 2015-08-19 19:01:55 +00:00
Tim Flink
d38c791654 enabling fedmenu in blockerbugs stg 2015-08-19 18:54:08 +00:00
Till Maas
73b1222f6b Make other flask session cookies secure 2015-02-04 15:34:31 +01:00
Tim Flink
f2494b0472 set admin.stg for blockerbugs bodhi url in stg 2015-01-22 19:37:37 +00:00
Kevin Fenzi
31ca1dc461 Make this work with rhel7 apache 2015-01-22 17:55:41 +00:00
Kevin Fenzi
b2bcef5254 Add libsemanage-python for sebools 2015-01-22 17:48:32 +00:00
Kevin Fenzi
4263eef8ca Adjust repos for blockerbugs 2015-01-22 17:40:59 +00:00
Kevin Fenzi
6d95f3fd75 First stab at blockerbugs ansible playbooks and blockerbugs01.stg config 2015-01-22 17:16:21 +00:00