Commit Graph

54 Commits

Author SHA1 Message Date
David Kirwan
c7b256b857 communishift: wip shutting down projects marked for deletion
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2026-01-23 13:23:03 +00: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
David Kirwan
3272113adc communishift: enabling the notifications to go to project admins
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2025-12-18 15:54:42 +00:00
David Kirwan
ada7943373 communishift: remove unnecessary imports in clean up notification tasks
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2025-12-18 15:34:33 +00:00
David Kirwan
b28a963e32 communishift: clean up the project cleanup notification tasks
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2025-12-18 15:26:57 +00: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
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
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
ff8d1266ce communishift: add admin email address as cc to notifications
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-11-25 17:04:32 +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
David Kirwan
edf3441fed communishift: tidy up email template
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-11-21 16:16:43 +00:00
David Kirwan
0092d0d4a3 communishift: disable fasjson queries for the moment
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-11-21 16:07:48 +00:00
David Kirwan
4621257a14 communishift: wip replace hardcoded vars with variables
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-11-21 15:58:01 +00:00
David Kirwan
afb27cc96d communishift: wip cleanup email notification
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-11-21 15:54:30 +00:00
David Kirwan
d94640cfcf communishift: resolving some ansible-lint errrors
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-11-11 10:27:21 +00:00
David Kirwan
7ee1b529ba communishift: fixing yamllint errors
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-11-11 09:07:40 +00:00
David Kirwan
1074076b9a communishift: update deletion notification message
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-11-11 08:18:09 +00:00
David Kirwan
7f110e01df communishift: wip debugging notifcation system cleanup 2024-10-24 15:32:31 +01:00
David Kirwan
339b3e0231 communishift: fix task syntax
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-10-24 14:01:26 +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
Leo Puvilland
65f06a461c communishift: allow overriding of max pods, and increase pods of openscanhub to 16
Signed-off-by: Leo Puvilland <leo@craftcat.dev>
2024-03-11 13:49:52 +00:00
Kevin Fenzi
da6667921a communishift: and a typo. sigh
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-11-16 13:40:48 -08:00
Kevin Fenzi
57065ba607 communishift: how about single quotes
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-11-16 13:38:45 -08:00
Kevin Fenzi
0a7b19d541 communishift: set defaults
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-11-16 13:35:06 -08:00
Leo Puvilland
7151598324 bugfix: replace communishift_project_name with item.value.name 2023-11-16 12:58:19 -08:00
Leo Puvilland
125f956f06 rework communishift to allow for per-project resource requirements 2023-11-16 19:52:58 +00:00
Francois Andrieu
7e979cb2f7 communishift: set default resource limits for pods
Once a resource quota is set for a namespace, kube will refuse to
schedule any pod without limits set, including build pod.
This can be difficult to figure out unless you know where to look, and
can be challenging for new openshift/kubernetes users.
Setting a default limit would, at least, avoid the non-schedulable
issue.
2023-02-05 22:46:55 +00:00
David Kirwan
0892ba8a48 communishift: fix filesystem permissions on efs storage mount
Signed-off-by: David Kirwan <dkirwan@redhat.com>
Signed-off-by: Lenka Segura <lsegura@redhat.com>
Signed-off-by: Patrik Polakovic <ppolakov@redhat.com>
2022-09-12 13:48:10 +01:00
David Kirwan
f96fdf8fb1 communishift: fix filesystem permissions on efs storage mount
Signed-off-by: David Kirwan <dkirwan@redhat.com>
Signed-off-by: Lenka Segura <lsegura@redhat.com>
Signed-off-by: Patrik Polakovic <ppolakov@redhat.com>
2022-09-12 13:38:52 +01:00
David Kirwan
44dea690d5 communishift: fix filesystem permissions on efs storage mount
Signed-off-by: David Kirwan <dkirwan@redhat.com>
Signed-off-by: Lenka Segura <lsegura@redhat.com>
Signed-off-by: Patrik Polakovic <ppolakov@redhat.com>
2022-09-12 13:10:55 +01:00
David Kirwan
b1b7dc507f communishift: debugging filesystem permissions on storage mount
Signed-off-by: David Kirwan <dkirwan@redhat.com>
Signed-off-by: Lenka Segura <lsegura@redhat.com>
Signed-off-by: Patrik Polakovic <ppolakov@redhat.com>
2022-09-12 12:53:19 +01:00
David Kirwan
fe0c26ea9d communishift: Fixing filesystem permissions on storage mount
Signed-off-by: David Kirwan <dkirwan@redhat.com>
Signed-off-by: Lenka Segura <lsegura@redhat.com>
Signed-off-by: Patrik Polakovic <ppolakov@redhat.com>
2022-09-12 10:53:24 +01:00
David Kirwan
d37f87ec1a communishift: Fixing tags on the deploy operator task
Signed-off-by: David Kirwan <dkirwan@redhat.com>
Signed-off-by: Lenka Segura <lsegura@redhat.com>
Signed-off-by: Patrik Polakovic <ppolakov@redhat.com>
2022-09-08 11:55:06 +01:00
David Kirwan
78e58efee1 communishift: Create k8s secret for the communishiftauthorization
operator

