You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@cassandra.apache.org by GitBox <gi...@apache.org> on 2021/04/07 10:40:46 UTC

[GitHub] [cassandra-builds] michaelsembwever commented on a change in pull request #41: Use the jenkins agent API to identify when the agent is idle

michaelsembwever commented on a change in pull request #41:
URL: https://github.com/apache/cassandra-builds/pull/41#discussion_r608539697



##########
File path: jenkins-dsl/cassandra_job_dsl_seed.groovy
##########
@@ -573,10 +573,11 @@ cassandraBranches.each {
                             }
                         }
                         postBuildTask {
-                            // the pgrep needs to catch any other build/process that is using docker
+                            // docker needs to (soon or later) prune its volumes too, but that can only be done when the agent is idle

Review comment:
       volumes can't be removed with the until filter is used. 
   
   so if the agents is otherwise busy, we only removed stuff that's more than 18 hours old (no build is running that long).
   
   when the agent is idle, we know we can wipe it all.




-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org