Commit graph

965 commits

Author SHA1 Message Date
Kevin Fenzi
8a9adc58ec riscv: add another 20 keytabs
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-05-13 14:21:41 -07:00
Aurélien Bompard
ba7712dd43
Update manual playbooks that expect unsuffixed job.yml template
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-05-13 11:30:36 +02:00
Jiri Kyjovsky
69237d1349 copr/pulp: remove pulp playbooks
Pulp folks gave us their instance, we don't have to maintaint our own
anymore.
2025-05-05 10:56:24 +02:00
Kevin Fenzi
b6bf597a91 riscv secondary koji: add manual script to generate builder keytabs
This script will generate a list of builder keytabs and place them on
the riscv secondary hub where they can be distributed to builders.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-04-30 09:44:39 -07:00
Patrik Polakovič
bdc169d3c7 Add Fedora version variable to the playbook
Signed-off-by: Patrik Polakovič <patrik@alphamail.org>
2025-04-28 12:18:58 +02:00
Kevin Fenzi
bea41a6732 koji / staging sync: increase sequences to be higher than prod
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-04-25 09:15:08 -07:00
Kevin Fenzi
4da0ff7c4d koji / sync staging: drop removed warn arg
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-04-25 09:06:23 -07:00
Pavel Raiskup
33e01feafc copr-frontend: upgrade using dnf command
The Ansible dnf module still fails to update packages to the latest
versions, for an unknown reason.
2025-03-26 08:06:49 +01:00
Pavel Raiskup
d2873f81f7 copr-frontend: try to expire all caches
Ansible still doesn't update the packages :-(
2025-03-26 08:03:40 +01:00
Pavel Raiskup
0f07d5c9d0 copr-frontend: update dnf caches when updating packages 2025-03-26 08:00:09 +01:00
Aurélien Bompard
90e0325597
D'uh
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-03-13 17:15:06 +01:00
Aurélien Bompard
4df684038d
Minor fixup
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-03-13 17:13:55 +01:00
Aurélien Bompard
a32457a7aa
Add a playbook to sync the Badges DB to staging
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-03-13 17:12:34 +01:00
Jiri Kyjovsky
1e8c7dcba9 copr: we now use dnf5 on copr, theres no need of dnf-plugins-core then 2025-02-24 13:56:45 +01:00
Patrik Polakovič
d63afb09d8 Remove all mentions of monitor-gating
Signed-off-by: Patrik Polakovič <patrik@alphamail.org>
2025-02-20 11:07:20 +01: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
Kevin Fenzi
62b9bcbce2 bodhi / staging-sync: fix copy syntax
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-02-10 17:04:59 -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
Kevin Fenzi
2ad6517991 koji-sync: fix name of vars, they should not be capatilized
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-02-07 10:42:26 -08: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
iamyaash
b3d6a90b9a motd generic template added
migrated notes from infra/hosts

motd changes; excluding CSI infos

removed csi_* vars from group_vars; converted csi_purpose & csi_relationship into notes

fixed merge conflicts

minor changes; var

updating YAMLs & playbooks

udpated YAMLs & playbooks again

updated correctly; buildhw.yml

fixing merge conflicts

dest added in motd.yml
2025-01-28 01:10:14 +00:00
dbdb0d9824 Fix the final 50ish casing linting errors
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-22 07:30:55 +10:00
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
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
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
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
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
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
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
Aurélien Bompard
b4462755f0
Prefix variables in rabbit/queue
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-12-03 11:58:18 +01:00
Aurélien Bompard
b37685848f
Prefix sent_topics where appropriate
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-12-03 11:39:54 +01:00
Aurélien Bompard
6bebe964f6
Prefix openshift-apps/koschei/job
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-12-03 10:48:46 +01:00
Aurélien Bompard
c5f8fe7189
Prefix openshift/import-image
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-12-03 10:48:46 +01:00
Aurélien Bompard
e5a47b8e0d
Prefix openshift/sysadmin-openshift
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-12-03 10:48:46 +01:00
Aurélien Bompard
a36b40eec8
Prefix openshift/start-build
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-12-03 10:48:45 +01:00
Aurélien Bompard
560a31ef5b
Prefix openshift/object-delete
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-12-03 10:48:45 +01:00
Aurélien Bompard
39f2e86658
Prefix openshift/job
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-12-03 10:48:45 +01:00
776866cba3
[ansible-lint] prefix variable names for openshift/object role
ansible-lint requires that variables for roles are prefixed with the
name of the role. This commit prefixes the variables for the
openshift/object role with object_ as required by ansible-lint

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2024-12-03 10:48:45 +01:00
David Kirwan
a8516d7b38
communishift: playbook rename for sending email notifications
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-11-25 17:29:42 +00:00
David Kirwan
19edfbb42e
communishift: mark admin namespace as do not delete
will move project offboarding into separate playbook
add fasjson lookup for communishift project notifications

Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-11-25 17:03:01 +00:00
2cf38c1f17 [yaml-lint] fix yamllint errors and warnings on plabooks
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2024-11-25 19:04:25 +10:00
Aurélien Bompard
692b98ece0
name is a reserved variable
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-11-18 17:33:37 +01:00
David Kirwan
0df3922881
communishift: wip cleanup notifications debuggin 2024-10-24 15:41:03 +01:00
David Kirwan
7f110e01df
communishift: wip debugging notifcation system cleanup 2024-10-24 15:32:31 +01:00
David Kirwan
8a30fc6118
communishift: wip cleanup and notifcation tasks
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-10-24 13:55:01 +01:00
Kevin Fenzi
b288e65343 ocp4 sysadmin: update to drop folks not around anymore and add james
james is going to poke around getting ACS working in staging, so add him
here. Drop some folks who are not really around anymore.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-10-15 12:27:03 -07:00
Kevin Fenzi
1cab62674b koji / manual / staging sync: fixes from recent sync
* The password was being set to the prod one
* The allowed ip in the database was the phx2 one. ;(
* The sequences were too low, prod already passed those, so increase
  them.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-10-03 10:03:52 -07:00
Kevin Fenzi
2979a245d7 koji / upgrade: fix staging groups
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-09-26 11:24:26 -07:00
Kevin Fenzi
8a18b535f8 gluster: remove old gluster role
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-09-24 11:40:42 -07:00
Kevin Fenzi
e3e2cb1d93 odcs: retire service ( infra 12192 )
Time to retire ODCS. ELN is moved off and that was the last thing using
it. Thanks for all the service ODCS!

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-09-24 18:21:51 +00:00