Branch: refs/heads/main
Revision: 951da37bf66d5fe054e53384f1d83790775babdc
Author: arifthpe
Link: Retain linuxbrew and docker test containers until next run by arifthpe · Pull Request #28763 · chapel-lang/chapel · GitHub
Log Message:
Retain linuxbrew and docker test containers until next run (#28763)
Instead of running these containers with --rm, manually remove them
and their volumes by a static name (if present) before running them.
This has two benefits:
- Containers are kept around until the next run, so one can debug a
failed run without having to rebuild. - Orphaned containers and volumes (which could occur due to a Jenkins
disconnect) are guaranteed to be cleaned up eventually, and can't
accumulate anonymously.
[reviewed by @jabraham17, thanks!]
Diff:
M util/cron/test-docker.bash
M util/packaging/docker/test/homebrew_ci.bash
https://github.com/chapel-lang/chapel/pull/28763.diff