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
Jakub Kadlcik
cbc6a537b1
copr-dist-git improve comment
2025-01-22 17:33:51 +01:00
Jakub Kadlcik
c06de2f370
copr-dist-git: add custom httpd message for disabled cgit
...
Fix https://github.com/fedora-copr/copr/issues/3595
2025-01-22 17:23:52 +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
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
Pavel Raiskup
11197ba97b
copr-dist-git: tag the certbot role include
2024-12-04 10:08:53 +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
Jakub Kadlcik
ee282f23ae
copr-dist-git: disable directory.safe check
2024-06-05 15:07:50 +02:00
Pavel Raiskup
caefb83684
copr-dist-git: fix typo
2023-12-17 11:40:04 +01:00
Pavel Raiskup
5766ff851c
copr-dist-git: run the cleanup cron twice per month
...
https://github.com/fedora-copr/copr/issues/3020
2023-12-17 11:37:11 +01:00
Jiri Kyjovsky
f0e574daff
copr dist-git: remove pyrpkg patch for SRPM pre-generating check
...
Completes: https://github.com/fedora-copr/copr/pull/2686
Partly resolves: https://github.com/fedora-copr/copr/issues/2317
2023-05-09 20:26:11 +00:00
Jiri Kyjovsky
183fedafe1
copr-dist-git: specify default_branch option in dict-git.conf
...
commit d9dfe63e34abd7d6fe3c9b6e4c70939f4932f250 in dist-git
introduces configuration of main branch name. Thus it should
be specified in dict-git.conf
2023-03-28 15:01:39 +02:00
Pavel Raiskup
5e75fa84c6
copr-dist-git: rebuilding cgit data takes one hour
2023-01-03 13:20:07 +01:00
Pavel Raiskup
cee1d4f43c
copr-dist-git: drop the projects-list option
...
That was non-working for some time, since:
2e64a15058
Relates: https://github.com/fedora-copr/copr/pull/2423
2022-12-05 16:13:11 +01:00
Pavel Raiskup
cb2908cc48
copr-dist-git: don't re-add SWAP volume
...
This volume has been dropped, we now use the /swap swap-file, same as
the other Copr servers.
2022-11-30 09:55:30 +01:00
Jakub Kadlcik
428cdbe1e3
copr: there is python3.11 on F37
2022-11-21 11:38:33 +01:00
Pavel Raiskup
d63f67e106
copr-dist-git: allow importing autospec srpms
...
https://pagure.io/copr/copr/issue/2317
2022-10-04 15:52:06 +02:00
Jakub Kadlcik
6a654a4bba
copr: create per-task-logs symlink even on production
...
We don't want to mount volume for /var/lib/copr-dist-git anymore.
2022-02-21 21:33:09 +01:00
Jakub Kadlcik
c98410fd08
copr: don't set the per-task-logs permissions
...
It doesn't work. I suspect it changes ownership of the `src` file
instead of the destination. And we don't need that.
2022-02-21 19:09:54 +01:00
Jakub Kadlcik
cb09b66802
copr: setting symlink permissions doesn't work
...
I am trying to set the correct permissions in a separate step. Maybe
it will help.
2022-02-21 18:46:14 +01:00
Jakub Kadlcik
c2a657d5ce
copr: use path instead of dest
2022-02-21 18:39:39 +01:00
Jakub Kadlcik
4217a98ca8
copr: create per-task-logs symlink with the correct owner
2022-02-21 18:21:40 +01:00
Jakub Kadlcik
a234b3116c
copr: symlink per-task-logs from the bigger disk
2022-02-21 18:13:30 +01:00
Silvie Chlupova
5df624c6a3
copr: run prune-dist-git.py in daily cron again
...
Relates: https://pagure.io/copr/copr/pull-request/2101
Relates: https://pagure.io/copr/copr/issue/2078
2022-02-21 10:06:41 +01:00
Silvie Chlupova
534a2d5289
copr: we already run this daily
2022-02-15 15:16:29 +01:00
Silvie Chlupova
f937e22a92
copr: we don't need this cron job, we use more sophisticated script
...
We used to use prune-dist-git.py script which deleted data from distgit
repositories and lookaside cache. Now we use dist-git-clear-tarballs.py script
which can delete only sources not mentioned in the last commits
of the git repo branches.
Relates: https://pagure.io/copr/copr/issue/2078
2022-02-15 14:58:27 +01:00
Silvie Chlupova
d72b5db3e3
copr: update copr-dit-git.monthly to contain all copr dist-git cron jobs
2022-02-14 12:08:22 +01:00
Jakub Kadlcik
5249952c7b
copr: prune old per-task-logs daily
...
The upstream package suggests to prune per-task-logs monthly but with
all the mass rebuilds going on right now (@copr/PyPI,
@rubygems/rubygems), I think it is safer to prune them daily.
2022-02-13 17:56:15 +01:00
Silvie Chlupova
05c986ba1c
copr-distgit: adding cron job for removing old tarballs
2022-02-09 12:58:40 +01:00
Jakub Kadlcik
b90b8b2416
copr: the official python3-rpkg-1.63-4 fixes the issue
2022-02-03 12:33:22 +01:00
Pavel Raiskup
8d10a95834
copr-be/copr-dg: tag package installation with "packages"
2022-01-20 13:37:56 +01:00
Silvie Chlupova
87e510f378
copr: nagios check for copr frontend, backend and distgit
...
Fixes: https://pagure.io/copr/copr/issue/2002
2022-01-20 11:47:14 +01:00
Silvie Chlupova
22bf73ae9e
copr: move installation of node_exporter to copr base role
2021-12-06 11:18:34 +01:00
Silvie Chlupova
356dca4cc7
copr: support for generating metrics on copr dist-git servers
2021-12-06 10:09:46 +01:00
Jakub Kadlcik
d4ec2983e9
copr: somehow, a version should be specified
2021-11-27 02:16:50 +01:00
Jakub Kadlcik
2e3e81674d
copr: oops, syntax error
2021-11-27 02:06:09 +01:00
Jakub Kadlcik
be96df9e3f
copr: install custom build of python3-rpkg to distgit
...
See https://pagure.io/rpkg/issue/588
See https://pagure.io/copr/copr/pull-request/1998
2021-11-27 02:02:39 +01:00
Silvie Chlupová
274fa87d44
copr-distgit: drop patch, it's fixed in fedora 35, we don't need it
2021-11-22 11:32:23 +01:00
Pavel Raiskup
0d070d1941
copr-dist-git: correct patch reference
...
Complements 8a08f87d43
2021-06-02 08:35:03 +02:00
Pavel Raiskup
8a08f87d43
copr-dist-git: fix failing Thunderbird import
...
Fixes: https://pagure.io/copr/copr/issue/1700
2021-06-02 08:32:39 +02:00
Pavel Raiskup
0aede26200
copr-dist-git: simplify cgitrc config, #2
...
See previous commit.
2021-04-27 22:16:01 +02:00
Pavel Raiskup
4e95c76e0b
copr-dist-git: simplify cgitrc config
...
This is a missing step after:
2e64a15058
2021-04-27 22:01:45 +02:00
Miroslav Suchý
8cba3702a0
copr: enable prune-dist-git.py
2021-03-29 13:21:12 +02:00
Miroslav Suchý
69e2bd3cb1
copr: define git_gc_depth for copr-dist-git
2021-02-10 12:28:33 +01:00
Pavel Raiskup
2d47ed082f
copr-dist-git: drop swap re-mount
...
Swap is mounted by tasks/swap.yml.
2020-11-18 14:01:53 +01:00
Pavel Raiskup
b9bcba056a
copr: dist-git: disable copr-dist-git pruner for now
...
Per logs sent to us by crond, I suppose there's some bug.
2020-04-24 21:34:26 +02:00
Miroslav Suchý
ba99028573
copr: mount this swap only on prod
2020-04-24 21:34:25 +02:00