WIP: Update .forgejo/workflows/reusable-build.yml #1

Closed
rizitis wants to merge 1 commit from (deleted):clean-up into main
First-time contributor

RUNNER HOST MAINTENANCE NOTE (for the runner administrator):

The per-job cleanup above removes dangling objects after each build, but
over time unused tagged images (e.g. old slackware-builder tags) and
volumes can still accumulate on the host.
As resault user workflows will terminate on top ""No space left on device" on the runner".

It is recommended to schedule a periodic cleanup on the runner host itself.
Add the following: crontab -e

0 3 * * * docker system prune -af 2>&1 | logger -t docker-prune

This runs nightly at 03:00, removes all unused images and build cache,
and logs the output via syslog. It is safe to run while jobs are active
because Docker will not remove images currently in use

RUNNER HOST MAINTENANCE NOTE (for the runner administrator): The per-job cleanup above removes dangling objects after each build, but over time unused tagged images (e.g. old slackware-builder tags) and volumes can still accumulate on the host. As resault user workflows will terminate on top ""No space left on device" on the runner". It is recommended to schedule a periodic cleanup on the runner host itself. Add the following: crontab -e 0 3 * * * docker system prune -af 2>&1 | logger -t docker-prune This runs nightly at 03:00, removes all unused images and build cache, and logs the output via syslog. It is safe to run while jobs are active because Docker will not remove images currently in use
RUNNER HOST MAINTENANCE NOTE (for the runner administrator):

The per-job cleanup above removes dangling objects after each build, but
over time unused tagged images (e.g. old slackware-builder tags) and
volumes can still accumulate on the host.
As resault user workflows will terminate on top ""No space left on device" on the runner".

It is recommended to schedule a periodic cleanup on the runner host itself.
Add the following: crontab -e

  0 3 * * * docker system prune -af 2>&1 | logger -t docker-prune

This runs nightly at 03:00, removes all unused images and build cache,
and logs the output via syslog.  It is safe to run while jobs are active
because Docker will not remove images currently in use
rizitis closed this pull request 2026-05-31 02:20:23 +02:00
Owner

Hi rizitis,
Apologies for the delay in answering.
I implemented a daily cron job two weeks ago which prunes everything that's older than two days.

Hi rizitis, Apologies for the delay in answering. I implemented a daily cron job two weeks ago which prunes everything that's older than two days.
Author
First-time contributor

np thank you!

np thank you!

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
slackware/ci-tools!1
No description provided.