Commit Graph

493 Commits

Author SHA1 Message Date
Diego Herrera
3a42bab039 Reenable Centos10 sync for EPEL 10.2 mass branching
Signed-off-by: Diego Herrera <dherrera@redhat.com>
2026-02-10 18:13:35 -03:00
Kevin Fenzi
a754144f19 Update infra pagure.io links to forge.fp.o (WIP)
This should update all the references we have to
https://pagure.io/fedora-infrastructure to the
new https://forge.fedoraproject.org/infra/tickets/ area.

Do not merge this before the migration on tuesday.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-01-20 14:39:40 -08:00
Carl George
0f16bf1dc3 Revert "batcave: modify rhel10-sync to delete problematic redhat-release package"
This reverts commit 3e4f01e82c.  The
underlying issue was resolved in redhat-release-10.1-18.el10.

Signed-off-by: Carl George <carlwgeorge@gmail.com>
2026-01-13 14:59:00 -06:00
Kevin Fenzi
91ca2a6bf3 pagure-stg01: say fare thee well
We have moved over to pagure-stg02 now in rdu3, so retire this vm.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-12-02 14:28:06 -08:00
Carl George
3e4f01e82c batcave: modify rhel10-sync to delete problematic redhat-release package
https://forge.fedoraproject.org/epel/releng/issues/67
https://issues.redhat.com/browse/RHEL-128741

Signed-off-by: Carl George <carlwgeorge@gmail.com>
2025-11-16 22:22:59 -06:00
Carl George
afa44e37e0 Retire EPEL 10.0
Signed-off-by: Carl George <carlwgeorge@gmail.com>
2025-11-11 16:34:06 -06:00
Carl George
e9f85bfb1e Branch epel10.1 from epel10
Signed-off-by: Carl George <carlwgeorge@gmail.com>
2025-08-25 10:28:48 -05:00
James Antill
778711e986 updates-uptimes: Add {{files}} prefix to path.
Signed-off-by: James Antill <james@and.org>
2025-08-13 18:19:25 -04:00
Carl George
875b764644 batcave: re-enable CentOS 10 snapshot sync
https://codeberg.org/fedora/epel/issues/36

Signed-off-by: Carl George <carlwgeorge@gmail.com>
2025-08-13 21:11:05 +00:00
Carl George
c419dacd38 batcave: exclude more unnecessary paths from CentOS 10 sync
Signed-off-by: Carl George <carlwgeorge@gmail.com>
2025-08-13 21:11:05 +00:00
James Antill
e29a37a23a updates-uptimes: Add dynamic uptime for main data. Fix cron (sigh 12h fix).
Signed-off-by: James Antill <james@and.org>
2025-08-12 17:20:21 -04:00
James Antill
a0c202f3af updates-uptimes: More UI changes. Add history/diffstat. Add cron job.
Signed-off-by: James Antill <james@and.org>
2025-08-12 02:30:34 -04:00
Kevin Fenzi
b259bb5465 batcave01: add new vlan at ibiblio to allows
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-07-30 15:38:13 -07:00
Nils Philippsen
6c85fda0c9 Mass remove/replace iad2 -> rdu3, 10.3. -> 10.16.
Signed-off-by: Nils Philippsen <nils@redhat.com>
2025-07-03 20:05:02 +02:00
Aurélien Bompard
981f16ee8f Fixup ea5784a05e
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-07-03 08:05:46 +02:00
Aurélien Bompard
ea5784a05e Fix zodbot-announce-commits
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-07-02 13:04:38 +02:00
Kevin Fenzi
ccfd1dafa1 batcave: add python3-sqlalchemy for repo2json script
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-30 15:34:26 -07:00
Kevin Fenzi
da9483f583 batcave: setup facls for private repo
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-30 15:33:21 -07:00
Kevin Fenzi
4ad6508bac batcave: fix acls for dns repo
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-30 14:11:50 -07:00
Kevin Fenzi
da58790976 batcave01: drop srm, its not actually in epel9
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-28 15:57:44 -07:00
Kevin Fenzi
8366badfc5 batcave: trust ssh host certs signed by our CA for *rdu3
This should fix some weird connection issues we were seeing.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-22 15:41:42 -07:00
Kevin Fenzi
26ab61697b batcave: allow rdu3 external network on batcave01 in iad2
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-05-21 12:37:13 -07:00
Carl George
e9734b9cdf batcave: override basearch in rhel10.0 sync
In order to correctly sync each architecture's repos, we have to
override the basearch while running reposync.  Otherwise we are just
syncing the the host architecture (x86_64) multiple times under
misleading directory names.

