Skip to content
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

Improve shell scripts #155

Merged
merged 192 commits into from
Jan 29, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
192 commits
Select commit Hold shift + click to select a range
856e387
fix: pondersource spelling
MahdiBaghbani Nov 23, 2024
2ae1ee4
add: functions
MahdiBaghbani Nov 26, 2024
e558f1c
fix: docker stop and remove func
MahdiBaghbani Nov 26, 2024
014fc33
add: functions and eeror handling
MahdiBaghbani Nov 26, 2024
3802f57
refactor: reva scripts
MahdiBaghbani Nov 26, 2024
38f745f
refactotr: mariadb script
MahdiBaghbani Nov 26, 2024
51f75e0
add: ss command
MahdiBaghbani Dec 2, 2024
acb7021
fix: style
MahdiBaghbani Dec 2, 2024
fc19ff5
refactored and tested to work correctly
MahdiBaghbani Dec 2, 2024
fd2a44d
modify: deprecate share to group for now
MahdiBaghbani Dec 5, 2024
c5209b2
refactor: better handling of different scenarios
MahdiBaghbani Dec 5, 2024
3a90d3c
[no ci] refactor: better documentation and fucntions for cypress tests
MahdiBaghbani Dec 9, 2024
ba4dfbd
[no ci] update: author email
MahdiBaghbani Dec 9, 2024
77c640b
[no ci] add: seafile utility file
MahdiBaghbani Dec 9, 2024
895ba6c
[no ci] delete: seafile to ocmstub
MahdiBaghbani Dec 9, 2024
b3c20a8
[no ci] refactor: login tests
MahdiBaghbani Dec 9, 2024
8207f73
add: note about intercepting ocis request with ocmstub
MahdiBaghbani Dec 9, 2024
435e8ee
fix: function signature
MahdiBaghbani Dec 9, 2024
43e37f6
[no ci] refactor: tagging releases and undoing the tag if necessary
MahdiBaghbani Dec 9, 2024
8eaecb9
update: nextcloud versions
MahdiBaghbani Dec 14, 2024
9aa937a
remove: unused dockerfiles
MahdiBaghbani Dec 14, 2024
c358d41
add: new dockerfile for nextcloud
MahdiBaghbani Dec 14, 2024
55942ce
fix: bug related to entrypoint and cmd being out of order
MahdiBaghbani Dec 14, 2024
a0fd7a2
[no ci] update: nektos act gh action runner
MahdiBaghbani Dec 16, 2024
b0ab545
delete: sunet
MahdiBaghbani Dec 16, 2024
be63a27
refactor: ocm test runner into multiple functions
MahdiBaghbani Dec 17, 2024
4d6ac39
[no ci] refactor: better way to build and tag our efss versions
MahdiBaghbani Dec 19, 2024
400e0fb
update: dockerfiles to pass nextcloud tests
MahdiBaghbani Dec 20, 2024
f9ce6ef
refactor: add functions and comments
MahdiBaghbani Dec 20, 2024
4136a5e
[no ci] refactor: share with test runner with documentation and more …
MahdiBaghbani Dec 20, 2024
428b181
[no ci] refactor: add comments and modular functions
MahdiBaghbani Dec 20, 2024
75a775b
[no ci] add: certificates to the image and update os trusted certs
MahdiBaghbani Dec 20, 2024
6b12c9b
[no ci] add: new scripts and configs for nextclouyd and owncloud images
MahdiBaghbani Dec 20, 2024
ffad7a2
[no ci] add: missing script
MahdiBaghbani Dec 20, 2024
c9ee4f3
fix: entrypoint tls dir problem
MahdiBaghbani Dec 20, 2024
f8cadca
remove: unused file
MahdiBaghbani Dec 20, 2024
ae2bc7a
add: permissions for folder and use entrypoint script
MahdiBaghbani Dec 20, 2024
a34916e
remove: seafile related scripts
MahdiBaghbani Dec 20, 2024
c4ec367
refactor: share with scripts with modular functions and documentations
MahdiBaghbani Dec 20, 2024
3489fb9
[no ci] fix: typo
MahdiBaghbani Dec 20, 2024
387249f
fix: typo
MahdiBaghbani Dec 20, 2024
841f1a7
[no ci] add: mermaid flowchart for the ocm test suite
MahdiBaghbani Dec 20, 2024
2c97902
fix: break it down into multiple diagrams
MahdiBaghbani Dec 20, 2024
938e507
[no ci] fix: text color
MahdiBaghbani Dec 20, 2024
80a820e
[no ci] add: some headlines
MahdiBaghbani Dec 20, 2024
c34bb10
refactor: pull and push scripts
MahdiBaghbani Dec 20, 2024
301acff
First attempt at ocmstub -> nextcloud share-with
michielbdejong Jan 6, 2025
fc824af
small corrections
michielbdejong Jan 6, 2025
bd98500
Attempt #162
michielbdejong Jan 6, 2025
135cc1e
install mod_security
michielbdejong Jan 6, 2025
3b55b2a
log response bodies
michielbdejong Jan 7, 2025
de03a65
start ocmstub1.docker as sleeping so I can experiment with it
michielbdejong Jan 7, 2025
9ee0464
The mahdi/fix-grants branch was merged into the main branch
michielbdejong Jan 7, 2025
9ff8db1
Fix ocmstub image tag
michielbdejong Jan 7, 2025
c514f36
remove outdated build script to avoid confusion
michielbdejong Jan 7, 2025
34dc9d9
Got it working
michielbdejong Jan 7, 2025
28acaee
ocmstub-v1-to-owncloud-v10
michielbdejong Jan 7, 2025
d39b71c
share-with ocmstub to NC27
michielbdejong Jan 7, 2025
354e7ad
Add .sh and .cy.js for share-link nc27 -> os1
michielbdejong Jan 7, 2025
c123fc1
share-link NC27 -> stub
michielbdejong Jan 7, 2025
d5bb722
safer way to set recipientDomain
michielbdejong Jan 7, 2025
23c9964
try to get share-link nc27 -> os1 working
michielbdejong Jan 7, 2025
3521199
specify missing DOCKER_NETWORK env var
michielbdejong Jan 7, 2025
3c8bc5b
Update script for dev/ocm-test-suite/share-link/nextcloud-nextcloud.sh
michielbdejong Jan 7, 2025
470d547
share-link NC27 -> OS1, the new way
michielbdejong Jan 7, 2025
a413c72
Update share-with -> share-link in copied file
michielbdejong Jan 7, 2025
44b4c6e
Use variables
michielbdejong Jan 7, 2025
d603a53
allowNcDivergence
michielbdejong Jan 7, 2025
6915c66
fix: JSONArgsRecommended by specifying a SHELL before CMD
MahdiBaghbani Jan 8, 2025
479df71
add: authors in header
MahdiBaghbani Jan 8, 2025
6464bfc
add: argument in docstrings and TODO comment for future
MahdiBaghbani Jan 8, 2025
ffc772f
add: GtiHub actions test runner
MahdiBaghbani Jan 8, 2025
6723b33
Merge pull request #165 from pondersource/share-link-nc27-stub
MahdiBaghbani Jan 8, 2025
7970e48
modify: use first instead of each
MahdiBaghbani Jan 8, 2025
d179851
add: authors
MahdiBaghbani Jan 8, 2025
7860986
add: GtiHub actions workflow
MahdiBaghbani Jan 8, 2025
46ef6d0
Merge pull request #164 from pondersource/share-with-stub-nc27
MahdiBaghbani Jan 8, 2025
ba82ee5
ocmstub-v1-to-owncloud-v10
michielbdejong Jan 7, 2025
bc9c343
share-with ocmstub to NC27
michielbdejong Jan 7, 2025
03f7da5
Add .sh and .cy.js for share-link nc27 -> os1
michielbdejong Jan 7, 2025
88f548d
share-link NC27 -> stub
michielbdejong Jan 7, 2025
f675646
safer way to set recipientDomain
michielbdejong Jan 7, 2025
5903fdf
try to get share-link nc27 -> os1 working
michielbdejong Jan 7, 2025
2d1b046
specify missing DOCKER_NETWORK env var
michielbdejong Jan 7, 2025
f4846a7
Update script for dev/ocm-test-suite/share-link/nextcloud-nextcloud.sh
michielbdejong Jan 7, 2025
4448112
share-link NC27 -> OS1, the new way
michielbdejong Jan 7, 2025
7883e78
Update share-with -> share-link in copied file
michielbdejong Jan 7, 2025
349cd62
Use variables
michielbdejong Jan 7, 2025
5f183a0
allowNcDivergence
michielbdejong Jan 7, 2025
b088930
fix: JSONArgsRecommended by specifying a SHELL before CMD
MahdiBaghbani Jan 8, 2025
f5b962d
add: authors in header
MahdiBaghbani Jan 8, 2025
1c66697
add: argument in docstrings and TODO comment for future
MahdiBaghbani Jan 8, 2025
4afd528
add: GtiHub actions test runner
MahdiBaghbani Jan 8, 2025
15d0424
modify: use first instead of each
MahdiBaghbani Jan 8, 2025
3c41f82
add: authors
MahdiBaghbani Jan 8, 2025
8aa70a2
add: GtiHub actions workflow
MahdiBaghbani Jan 8, 2025
41d8086
add: docs and ensure file exists
MahdiBaghbani Jan 8, 2025
515da4d
fix: authors header
MahdiBaghbani Jan 8, 2025
1f46e15
Merge branch 'share-with-from-ocm-stub' into share-with-stub-oc10
MahdiBaghbani Jan 8, 2025
bf8674b
fix: comments and header
MahdiBaghbani Jan 8, 2025
1580597
add: GitHub Actions workflows
MahdiBaghbani Jan 8, 2025
8ec2d6c
Merge pull request #167 from pondersource/share-with-stub-oc10
MahdiBaghbani Jan 8, 2025
7972b51
Remove .each clauses
michielbdejong Jan 8, 2025
c189dc0
add: .first on accept share
MahdiBaghbani Jan 8, 2025
c80379b
style: format code
MahdiBaghbani Jan 8, 2025
6fc025b
add: authors to header
MahdiBaghbani Jan 8, 2025
7f66227
add: forensic and mod security to owncloud, update headers
MahdiBaghbani Jan 10, 2025
a6c15f8
update: headers
MahdiBaghbani Jan 10, 2025
be6e591
Merge pull request #160 from pondersource/share-with-from-ocm-stub
MahdiBaghbani Jan 10, 2025
752a633
fix: bug in the share name
MahdiBaghbani Jan 10, 2025
fba42fd
add: utils script
MahdiBaghbani Jan 10, 2025
226f1bb
refactor: remove functions and import them from utils
MahdiBaghbani Jan 10, 2025
6097bcf
fix: permission error when running apache
MahdiBaghbani Jan 11, 2025
6eebb50
fix: owncloud link generation
MahdiBaghbani Jan 11, 2025
6ee5b91
fix: nc to os test cypress import module
MahdiBaghbani Jan 11, 2025
d4caf38
fix: docker push login
MahdiBaghbani Jan 11, 2025
07005a8
refactor: scripts to include utils.sh
MahdiBaghbani Jan 11, 2025
defc827
add: modular util files for better DX
MahdiBaghbani Jan 20, 2025
23e8465
add: missing function
MahdiBaghbani Jan 20, 2025
986c770
add: modifications for login case test
MahdiBaghbani Jan 20, 2025
70444f9
fix: ci mode test handlers and adjust cypress test files names
MahdiBaghbani Jan 20, 2025
bac6f0f
add: additional global variables
MahdiBaghbani Jan 22, 2025
282a895
add: ocis, ocmstub and seafile create functions
MahdiBaghbani Jan 22, 2025
645b5d8
fix: unbound variable in login tests
MahdiBaghbani Jan 22, 2025
d5bd04a
fix: missing backslash in commands
MahdiBaghbani Jan 22, 2025
0fc640f
fix: update port number for EFSS container in ocis.sh
MahdiBaghbani Jan 22, 2025
bc38af7
fix: update run_dev command in login scripts to include empty argumen…
MahdiBaghbani Jan 22, 2025
83f9eb9
fix: update volume mounts in ocis.sh to use TLS_CERT_DIR and TLS_CA_D…
MahdiBaghbani Jan 22, 2025
54513fb
refactor: comment out wait_for_port in ocis.sh and add TODO for custo…
MahdiBaghbani Jan 22, 2025
2850c9b
fix: update volume mounts in ocmstub.sh to use TLS_CERT_DIR and TLS_C…
MahdiBaghbani Jan 22, 2025
573d0b8
fix: cert volume mount path
MahdiBaghbani Jan 22, 2025
355efe8
fix: correct HOST environment variable in ocmstub.sh to remove '.dock…
MahdiBaghbani Jan 22, 2025
b294b2f
refactor: comment out wait_for_port in seafile.sh and add TODO for po…
MahdiBaghbani Jan 22, 2025
b2be514
feat: add Seafile Seahub settings configuration script
MahdiBaghbani Jan 22, 2025
d3f274d
fix: ensure init script is executable in seafile.sh
MahdiBaghbani Jan 22, 2025
cbebfaf
fix: cypress test filename and credentials
MahdiBaghbani Jan 22, 2025
33547a1
refactor: simplify loginSeafile command in Cypress tests
MahdiBaghbani Jan 22, 2025
b3c7c4d
fix: update login function and URL protocol in Seafile Cypress tests
MahdiBaghbani Jan 22, 2025
611b615
modify: I have no idea what has changed in this file
MahdiBaghbani Jan 22, 2025
f560eed
Merge pull request #168 from pondersource/use-include-bash
MahdiBaghbani Jan 22, 2025
59ecb57
update: version formatting in workflow files for consistency
MahdiBaghbani Jan 22, 2025
84158b4
refactor: standardize EFSS_PLATFORM_VERSION formatting across Docker …
MahdiBaghbani Jan 22, 2025
bd04995
refactor: docker image names
MahdiBaghbani Dec 24, 2024
ff0a402
refactor: reva script names
MahdiBaghbani Dec 24, 2024
ee7db23
refactor: streamline seafile-seafile.sh script for improved readabili…
MahdiBaghbani Jan 22, 2025
823fbb8
modify: file name to have v before numbers
MahdiBaghbani Jan 23, 2025
b0c3ee6
[no ci] refactor: enhance Cypress tests for Seafile v11 by modularizi…
MahdiBaghbani Jan 23, 2025
563f07b
[no ci] refactor: replace custom login function with Cypress command …
MahdiBaghbani Jan 23, 2025
4cae2f5
[no ci] fix: verifyReceivedShare function in Seafile v11 tests
MahdiBaghbani Jan 25, 2025
88665ad
[no ci] feat: Improve modal dismissal and share verification in Seafi…
MahdiBaghbani Jan 25, 2025
364bcb8
fix: Workflow names for NC v28 and OC v10 test configurations
MahdiBaghbani Jan 25, 2025
6bbec79
add: initial nextcloud app dockerfile
MahdiBaghbani Jan 27, 2025
131165d
update: build image for sciencemesh
MahdiBaghbani Jan 27, 2025
f41fc00
add: sciencemesh utility scripts
MahdiBaghbani Jan 27, 2025
a17edd6
add: dockerfile needed init script for sm
MahdiBaghbani Jan 27, 2025
be119dd
add: initial nc-nc sm test
MahdiBaghbani Jan 27, 2025
b600a18
fix: typo in command name
MahdiBaghbani Jan 27, 2025
b6cc8fa
add: support for disabling configs on reva
MahdiBaghbani Jan 27, 2025
1f7dee9
fix: typo
MahdiBaghbani Jan 27, 2025
2d17ffa
fix: link creation
MahdiBaghbani Jan 27, 2025
93b4223
add: maximum timeout for wait_for_port
MahdiBaghbani Jan 27, 2025
c0811d2
add: changed names for the sm nextcloud
MahdiBaghbani Jan 28, 2025
fb8dd10
fix: sciencemesh test failures
MahdiBaghbani Jan 28, 2025
a7e4d06
update: nc-sm test in github
MahdiBaghbani Jan 28, 2025
74f5303
add: docker pull script
MahdiBaghbani Jan 28, 2025
9b30277
update: setup fucntion for new file name schemas like nextcloud-sm-ow…
MahdiBaghbani Jan 28, 2025
d1e2836
add: +x flag on files
MahdiBaghbani Jan 28, 2025
b718835
refactor: move legacy things out to their own folder, resolve em later
MahdiBaghbani Jan 28, 2025
37fdb31
add: owncloud apps and build script for oc-sm
MahdiBaghbani Jan 28, 2025
84cbd08
add: oc-sm to oc-sm invite link share test
MahdiBaghbani Jan 28, 2025
1e9c76a
fix: bash file permission
MahdiBaghbani Jan 28, 2025
9a10a73
fix: typo
MahdiBaghbani Jan 28, 2025
9cb7620
add: ocis configuration
MahdiBaghbani Jan 28, 2025
332912e
add: +x flag for bash scripts
MahdiBaghbani Jan 28, 2025
bf4fd45
fix: missing function
MahdiBaghbani Jan 28, 2025
ab61c7e
fix: path of ocmprovider.json
MahdiBaghbani Jan 28, 2025
707c38a
fix: temp folder
MahdiBaghbani Jan 28, 2025
f46d1de
refactor: file names for the sciencemesh variants of oc and nc
MahdiBaghbani Jan 28, 2025
7ac84d5
add: check for input token to exist before clicking on accept button
MahdiBaghbani Jan 28, 2025
6d7073b
modify: extract domain without protocol or trailing slash
MahdiBaghbani Jan 28, 2025
b9d1ac7
refactor: use environment varaibles and add comments
MahdiBaghbani Jan 28, 2025
7c7a45b
refactor: add in all remaining ocis and sciencemesh tests
MahdiBaghbani Jan 28, 2025
3b2fdc8
fix: permissions
MahdiBaghbani Jan 28, 2025
4e193bc
fix: remaining problems of the refactoring and passing tests
MahdiBaghbani Jan 28, 2025
16977ab
remove: sciencemesh docker
MahdiBaghbani Jan 29, 2025
20654ca
Merge pull request #169 from pondersource/refactor-docker-images
MahdiBaghbani Jan 29, 2025
4d0365c
add: oc version to utils file
MahdiBaghbani Jan 29, 2025
1522b94
Merge pull request #170 from pondersource/fix-invite-link
MahdiBaghbani Jan 29, 2025
37913fe
add: docker pull script for oc sm
MahdiBaghbani Jan 29, 2025
ed8483a
add: sm to docker push
MahdiBaghbani Jan 29, 2025
cc03811
[no ci] refactor: ocis utils name
MahdiBaghbani Jan 29, 2025
0ebecb8
fix: typo in sciencemesh image
MahdiBaghbani Jan 29, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
66 changes: 66 additions & 0 deletions .github/workflows/invite-link-nc-sm-v27-nc-sm-v27.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: OCM Test Invite Link NC SM v27.1.11 to NC SM v27.1.11

# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the specified branch and files.
push:
branches:
- main
paths:
- "cypress/ocm-test-suite/**"
- "dev/ocm-test-suite.sh"
- "dev/ocm-test-suite/**"
pull_request:
branches:
- main
paths:
- "cypress/ocm-test-suite/**"
- "dev/ocm-test-suite.sh"
- "dev/ocm-test-suite/**"
# Allows you to run this workflow manually from the Actions tab.
workflow_dispatch:

jobs:
invite-link:
strategy:
fail-fast: false
max-parallel: 1
matrix:
sender: [
{
platform: nextcloud-sm,
version: v27.1.11-sm
},
]
receiver: [
{
platform: nextcloud-sm,
version: v27.1.11-sm
},
]

# The OS to run tests on, (I believe for OCM testing OS is really not that important).
runs-on: ubuntu-24.04

# Steps represent a sequence of tasks that will be executed as part of the job.
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it.
- name: Checkout.
uses: actions/checkout@v4

- name: Pull images.
shell: bash
run: |
./docker/pull/ocm-test-suite/${{ matrix.sender.platform }}.sh ${{ matrix.sender.version }}
./docker/pull/ocm-test-suite/${{ matrix.receiver.platform }}.sh ${{ matrix.receiver.version }}

- name: Run tests.
shell: bash
run: ./dev/ocm-test-suite.sh invite-link ${{ matrix.sender.platform }} ${{ matrix.sender.version }} ci electron ${{ matrix.receiver.platform }} ${{ matrix.receiver.version }}

