[FOLIO-2559] create or retrofit the tenant clean-up script for folio-snapshot/stable Created: 08/Apr/20 Updated: 03/Jun/20 Resolved: 20/Apr/20 |
|
| Status: | Closed |
| Project: | FOLIO |
| Components: | None |
| Affects versions: | None |
| Fix versions: | None |
| Type: | Task | Priority: | P2 |
| Reporter: | Jakub Skoczen | Assignee: | Ian Hardy |
| Resolution: | Done | Votes: | 0 |
| Labels: | devops-backlog | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original estimate: | Not Specified | ||
| Issue links: |
|
||||||||||||||||||||
| Sprint: | DevOps: sprint 86, DevOps: sprint 87 | ||||||||||||||||||||
| Development Team: | FOLIO DevOps | ||||||||||||||||||||
| Description |
|
We need a way to clean-up the "old" stable tenant and "old" snapshot tenant at the point when we switch over. It's probably better done directly rather than through the clean-up job. |
| Comments |
| Comment by Ian Hardy [ 17/Apr/20 ] |
|
This should be a jenkins job which takes a tenant and okapi/k8s version as input and deletes the tenant using the purge parameter if possible. This can be called from various cleanup scripts. |
| Comment by Ian Hardy [ 17/Apr/20 ] |
|
Added a script that takes a tenant and okapi url as input to clean up a tenant: https://github.com/folio-org/jenkins-pipeline-libs/pull/84 This is something that can be invoked when that switch is made and doesn't need to go into a currently running job right (John Malconian)? |