Skip to content

Make it possible to clean the review apps with a CI/CD job

Achilleas Pipinellis requested to merge axil-clean-review-apps-job into main

There's a script that runs hourly on the server that hosts the review apps and removes the ones older than 30 days. If the server's disk space was filled up, we'd have to SSH into the server and manually run the clean-pages script.

Instead of doing that, create a CI/CD job that does this for us.

I was thinking we could manually create a pipeline and set the CLEAN_REVIEW_APPS_DAYS variable to an integer that would passed on the clean-pages script.

Related issues/MRs:

Edited by Achilleas Pipinellis

Merge request reports