From b2c304c5d8c93d0b009df66834e43100c437a5af Mon Sep 17 00:00:00 2001 From: Ralf Haferkamp Date: Thu, 23 Jun 2022 13:21:33 +0200 Subject: [PATCH] Reduce the number of retries for `wait-for-ocis-server` `curl` retries with exponantional backoff. 10 retries mean more than a total of 16min wait time until we fail. This seems far too long. With 7 retries we should be at a bit more than 2 minutes max, if ocis takes that long to start, something is likely broken in the infrastructure. --- .drone.star | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.star b/.drone.star index 9e0698e5d..4426a3c7c 100644 --- a/.drone.star +++ b/.drone.star @@ -1593,7 +1593,7 @@ def ocisServer(storage, accounts_hash_difficulty = 4, volumes = [], depends_on = "name": "wait-for-ocis-server", "image": OC_CI_ALPINE, "commands": [ - "curl -k -u admin:admin --fail --retry-connrefused --retry 10 --retry-all-errors 'https://ocis-server:9200/graph/v1.0/users/admin'", + "curl -k -u admin:admin --fail --retry-connrefused --retry 7 --retry-all-errors 'https://ocis-server:9200/graph/v1.0/users/admin'", ], "depends_on": depends_on, }