[tests-only][full-ci] Test: Include apiCollaboration test suite to run in k8s#12018
Merged
[tests-only][full-ci] Test: Include apiCollaboration test suite to run in k8s#12018
Conversation
1abc874 to
555be0b
Compare
f006ba3 to
bf3f8e0
Compare
22 tasks
|
9 tasks
saw-jan
approved these changes
Mar 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
This PR adds WOPI collaboration test suite to run in k8s CI pipeline.
1.
wopiCollaborationServiceneedsocis_urlparameterBecause in k8s, OCIS runs at a different URL than the hardcoded
OCIS_URLconstant. The collaboration service needs to know where OCIS is to communicate with it.2. Patch
collaboration/deployment.yamlto use{{ $officeSuite.wopiSrc }}In k8s, the WOPI source URL is not a fixed
http://*:9300— it varies per office suite (collabora, fakeoffice, onlyoffice). Using the Helm template variable makes it dynamic.3. Remove
values.schema.jsonbefore helm installThe schema validation was blocking extra configs needed for WOPI/fakeoffice setup in k8s. Removing it allows the custom
deployment-values.yamloverrides to pass through.4.
enableAppsIntegrationK8sWOPI requires
appsIntegrationto be enabled in the Helm values — it's off by default.5.
exposeExternalServersK8sCollabora, fakeoffice, and onlyoffice run as Drone services (outside k8s). This bridges them into the k8s cluster so OCIS pods can reach them.
6.
exposeNodePortsK8sThe collaboration services running inside k8s need to be reachable from outside (i.e., from the test runner). NodePort exposes them on the k3s node.
Changes made in
tests/acceptance/features/apiCollaboration/wopi.feature:$fromWOPISrcURL regex patterns — the old pattern required the URL to end after the file ID([a-fA-F0-9]{64}$), but in k8s the URL has additional query parameters after it, so the$end anchor was too strict.app=FakeOfficetoapp=(FakeOffice|Collabora|OnlyOffice)because in k8s all three office suites are registered and any one of them could be returned.Passing build:
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: