mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-02-08 04:58:57 -06:00
Improve wait-for-ocis check
Retry on all HTTP response codes indicating and error.
This commit is contained in:
committed by
Christian Richter
parent
d84f3043ca
commit
26bc531c52
@@ -1735,7 +1735,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 --retry 10 --retry-all-errors 'https://ocis-server:9200/graph/v1.0/users/ddc2004c-0977-11eb-9d3f-a793888cd0f8'",
|
||||
"curl -k -u admin:admin --fail --retry-connrefused --retry 10 --retry-all-errors 'https://ocis-server:9200/graph/v1.0/users/ddc2004c-0977-11eb-9d3f-a793888cd0f8'",
|
||||
],
|
||||
"depends_on": depends_on,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user