Skip to content

Commit

Permalink
Keep fast sleep but only print 'waiting' once
Browse files Browse the repository at this point in the history
  • Loading branch information
dconnolly committed Nov 12, 2020
1 parent 4cc0d19 commit cb08b93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:
- name: Run acceptance tests
run: |
gcloud compute ssh "zebra-tests-$BRANCH_NAME-$SHORT_SHA" --zone us-central1-a \
--command "until [[ -n \$(docker ps --all -q --filter name=zebra-test) ]]; do echo 'waiting for zebra-test'; sleep 1; done; docker attach \$(docker ps -q -a --filter name=zebra-test)"
--command "echo 'Pulling container image...'; until [[ -n \$(docker ps --all -q --filter name=zebra-test) ]]; do sleep 0.1; done; docker attach \$(docker ps -q -a --filter name=zebra-test)"
# Clean up
- name: Delete test instance
Expand Down

0 comments on commit cb08b93

Please sign in to comment.