Run the Communishift Clean Up Script
Resources
Add project name to variables
Members of sysadmin-openshift can run this playbook at [1]. It contains the list of communishift projects. When on boarding, add the new name of the project to the communishift_projects dictionary in inventory/group_vars/all.
If needed, resource quotas can be overriden from defaults in the same dictionary. The do_not_delete: true variable attached to a project will prevent the project from recieving notifications and being cleaned up by cleanup scripts.
Run the playbook to send notifications
Run the playbook[1] on the batcave in order to send notifications to project administrators.
sudo rbac-playbook manual/communishift_send_email_notifications.yml
Cleaning up projects
The system for actually deleting the projects is not automated. Please manually delete each one.
Finally update the all groups var with the remaining list of projects
Update the communishift_projects dictionary in inventory/groups/all to include only the remaining projects which were not removed as part of this process eg:
communishift_projects:
communishift-fedora-review-service:
name: communishift-fedora-review-service
do_not_delete: true # Marked do not delete 2024-10-21
communishift-log-detective:
name: communishift-log-detective
do_not_delete: true # Marked do not delete 2024-10-21
memory_requests: 4Gi
memory_limits: 6Gi
storage_requests: 10Gi
Please also disable each FAS group which corresponded with the pruned project. It should match the name of the project listed in the inventory/groups/all communishift_projects dictionary.
Want to help? Learn how to contribute to Fedora Docs ›