Signed-off-by: David Kirwan <dkirwan@redhat.com>
Signed-off-by: Lenka Segura <lsegura@redhat.com>
Signed-off-by: Patrik Polakovic <ppolakov@redhat.com>
2022-09-08 11:47:43 +01:00
David Kirwan
27a514218c communishift: Minor formatting documentation in communishift efs custom module
Signed-off-by: David Kirwan <dkirwan@redhat.com>
Signed-off-by: Lenka Segura <lsegura@redhat.com>
Signed-off-by: Patrik Polakovic <ppolakov@redhat.com>
2022-09-01 16:41:50 +01:00
David Kirwan
2b4b5fefd0 communishift: Create directory for operator keytab
Signed-off-by: David Kirwan <dkirwan@redhat.com>
Signed-off-by: Lenka Segura <lsegura@redhat.com>
Signed-off-by: Patrik Polakovic <ppolakov@redhat.com>
2022-08-29 11:31:33 +01:00
David Kirwan
ed3f658523 communishift: Update variable cluster hostname
Signed-off-by: David Kirwan <dkirwan@redhat.com>
Signed-off-by: Lenka Segura <lsegura@redhat.com>
Signed-off-by: Patrik Polakovic <ppolakov@redhat.com>
2022-08-29 11:09:10 +01:00
David Kirwan
d9fa6611ae communishift: Add task to create namespace for communishift authorization operator
Create IPA keytab for communishift authorization operator

Signed-off-by: David Kirwan <dkirwan@redhat.com>
Signed-off-by: Lenka Segura <lsegura@redhat.com>
Signed-off-by: Patrik Polakovic <ppolakov@redhat.com>
2022-08-29 10:50:50 +01:00
David Kirwan
ae32caf150 communishift: Added task for creating Openshift ResourceQuota
Signed-off-by: David Kirwan <dkirwan@redhat.com>
Signed-off-by: Lenka Segura <lsegura@redhat.com>
Signed-off-by: Patrik Polakovic <ppolakov@redhat.com>
2022-08-23 09:06:20 +01:00
David Kirwan
ccafc89498 communishift: Added task for creating Openshift Role, RoleBindings
Signed-off-by: David Kirwan <dkirwan@redhat.com>
Signed-off-by: Lenka Segura <lsegura@redhat.com>
Signed-off-by: Patrik Polakovic <ppolakov@redhat.com>
2022-08-22 12:06:36 +01:00
Lenka Segura
81a5f3db0d communishift: Added EFS secrets to project namespace
Signed-off-by: David Kirwan <dkirwan@redhat.com>
Signed-off-by: Lenka Segura <lsegura@redhat.com>
Signed-off-by: Patrik Polakovic <ppolakov@redhat.com>
2022-08-18 16:47:06 +02:00
Lenka Segura
b4368593fe communishift: Added task for creating Openshift Group
Signed-off-by: David Kirwan <dkirwan@redhat.com>
Signed-off-by: Lenka Segura <lsegura@redhat.com>
Signed-off-by: Patrik Polakovic <ppolakov@redhat.com>
2022-08-18 12:38:59 +02:00
David Kirwan
e9bced043b communishift: Configure AWS EFS to continue on fail
Signed-off-by: David Kirwan <dkirwan@redhat.com>
Signed-off-by: Lenka Segura <lsegura@redhat.com>
Signed-off-by: Patrik Polakovic <ppolakov@redhat.com>
2022-08-16 15:29:22 +01:00
David Kirwan
b1a0394649 communishift: Added tasks for creating project namespaces
Signed-off-by: David Kirwan <dkirwan@redhat.com>
Signed-off-by: Lenka Segura <lsegura@redhat.com>
Signed-off-by: Patrik Polakovic <ppolakov@redhat.com>
2022-08-16 15:00:28 +01:00
David Kirwan
2007abcbd0 communishift: Added role for creating AWS EFS resources on demand
Signed-off-by: David Kirwan <dkirwan@redhat.com>
Signed-off-by: Lenka Segura <lsegura@redhat.com>
Signed-off-by: Patrik Polakovic <ppolakov@redhat.com>
2022-08-16 14:38:34 +01:00
David Kirwan
fa8a2f38df communishift: configuration playbook to take project parameter list
Signed-off-by: David Kirwan <dkirwan@redhat.com>
Signed-off-by: Lenka Segura <lsegura@redhat.com>
Signed-off-by: Patrik Polakovic <ppolakov@redhat.com>
2022-08-11 14:03:04 +01:00
David Kirwan
34529598be communishift: removing never tag
Signed-off-by: David Kirwan <dkirwan@redhat.com>
Signed-off-by: Lenka Segura <lsegura@redhat.com>
Signed-off-by: Patrik Polakovic <ppolakov@redhat.com>
2022-08-11 12:14:10 +01:00
David Kirwan
916c1cf419 communishift: setting never tag to create efs role
Signed-off-by: David Kirwan <dkirwan@redhat.com>
Signed-off-by: Lenka Segura <lsegura@redhat.com>
Signed-off-by: Patrik Polakovic <ppolakov@redhat.com>
2022-08-11 12:10:42 +01:00
David Kirwan
0f31a890c4 communishift: debugging role
Signed-off-by: David Kirwan <dkirwan@redhat.com>
Signed-off-by: Lenka Segura <lsegura@redhat.com>
Signed-off-by: Patrik Polakovic <ppolakov@redhat.com>
2022-08-11 11:49:41 +01:00
David Kirwan
27acedb9b8 communishift: debugging variable substitution
Signed-off-by: David Kirwan <dkirwan@redhat.com>
Signed-off-by: Lenka Segura <lsegura@redhat.com>
Signed-off-by: Patrik Polakovic <ppolakov@redhat.com>
2022-08-11 11:37:06 +01:00