fix(ci): fix flaky t0081-repo-pinning.sh (#8919)

* fix(ci): fix flaky t0081-repo-pinning.sh

Sometimes docker pull fails, this will retry.

* add upper bound on # retries (3)

Co-authored-by: Gus Eggert <gus@gus.dev>
(cherry picked from commit 6a4ee0a8a5)
This commit is contained in:
Marcin Rataj 2022-05-06 23:57:47 +02:00 committed by Gus Eggert
parent a7048c4551
commit a6dc7afe4c
No known key found for this signature in database
GPG Key ID: 08403467A64C485E

View File

@ -177,7 +177,7 @@ jobs:
git checkout FETCH_HEAD
- run:
cd rb-pinning-service-api &&
docker-compose pull &&
(for i in {1..3}; do docker-compose pull && break || sleep 5; done) &&
docker-compose up -d
- *make_out_dirs