-
Notifications
You must be signed in to change notification settings - Fork 229
[tests-only][full-ci] Test: run wopi suite in k8s #11870
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
9f0c580 to
7624c85
Compare
eca3f30 to
2599db2
Compare
|
|
||
| def patchCollaborationWopiSrc(): | ||
| """Force COLLABORATION_WOPI_SRC to use wopiSrc from values""" | ||
| return [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sed is avoided because this requires multi-line parsing.
384fca3 to
a0ee820
Compare
| "sed -i 's|name: sharing-banned-passwords-{{ .appName }}|name: sharing-banned-passwords|' ./charts/ocis/templates/frontend/deployment.yaml", | ||
| # Add OCIS_CONFIG_DIR env var to appregistry deployment | ||
| "grep -q 'name: OCIS_CONFIG_DIR' ./charts/ocis/templates/appregistry/deployment.yaml || " + | ||
| "cat > /tmp/patch_appregistry.py << 'EOF'" + "\n" + |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using Python/awk to reliably insert multi-line YAML — sed's escaping produced invalid YAML.
0104f9a to
17ac760
Compare
|
fb30d0c to
6a83848
Compare



Description
Key Changes
1. CI Pipeline Configuration (.drone.star)
"k8s": Trueand"skip": Falsefor the wopi test configuration targeting theapiCollaborationsuite"collaborationServiceNeeded": Trueto ensure WOPI services are deployed2. WOPI Configuration and Setup
getWopiPortForwardCommands()for exposing collaboration services on localhost ports (9300, 9302, 9304, 9305)3. Feature File Corrections
4. Kubernetes Infrastructure
5. Test Environment Setup
Technical Details
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: