fix(doc): Explain how image deletion actually works (#5124)
* Explain how image deletion actually works * Be clearer about exactly what happens
This commit is contained in:
parent
2cbc85ce1e
commit
113ff04dc2
|
@ -73,12 +73,15 @@ jobs:
|
|||
|
||||
# Deletes cache images older than $DELETE_AGE_DAYS days.
|
||||
#
|
||||
# Keeps the latest $KEEP_LATEST_IMAGE_COUNT images of each type:
|
||||
# Keeps all images younger than $DELETE_AGE_DAYS.
|
||||
# Also keeps $KEEP_LATEST_IMAGE_COUNT older images of each type:
|
||||
# - zebrad checkpoint cache
|
||||
# - zebrad tip cache
|
||||
# - lightwalletd + zebrad tip cache
|
||||
#
|
||||
# TODO: when we add testnet to the workflows, keep the latest $KEEP_LATEST_IMAGE_COUNT testnet images,
|
||||
# TODO:
|
||||
# - keep the latest $KEEP_LATEST_IMAGE_COUNT, if there are at least that many recent images, delete all the outdated images
|
||||
# - when we add testnet to the workflows, keep the latest $KEEP_LATEST_IMAGE_COUNT testnet images,
|
||||
# and the latest $KEEP_LATEST_IMAGE_COUNT mainnet images.
|
||||
- name: Delete old cache disks
|
||||
run: |
|
||||
|
|
Loading…
Reference in New Issue