Skip to content

Commit

Permalink
Whitelist the metrics-solana-com buildkite agent from docker containe…
Browse files Browse the repository at this point in the history
…r cleanup
  • Loading branch information
mvines committed Feb 7, 2019
1 parent d1945c2 commit 8136d52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .buildkite/hooks/post-checkout
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8136d52

Please sign in to comment.