bcgov / platform-services-registry

Platform services OCP project registry
https://registry.developer.gov.bc.ca/
Apache License 2.0
9 stars 13 forks source link

automatic scheduled Temporary products deletion request #3077

Closed Kolezhanchik closed 3 months ago

Kolezhanchik commented 5 months ago

send deletion requests automatically in 30 days a product was created with isTest flag send notifications to users notifying about soon Temporary product deletion

If the temporary product, that is due for deletion, has job running, it can't be deleted and we need to reach to the product contacts and/or plat admins to stop the job in that product space.

junminahn commented 4 months ago

reference:

funtigr commented 3 months ago

The task is showing fails in Airflow and some in logs (though works).

image.png image.png
funtigr commented 3 months ago

Update. If there are many requests it works for parts of them. They are all older than 30 days:

image.png
funtigr commented 3 months ago

Now works as expected.

image.png