docs: tighten spec wording
CI / validate (pull_request) Failing after 1m5s
CI / molecule-tests (1) (pull_request) Skipped
CI / molecule-tests (2) (pull_request) Skipped
CI / molecule-tests (3) (pull_request) Skipped
CI / molecule-tests (4) (pull_request) Skipped
CI / auto-merge (pull_request) Skipped
CI / validate (pull_request) Failing after 1m5s
CI / molecule-tests (1) (pull_request) Skipped
CI / molecule-tests (2) (pull_request) Skipped
CI / molecule-tests (3) (pull_request) Skipped
CI / molecule-tests (4) (pull_request) Skipped
CI / auto-merge (pull_request) Skipped
This commit is contained in:
@@ -23,16 +23,15 @@ remove an object whose `lease-until` is in the future; expired leases are
|
|||||||
reclaimable. Existing `GITEA-ACTIONS-TASK` name-prefix and `status=exited`
|
reclaimable. Existing `GITEA-ACTIONS-TASK` name-prefix and `status=exited`
|
||||||
guards are retained for unlabeled objects.
|
guards are retained for unlabeled objects.
|
||||||
|
|
||||||
REQ-2: Introduce a single shared cleanup script
|
REQ-2: Introduce a single shared cleanup script (`runner-cleanup.sh`,
|
||||||
(`runner-cleanup.sh`, templated next to the healthcheck script) invoked with
|
templated next to the healthcheck script) invoked with
|
||||||
`--tier routine|pressure|critical`. It replaces all inline prune logic in
|
`--tier routine|pressure|critical`, replacing all inline prune logic in
|
||||||
`docker-prune.service` and the healthcheck. Every prune is scoped: volumes and
|
`docker-prune.service` and the healthcheck. Every prune is scoped (leases,
|
||||||
networks get `label!=`/`until=` filters at every tier (no unfiltered volume or
|
`until=` where supported); images matching `gitea_runner_keep_images` are
|
||||||
network prune remains); images matching `gitea_runner_keep_images` are never
|
never removed, so warm base layers survive critical pressure.
|
||||||
removed, so warm base layers survive critical pressure.
|
|
||||||
|
|
||||||
REQ-3: Watermark-tiered behavior. `routine` (timer) prunes aged resources only.
|
REQ-3: Watermark-tiered behavior: `routine` (timer) prunes aged resources;
|
||||||
`pressure` (disk >= warn) prunes unowned resources older than 1h. `critical`
|
`pressure` (disk >= warn) prunes unowned resources older than 1h; `critical`
|
||||||
(disk >= critical) drops age limits but still honors leases, keep-images, and
|
(disk >= critical) drops age limits but still honors leases, keep-images, and
|
||||||
never removes running or `GITEA-ACTIONS-TASK` containers.
|
never removes running or `GITEA-ACTIONS-TASK` containers.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user