- name: Upload Cypress video artifacts.
uses: actions/upload-artifact@v4
if: always()
with:
name: invite-link from ${{ matrix.sender.platform }} ${{ matrix.sender.version }} to ${{ matrix.receiver.platform }} ${{ matrix.receiver.version }}
path: ./cypress/ocm-test-suite/cypress/videos
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: OCM Test Invite Link NC v27.1.11 to OC v10.15.0
name: OCM Test Invite Link NC SM v27.1.11 to OC SM v10.15.0

# Controls when the action will run.
on:
Expand Down Expand Up @@ -28,14 +28,14 @@ jobs:
matrix:
sender: [
{
platform: nextcloud,
version: v27.1.11
platform: nextcloud-sm,
version: v27.1.11-sm
},
]
receiver: [
{
platform: owncloud,
version: v10.15.0
platform: owncloud-sm,
version: v10.15.0-sm
},
]

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: OCM Test Invite Link NC v27.1.11 to oCIS v5.0.9
name: OCM Test Invite Link NC SM v27.1.11 to oCIS v5.0.9

# Controls when the action will run.
on:
Expand Down Expand Up @@ -28,14 +28,14 @@ jobs:
matrix:
sender: [
{
platform: nextcloud,
version: v27.1.11
platform: nextcloud-sm,
version: v27.1.11-sm
},
]
receiver: [
{
platform: ocis,
version: 5.0.9
version: v5.0.9
},
]

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: OCM Test Invite Link OC v10.15.0 to NC v27.1.11
name: OCM Test Invite Link OC SM v10.15.0 to NC SM v27.1.11

