Commit Graph

61 Commits

Author SHA1 Message Date
Kevin Fenzi
6d796a6fff basset: remove monitoring, we havent deployed this in years
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-07-08 10:45:24 -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
Michal Konecny
f020dbead1 [firmitas] Change the oc binary location
/root/bin/oc doesn't exist, let's change it to just oc as in other
playbooks.

I also don't understand why firmitas deployment is completely different
than rest of our openshift applications.
2025-07-02 16:02:14 +02:00
Michal Konecny
5df3cd8789 [firmitas] Make the cronjob run every week
This change is already done on production. So let's make it more
permanent.

See https://pagure.io/fedora-infrastructure/issue/12532#comment-969100
for more info.
2025-05-06 08:24:24 +00: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
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
David Kirwan
ce4a415eb0 firmitas: configure the cronjob to run once a month
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2025-01-23 08:38:21 +00:00
Ryan Lerch
dbdb0d9824 Fix the final 50ish casing linting errors
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-22 07:30:55 +10:00
David Kirwan
f614850bb8 firmitas: change location of certlist.yml in myconfig.py
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2025-01-21 10:43:07 +00:00
David Kirwan
3a0ff8701c firmitas: Removed refernces to certlist.yml
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2025-01-21 10:22:21 +00:00
Ryan Lerch
a0cd459d47 Fix some references in tasks dropping .j2
When fixing conflicts when merging the PR containing commit 47c68f4,
some of the .j2 suffuxes i added in tasks were erronounusly dropped.

this fixes those.

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 19:44:59 +10: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
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
Ryan Lerch
2095e23c66 firmitas - rename yml/yaml templates to .j2
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-14 08:37:30 +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
David Kirwan
66623448bb firmitas: fix location of certlist.yaml on disk
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-11-14 12:22:08 +00:00
David Kirwan
ccb4fff44e firmitas: updated the assignee user
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-11-14 12:10:16 +00:00
David Kirwan
4c48548812 firmitas: removing quotes around integer variable
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-11-13 10:15:27 +00:00
David Kirwan
11eb8692d5 firmitas: add variable number of days before cert expiry notifcations
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-11-13 10:01:22 +00:00
David Kirwan
d8a87146b0 firmitas: update configuration to handle inclusion of repo variable
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-11-13 09:52:51 +00:00
David Kirwan
7aafff7863 firmitas: update policies on concurrency and restarting
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-10-31 11:56:14 +00:00
David Kirwan
f052eb12a2 firmitas: fix cronjob restartpolicy to correct value
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-10-31 11:34:23 +00:00
David Kirwan
5b227a2e93 firmitas: add missing required value to cronjob onRestart policy
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-10-31 11:32:02 +00:00
David Kirwan
23a07fbcaa firmitas: remove deployment, work carried out inside cronjob instead
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-10-31 10:08:59 +00:00
David Kirwan
2f550bde13 firmitas: move certlist.yml to location with writeaccess
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-10-07 13:02:32 +01:00
David Kirwan
aee21c9e3e firmitas: point the config at the correct location of the certlist.yml
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-10-07 12:45:36 +01:00
David Kirwan
8c8303bf7a firmitas: update the certlist.yml template
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-10-07 12:31:48 +01:00
David Kirwan
81b2f70ba6 firmitas: move configuration mount point
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-09-30 14:13:35 +01:00
David Kirwan
17aeb2c7a8 firmitas: add PVC volume mounts for cronjob and deployment
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-09-30 14:03:25 +01: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
David Kirwan
198ad865f9 firmitas: update storageclass type to cephfs to allow RWX access
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-09-18 14:03:51 +01:00
David Kirwan
c75590b127 firmitas: update the persistent volume access mode to RWX
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-09-18 13:45:36 +01:00
David Kirwan
94a61eee97 firmitas: correct path to cert downloader script
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-09-18 13:37:30 +01:00
David Kirwan
632c93acdd firmitas: enable the cronjob
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-09-18 13:36:21 +01:00
David Kirwan
7ef3365fc0 firmitas: correct path for cert downloader script inside cronjob
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-09-18 13:33:06 +01:00
David Kirwan
24f8e2af1a firmitas: update deployment to point at workingdir/myconfig.py
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-09-16 10:26:32 +01:00
David Kirwan
4b775d3a06 firmitas: update mountpoint for deployment and cronjob
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-09-09 14:41:42 +01:00
David Kirwan
7cccbeed79 firmitas: indent volume mount correctly in cronjob template
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-09-09 14:40:13 +01:00
David Kirwan
a30d42b919 firmitas: update workdir location for certs
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-09-09 14:32:49 +01:00
David Kirwan
293d4d65d4 firmitas: add cronjob to download certs
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-08-28 14:00:30 +01:00
David Kirwan
c4b397b98d firmitas: Update cert location in myconfig.py file
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-07-24 15:18:22 +01:00
David Kirwan
6456eabaee firmitas: update command/entrypoint in deployment
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-07-24 14:45:28 +01:00
David Kirwan
25b782ea9d firmitas: ensure the contents of the slurped file is stored in var
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-07-24 14:35:07 +01:00
David Kirwan
54003d7b5e firmitas: reuse slurp, remove b64encode
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-07-24 14:30:47 +01:00
David Kirwan
d324d3b40d firmitas: retry loading files into vars using lookup file
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-07-24 14:26:52 +01:00
David Kirwan
2a8d2538c0 firmitas: fix directory paths for config templates
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-07-23 14:55:17 +01:00
David Kirwan
57ca9d90b5 firmitas: ensure template directory created first
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-07-23 14:51:31 +01:00