Signed-off-by: Carl George <carlwgeorge@gmail.com>
2025-05-15 11:58:23 -05:00
Carl George
b565e59d32 batcave: set up rhel10.0 sync
Signed-off-by: Carl George <carlwgeorge@gmail.com>
2025-05-14 16:12:51 +00:00
Aurélien Bompard
b79d8199c6 Batcave: also copy the rabbitmq ca cert
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-04-17 18:16:23 +02:00
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
Carl George
2e3eaabb1c Branch epel10.0 from epel10
Signed-off-by: Carl George <carlwgeorge@gmail.com>
2025-02-18 16:26:40 +00:00
Michal Konecny
6b0a66cb37 [fedora-messaging] Adding topic_prefix back
Removing the topic_prefix from fedora messaging config files was a bit
premature. So let's put them back in place.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2025-02-14 12:40:12 +01:00
Carl George
7599608b9d batcave: duplicate CentOS 10 sync directory
https://pagure.io/fedora-infrastructure/issue/12394

Signed-off-by: Carl George <carlwgeorge@gmail.com>
2025-02-13 13:27:32 -06:00
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
Michal Konecny
7b58dfdce8 Remove fedmsg and github2fedmsg from staging
The messaging bridges openshift project and github2fedmsg VM were
already removed in staging. This is to clean the ansible playbooks.

I will create a separate one for production after this one is merged.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2025-02-04 09:13:40 +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
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
Kevin Fenzi
eafcece0cf batcave: redirect http to https
We hadn't done this in the past because virt-install couldn't do https
urls, but thats long since no longer the case.

So, move all the ks_url and ks_repo calls to use https and since they
are using https, they need to use the valid
infrastructure.fedoraproject.org name so they can verify the cert.

Set batcave to redirect http to https now since that was the thing
holding this back.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-01-06 09:45:25 -08: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
David Kirwan
ef45d81b72 batcave: python3-requests-kerberos package
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-11-21 16:02:40 +00:00
Aurélien Bompard
41b9780f35 Batcave: /usr/sbin is not in cron's path
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-11-04 10:42:32 +01:00
Jiri Podivin
104ecb73b4 Removing unused formatter
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
2024-09-18 19:57:30 +00:00
Jiri Podivin
f513e7cbcd Linting python scripts
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
2024-09-18 19:57:29 +00:00
Aurélien Bompard
a0e17dc73f GeoIP databases: set the selinux context
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-08-08 05:54:59 +02:00
Aurélien Bompard
096f4ed89c The geoip script contains a secret
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-08-06 18:41:09 +02:00
Aurélien Bompard
2fad8816a6 Restore the GeoIP download script
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-08-06 18:19:57 +02:00
Carl George
fafd6f1adc batcave: delete excluded content in CentOS sync scripts 2024-07-15 21:30:51 -05:00
james02135
abbddf11db Change typo from isos to iso, exclude source
Signed-off-by: james02135 <james02135@hotmail.com>

Change typo from isos to iso, exclude source

Signed-off-by: james02135 <james02135@hotmail.com>

Fix typo in centos 9 sync script

Signed-off-by: james02135 <james02135@hotmail.com>

Include the appropriate exclusions in the CentOS 9 script

Signed-off-by: james02135 <james02135@hotmail.com>
2024-07-09 10:57:12 +00:00
Stephen Smoogen
432a3a497b Go through and remove entries for EL6 and EL7
Using `git grep el6` and `git grep el7` and variants like EL-7 or
el-7, I found various entries and files which were no longer needed
with the current ansible. I updated text or tests to later versions of
RHEL as needed.

found entries for the fedora ami's for the original cloud and removed
those entries also.

Signed-off-by: Stephen Smoogen <ssmoogen@redhat.com>
2024-07-03 22:20:30 +00:00