# Controls when the action will run.
on:
Expand Down Expand Up @@ -28,14 +28,14 @@ jobs:
matrix:
sender: [
{
platform: owncloud,
version: v10.15.0
platform: owncloud-sm,
version: v10.15.0-sm
},
]
receiver: [
{
platform: nextcloud,
version: v27.1.11
platform: nextcloud-sm,
version: v27.1.11-sm
},
]

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: OCM Test Invite Link NC v27.1.11 to NC v27.1.11
name: OCM Test Invite Link OC SM v10.15.0 to OC SM v10.15.0

# Controls when the action will run.
on:
Expand Down Expand Up @@ -28,14 +28,14 @@ jobs:
matrix:
sender: [
{
platform: nextcloud,
version: v27.1.11
platform: owncloud-sm,
version: v10.15.0-sm
},
]
receiver: [
{
platform: nextcloud,
version: v27.1.11
platform: owncloud-sm,
version: v10.15.0-sm
},
]

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: OCM Test Invite Link OC v10.15.0 to oCIS v5.0.9
name: OCM Test Invite Link OC SM v10.15.0 to oCIS v5.0.9

# Controls when the action will run.
on:
Expand Down Expand Up @@ -28,14 +28,14 @@ jobs:
matrix:
sender: [
{
platform: owncloud,
version: v10.15.0
platform: owncloud-sm,
version: v10.15.0-sm
},
]
receiver: [
{
platform: ocis,
version: 5.0.9
version: v5.0.9
},
]

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: OCM Test Invite Link oCIS v5.0.9 to OC v10.15.0
name: OCM Test Invite Link oCIS v5.0.9 to NC SM v27.1.11

