explain how to manually delete a review app authored by anarcat's avatar anarcat
......@@ -310,6 +310,32 @@ pages:
- merge_requests
```
## Manually delete a review app
If, for some reason, a `stop-review` job did not run or failed to run,
the review environment will still be on the `static-shim` server. This
could use up precious disk space, so it's preferable to remove it by
hand.
The first thing is to find the review slug. If, for example, you have
a URL like:
https://review.torproject.org/tpo/tpa/status-site/review-extends-8z647c
The slug will be:
review-extends-8z647c
Then you need to remove that directory on the `static-gitlab-shim`
server. Remember there is a `subdir` to squeeze in there. The above
URL would be deleted with:
rm -rf /srv/static-gitlab-shim/review.torproject.net/public/tpo/tpa/status-site/review-extends-8z647c/
Then sync the result to the mirrors:
static-update-component review.torproject.net
## Converting a job from Jenkins
NOTE: this shouldn't be necessary anymore, as Jenkins was retired at
......
......