Whitelist the metrics-solana-com buildkite agent from docker container cleanup
This commit is contained in:
parent
d1945c29d7
commit
8136d52c0b
|
@ -7,8 +7,8 @@ export CI_BUILD_START
|
|||
#
|
||||
(
|
||||
containers=$(docker ps -q)
|
||||
if [[ -n $containers ]]; then
|
||||
echo "Killing stale docker containers"
|
||||
if [[ $(hostname) != metrics-solana-com && -n $containers ]]; then
|
||||
echo "+++ Killing stale docker containers"
|
||||
docker ps
|
||||
|
||||
# shellcheck disable=SC2086 # Don't want to double quote $containers
|
||||
|
|
Loading…
Reference in New Issue