# Controls when the action will run.
on:
Expand Down Expand Up @@ -29,13 +29,13 @@ jobs:
sender: [
{
platform: ocis,
version: 5.0.9
version: v5.0.9
},
]
receiver: [
{
platform: owncloud,
version: v10.15.0
platform: nextcloud-sm,
version: v27.1.11-sm
},
]

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: OCM Test Invite Link oCIS v5.0.9 to NC v27.1.11
name: OCM Test Invite Link oCIS v5.0.9 to OC SM v10.15.0

# Controls when the action will run.
on:
Expand Down Expand Up @@ -29,13 +29,13 @@ jobs:
sender: [
{
platform: ocis,
version: 5.0.9
version: v5.0.9
},
]
receiver: [
{
platform: nextcloud,
version: v27.1.11
platform: owncloud-sm,
version: v10.15.0-sm
},
]

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/invite-link-ocis-v5-ocis-v5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ jobs:
sender: [
{
platform: ocis,
version: 5.0.9
version: v5.0.9
},
]
receiver: [
{
platform: ocis,
version: 5.0.9
version: v5.0.9
},
]

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/login-nextcloud-v28.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: OCM Test Login Nextcloud v28.0.12
name: OCM Test Login Nextcloud v28.0.14

# Controls when the action will run.
on:
Expand Down Expand Up @@ -29,7 +29,7 @@ jobs:
efss: [
{
platform: nextcloud,
version: v28.0.12
version: v28.0.14
},
]

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/login-ocis-v5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
efss: [
{
platform: ocis,
version: 5.0.9
version: v5.0.9
},
]

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/login-ocmstub-v1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
efss: [
{
platform: ocmstub,
version: "1.0"
version: v1.0.0
},
]

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/login-seafile-v11.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
efss: [
{
platform: seafile,
version: 11.0.5
version: v11.0.5
},
]

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/share-link-nc-v27-nc-v28.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: OCM Test Share Link NC v27.1.11 to NC v28.0.12
name: OCM Test Share Link NC v27.1.11 to NC v28.0.14

# Controls when the action will run.
on:
Expand Down Expand Up @@ -35,7 +35,7 @@ jobs:
receiver: [
{
platform: nextcloud,
version: v28.0.12
version: v28.0.14
},
]

Expand Down
66 changes: 66 additions & 0 deletions .github/workflows/share-link-nc-v27-os-v1.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: OCM Test Share Link NC v27.1.11 to OcmStub v1.0.0

# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the specified branch and files.
push:
branches:
- main
paths:
- "cypress/ocm-test-suite/**"
- "dev/ocm-test-suite.sh"
- "dev/ocm-test-suite/**"
pull_request:
branches:
- main
paths:
- "cypress/ocm-test-suite/**"
- "dev/ocm-test-suite.sh"
- "dev/ocm-test-suite/**"
# Allows you to run this workflow manually from the Actions tab.
workflow_dispatch:

jobs:
share-link:
strategy:
fail-fast: false
max-parallel: 1
matrix:
sender: [
{
platform: nextcloud,
version: v27.1.11
},
]
receiver: [
{
platform: ocmstub,
version: v1.0.0
},
]

# The OS to run tests on, (I believe for OCM testing OS is really not that important).
runs-on: ubuntu-24.04

# Steps represent a sequence of tasks that will be executed as part of the job.
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it.
- name: Checkout.
uses: actions/checkout@v4

