Skip to content

Commit

Permalink
start ocis-server after fakeoffice is ready
Browse files Browse the repository at this point in the history
  • Loading branch information
saw-jan committed Jul 11, 2023
1 parent bd5072c commit d21899b
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -898,6 +898,16 @@ def wopiValidatorTests(ctx, storage, accounts_hash_difficulty = 4):
"sh %s/tests/config/drone/serve-hosting-discovery.sh" % (dirs["base"]),
],
},
{
"name": "wait-for-fakeoffice",
"image": OC_CI_ALPINE,
"commands": [
"curl -k --fail --retry-connrefused --retry 9 --retry-all-errors 'http://fakeoffice:8080'",
],
},
] +
ocisServer(storage, accounts_hash_difficulty, [], [], "wopi_validator") +
[
{
"name": "wopiserver",
"image": "cs3org/wopiserver:v10.0.1",
Expand All @@ -916,7 +926,6 @@ def wopiValidatorTests(ctx, storage, accounts_hash_difficulty = 4):
],
},
] +
ocisServer(storage, accounts_hash_difficulty, [], [], "wopi_validator") +
[
{
"name": "prepare-test-file-%s" % (storage),
Expand Down

0 comments on commit d21899b

Please sign in to comment.