Skip to content

Commit

Permalink
fix: disable proofkeys in CI and don't skip validator tests
Browse files Browse the repository at this point in the history
Proofkeys feature can't be tested with the wopi validator for now.
The "FakeOffice" doesn't provide the keys in the discovery endpoint, and
the wopi validator doesn't seem to send any header with the proof.
  • Loading branch information
jvillafanez committed Jun 12, 2024
1 parent 07a1479 commit 79eef4a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -929,6 +929,7 @@ def wopiValidatorTests(ctx, storage, wopiServerType, accounts_hash_difficulty =
"COLLABORATION_LOG_LEVEL": "debug",
"COLLABORATION_HTTP_ADDR": "0.0.0.0:9300",
"COLLABORATION_GRPC_ADDR": "0.0.0.0:9301",
"COLLABORATION_APP_PROOF_DISABLE": "true", # no proof keys available in the FakeOffice
"COLLABORATION_APP_NAME": "FakeOffice",
"COLLABORATION_APP_ADDR": "http://fakeoffice:8080",
"COLLABORATION_APP_INSECURE": "true",
Expand All @@ -955,7 +956,7 @@ def wopiValidatorTests(ctx, storage, wopiServerType, accounts_hash_difficulty =
"export WOPI_SRC=$(cat wopisrc)",
"echo $WOPI_SRC",
"cd /app",
"/app/Microsoft.Office.WopiValidator -s -t $WOPI_TOKEN -w $WOPI_SRC -l $WOPI_TTL --testgroup %s" % testgroup,
"/app/Microsoft.Office.WopiValidator -t $WOPI_TOKEN -w $WOPI_SRC -l $WOPI_TTL --testgroup %s" % testgroup,
],
})

Expand Down

0 comments on commit 79eef4a

Please sign in to comment.