- name: Pull images.
shell: bash
run: |
./docker/pull/ocm-test-suite/${{ matrix.sender.platform }}.sh ${{ matrix.sender.version }}
./docker/pull/ocm-test-suite/${{ matrix.receiver.platform }}.sh ${{ matrix.receiver.version }}

- name: Run tests.
shell: bash
run: ./dev/ocm-test-suite.sh share-link ${{ matrix.sender.platform }} ${{ matrix.sender.version }} ci electron ${{ matrix.receiver.platform }} ${{ matrix.receiver.version }}

- name: Upload Cypress video artifacts.
uses: actions/upload-artifact@v4
if: always()
with:
name: share-link from ${{ matrix.sender.platform }} ${{ matrix.sender.version }} to ${{ matrix.receiver.platform }} ${{ matrix.receiver.version }}
path: ./cypress/ocm-test-suite/cypress/videos
4 changes: 2 additions & 2 deletions .github/workflows/share-link-nc-v28-nc-v27.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: OCM Test Share Link NC v28.0.12 to NC v27.1.11
name: OCM Test Share Link NC v28.0.14 to NC v27.1.11

# Controls when the action will run.
on:
Expand Down Expand Up @@ -29,7 +29,7 @@ jobs:
sender: [
{
platform: nextcloud,
version: v28.0.12
version: v28.0.14
},
]
receiver: [
Expand Down
Loading
Loading