michaelsembwever commented on code in PR #113:
URL: https://github.com/apache/cassandra-builds/pull/113#discussion_r2034048815
##########
jenkins-dsl/agent_scripts/docker_agent_cleaner.sh:
##########
@@ -38,8 +38,8 @@ error() {
exit $1
}
-echo -n "docker system prune --all --force --filter \"until=${maxJobHours}h\"
: "
Review Comment:
Yes. The three in-tree docker images (under `.build/docker/`) are tagged
by their md5sum.
The md5sum tag of these three images, for all maintained branches (currently
just 5.0 and trunk), we want to keep on each agent.
Older md5sums (or patched versions on dev branches) we don't want to keep
around.
Pruning images (and keeping these latest md5sum tags) is what
`docker_image_pruner.py` does.
The logic for the download or build the md5sum images is found,
here (for builds):
https://github.com/apache/cassandra/blob/trunk/.build/docker/_docker_run.sh#L96-L112
and here (for tests):
https://github.com/apache/cassandra/blob/trunk/.build/docker/run-tests.sh#L138-L154
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]