Compare commits

...
Author SHA1 Message Date
Michael Barz e126ea94bc chore: add latest manifest to stable tag 2024-09-02 12:53:11 +02:00
Michael Barz 9fc5d89bc7 Automated changelog update [skip ci] 2024-09-02 10:09:30 +00:00
Michael Barz d046d5e726 Merge pull request #9958 from owncloud/bump-web-8.0.5
[full-ci] chore: bump ownCloud Web to v8.0.5
2024-09-02 12:08:56 +02:00
Jannik Stehle 552941184a chore: bump ownCloud Web to v8.0.5 2024-09-02 10:36:32 +02:00
kobergj 3e40c278a7 Automated changelog update [skip ci] 2024-09-02 00:05:13 +00:00
kobergj a2e642aead Automated changelog update [skip ci] 2024-09-01 00:06:55 +00:00
kobergj 58447b3e96 Automated changelog update [skip ci] 2024-08-31 00:06:43 +00:00
kobergj 2fbb6c9933 Automated changelog update [skip ci] 2024-08-30 00:04:34 +00:00
kobergj c04f3dad0d Automated changelog update [skip ci] 2024-08-29 00:04:45 +00:00
kobergj 89754fd412 Automated changelog update [skip ci] 2024-08-28 00:04:43 +00:00
kobergj ef277d3267 Automated changelog update [skip ci] 2024-08-27 00:04:49 +00:00
kobergj 94aee2d367 Automated changelog update [skip ci] 2024-08-26 03:42:22 +00:00
kobergj ed48814009 Automated changelog update [skip ci] 2024-08-25 00:53:43 +00:00
kobergj 42e7220528 Automated changelog update [skip ci] 2024-08-24 00:53:50 +00:00
kobergj db41f46697 Automated changelog update [skip ci] 2024-08-19 12:48:31 +00:00
kobergj 621ec66baf Merge pull request #9831 from kobergj/BackportSessionCommand
[full-ci] Backport Sessions Command
2024-08-19 14:47:59 +02:00
Martin 690175236c Merge pull request #9847 from owncloud/make_volumes_configurable
[docs-only][stable-5.0] ocis_wopi deployment example, make data and config volumes configurable
2024-08-19 14:00:02 +02:00
mmattel 2b755c39bf [docs-only][stable-5.0] Deployment example, make data and config paths configurable 2024-08-19 10:59:21 +02:00
jkoberg 204ff6574b feat(ocis): backport adjustments
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-08-16 16:13:07 +02:00
jkoberg 8a1241bb3c feat(storage-users): document sessions command
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-08-16 11:28:33 +02:00
jkoberg 39ef9d92e1 feat(storage-users): add virusfilter to sessions command
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-08-16 11:28:21 +02:00
jkoberg 7678fa2f92 feat(storage-users): assimilate clean command into sessions
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-08-16 11:28:08 +02:00
Benedikt Kulmann caecf781e3 Automated changelog update [skip ci] 2024-07-17 09:51:32 +00:00
Benedikt Kulmann 66c1249921 Merge pull request #9629 from owncloud/release-5.0.6
[full-ci] version bump for release 5.0.6
2024-07-17 11:50:56 +02:00
Benedikt Kulmann a701bbc8db chore: version bumpf for release 5.0.6 2024-07-17 10:07:35 +02:00
Martin c262be77ec Merge pull request #9599 from owncloud/5.0_render_template_fix_for_deprecations
[docs-only] [5.0] Docs adoc template: make a space between deprecations and standard
2024-07-12 18:02:54 +02:00
MartinandPhil Davis 79f929236c Update docs/templates/ADOC.tmpl
Co-authored-by: Phil Davis <phil@jankaritech.com>
2024-07-12 16:18:19 +02:00
mmattel 105df0c8e4 [docs-only] [5.0] Docs adoc template: make a space between deprecations and standard 2024-07-12 16:13:05 +02:00
Viktor Scharf b4f5957e71 Merge pull request #9579 from owncloud/fixtestinbucketDocs
[docs-only] change Setup Inbucket testing docs
2024-07-11 05:41:13 +02:00
Viktor Scharf 263921591b Update testing.md 2024-07-10 12:43:36 +02:00
Viktor Scharf 5d1059e4ff change Setup Inbucket docs 2024-07-10 12:39:27 +02:00
Roman Perekhod 0497062d0d Automated changelog update [skip ci] 2024-07-10 09:37:40 +00:00
Roman Perekhod 23329bc86a Merge pull request #9514 from 2403905/issue-9402-5.0-bakport
fixed the notification service error when the user's display name con…
2024-07-10 11:37:07 +02:00
Martin 6496fec15b Merge pull request #9577 from owncloud/banned_pwd_text_for_stable_5
[docs-only] [5.0] Make the envvar text for the banned pwd list more precise
2024-07-10 11:31:25 +02:00
MartinandChristian Richter 69bdc34b6e Apply suggestions from code review
Co-authored-by: Christian Richter <1058116+dragonchaser@users.noreply.github.com>
2024-07-10 10:58:50 +02:00
mmattel 7d8fe2c44d [docs-only] [5.0] Make the envvar text for the banned pwd list more precise 2024-07-10 10:46:11 +02:00
Roman Perekhod 93b14bc454 fixed the notification service error when the user's display name contained special characters 2024-07-10 09:49:32 +02:00
Christian Richter 0f89f2b7fd Automated changelog update [skip ci] 2024-07-09 13:58:54 +00:00
Christian Richter 0c97d3edd0 Merge pull request #9562 from dragonchaser/backport-purge-revision-to-5.0.5
Backport purge revision to 5.0.5
2024-07-09 13:57:47 +00:00
Christian Richter 9355cc5912 remove not backported readme references
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-07-09 14:47:36 +02:00
Christian Richter 53553a9bfd disable vuln-check temporarily
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-07-09 14:45:36 +02:00
kobergjandMartin 315f52328d feat(docu): improve docu
Co-authored-by: Martin <github@diemattels.at>
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-07-09 09:06:26 +02:00
jkoberg f8e5175df5 docu(ocis): document the new commands
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-07-09 09:06:18 +02:00
jkoberg 077e56e2c7 feat(ocis): make purge-revision work per resource
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-07-09 09:06:08 +02:00
jkoberg 624f681ce6 feat(ocis): add purge-revision cli
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-07-09 09:06:00 +02:00
Jannik Stehle 214491134f Automated changelog update [skip ci] 2024-07-02 10:58:14 +00:00
Jannik Stehle 4a57e98780 Merge pull request #9510 from owncloud/bump-web-8.0.4
[full-ci] chore: bump ownCloud Web to v8.0.4
2024-07-02 12:56:21 +02:00
Jannik Stehle c443dc68a0 chore: bump ownCloud Web to v8.0.4 2024-07-02 11:38:40 +02:00
Michael Barz f47c387133 Automated changelog update [skip ci] 2024-07-02 08:49:32 +00:00
Michael Barz 4e1e529ef0 Merge pull request #9506 from kobergj/BackportPostprocessingRestart
[Backport] Repair Postprocessing Bulk Restart
2024-07-02 10:47:46 +02:00
jkoberg 4decd85767 build(deps): bump golang.org/x/image from 0.16.0 to 0.18.0
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-07-01 16:36:39 +02:00
jkoberg 4722b63514 fix(postprocessing): fix multi-restart
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-07-01 16:35:44 +02:00
Martin c74c8d31f3 Merge pull request #9469 from owncloud/fix_ocis_wopi_env_settings
Fix ocis wopi env settings
2024-07-01 14:46:07 +02:00
Michael BarzandMartin 6c246fb56d Update deployments/examples/ocis_wopi/.env
Co-authored-by: Martin <github@diemattels.at>
2024-07-01 13:37:03 +02:00
Michael Barz d661296c04 Fix monitoring compose 2024-06-30 20:58:55 +02:00
mmattel a10cfe188d fix backticks 2024-06-25 18:01:49 +02:00
mmattel 5f89a7de98 [docs-only] [5.0] Small fixes for the ocis_wopi .env file 2024-06-25 17:52:40 +02:00
Michael Barz b77ef1a4b2 Automated changelog update [skip ci] 2024-06-21 12:32:58 +00:00
Michael Barz 8b846ca1c8 Merge pull request #9429 from owncloud/bump-web-8.0.3
[full-ci] chore: bump ownCloud Web to v8.0.3
2024-06-21 14:32:07 +02:00
Jannik Stehle 63121b7f37 chore: bump ownCloud Web to v8.0.3 2024-06-21 09:17:19 +02:00
Michael Barz f6bd1ad16e Merge pull request #9425 from phil-davis/refactor_ocis_wopi_deployment-2
[docs-only] [5.0] Adjust some text in ocis_wopi example
2024-06-20 19:12:02 +02:00
Phil Davis 10c189d86c [docs-only] [5.0] Adjust some text in ocis_wopi example 2024-06-20 21:31:21 +05:45
Michael Barz 87c3384ab1 Merge pull request #9412 from owncloud/refactor_ocis_wopi_deployment
[docs-only] [5.0] Refactor the 'ocis_wopi' deployment example
2024-06-20 17:00:33 +02:00
Michael Barz 4ab23b0df5 feat: make ocis selectable 2024-06-20 13:58:19 +02:00
Michael Barz 6446f513bb fix: simplify one more time 2024-06-20 12:17:21 +02:00
mmattel 14db9274c8 update traefik to 3.0.3 2024-06-19 16:43:01 +02:00
mmattel 58c3caae07 [5.0] Refactor the 'ocis_wopi' deployment example 2024-06-19 12:01:16 +02:00
Martin c6aab01486 Merge pull request #9387 from owncloud/fix_typo_in_5.0
[docs-only] [5.0] Fix typo and rerun make docs-generate
2024-06-14 13:51:14 +02:00
MartinandPhil Davis dc5b59688d Apply suggestions from code review
Co-authored-by: Phil Davis <phil@jankaritech.com>
2024-06-14 11:59:40 +02:00
mmattel f2f558bfa7 [docs-only] [5.0] Fix typo and rerun make docs-generate 2024-06-14 11:10:40 +02:00
Michael Barz 380435aab4 Merge pull request #9353 from owncloud/backport-wopi-example-2
[docs-only] Backport wopi example 2
2024-06-12 08:48:45 +02:00
Michael Barz 482591ecd1 chore: backport some missing docs 2024-06-11 20:16:07 +02:00
Thomas Müller 48ab941943 Automated changelog update [skip ci] 2024-05-24 12:46:14 +00:00
Thomas Müller 4537755ca0 feat: limit concurrent processing of thumbnail requests (#9252) 2024-05-24 14:45:39 +02:00
Benedikt Kulmann 47a593766b Automated changelog update [skip ci] 2024-05-22 14:25:18 +00:00
Benedikt Kulmann f06d683b70 Merge pull request #9237 from owncloud/release-5.0.5
[full-ci] chore: version bump for release 5.0.5
2024-05-22 16:24:45 +02:00
Benedikt Kulmann 887f41cc3b chore: version bump for release 5.0.5 2024-05-22 15:40:04 +02:00
Benedikt Kulmann 3812f50eba Automated changelog update [skip ci] 2024-05-22 07:41:03 +00:00
Benedikt Kulmann 959695e8fe Merge pull request #9145 from owncloud/release-5.0.4
[full-ci] chore: prepare changelog, bump version
2024-05-22 09:40:27 +02:00
Martin b35314fb0a Merge pull request #9226 from owncloud/mmattel-patch-2
[docs-only] Backport: Typo fix in ocis_wopi
2024-05-21 16:19:41 +02:00
Martin 9b90219a2d [docs-only] Backport: Typo fix in ocis_wopi
Backport of #9225 ([docs-only] Typo fix in ocis_wopi)
2024-05-21 15:52:50 +02:00
Martin 7756ab9a66 Merge pull request #9222 from owncloud/backport_9182
Backport to stable 5: Update wopi tag to 10.4.0
2024-05-21 15:10:40 +02:00
mmattel 2a6b1de60f Backport: Update wopi tag to 10.4.0 2024-05-21 12:25:57 +02:00
Viktor Scharf 3a1988c351 delete UItest from ocis CI (#9209) (#9211) 2024-05-20 09:59:53 +05:45
Martin 472650d41d Merge pull request #9186 from owncloud/backport_9172
[docs-only] Backport of #9172 (add staging for letsencrypt in ocis_wopi)
2024-05-16 11:37:07 +02:00
mmattel 5a86cf03b2 [docs-only] Backport of #9172 (add staging for letsencrypt in ocis_wopi) 2024-05-16 10:56:29 +02:00
Prarup Gurung a9bce7c4e3 Merge pull request #9175 from owncloud/bump-web-stable-commid-id
[tests-only][full-ci]Bump latest commit from web stable-8.0
2024-05-16 10:32:57 +05:45
Prajwol Amatya 3de2be5caa bump latest web stable commit id 2024-05-16 09:52:18 +05:45
Phil Davis 447967b985 Merge pull request #9164 from owncloud/report-to-builds-channel-5.0
[stable-5.0] Report to builds channel 5.0
2024-05-15 15:22:47 +05:45
Phil Davis 67f86499ef chore: report all drone CI results to builds channel 2024-05-14 17:33:12 +05:45
8b9dcc6a84 [tests-only][full-ci] backport e2e runner implementation (#8934)
* [full-ci]chore: bump web to v9.0.0-alpha.3 (#8736)

* chore: bump web to v9.0.0-alpha.3

* ci(e2e): use e2e runner to run the tests

* ci(e2e): fix e2e run command

* ci(e2e): fix e2e run command

* chore: adjust changelog item for Web 9.0.0

* Update .drone.env

---------

Co-authored-by: Saw-jan <saw.jan.grg3e@gmail.com>
Co-authored-by: Jannik Stehle <jannik.stehle@gmail.com>

* ci: increase e2e pipeline by 1 (#8739)

* bump latest web commit id

---------

Co-authored-by: Viktor Scharf <scharf.vi@gmail.com>
Co-authored-by: Saw-jan <saw.jan.grg3e@gmail.com>
Co-authored-by: Jannik Stehle <jannik.stehle@gmail.com>
2024-05-14 16:13:17 +05:45
Michael Barz 9d02a5a291 Automated changelog update [skip ci] 2024-05-14 09:38:34 +00:00
Michael Barz e97b4592aa Merge pull request #9153 from owncloud/bump-web-8.0.2
[full-ci] chore: bump ownCloud Web to v8.0.2
2024-05-14 11:37:26 +02:00
Saw-jan ed4c69fabd test: update expected-failure list 2024-05-14 14:22:53 +05:45
Benedikt Kulmann b2a4e806c5 chore: bump ownCloud Web to v8.0.2 2024-05-14 09:35:34 +02:00
Michael Barz a85e174c35 chore: prepare changelog, bump version 2024-05-13 15:10:46 +02:00
Michael Barz 31e1d03a38 Automated changelog update [skip ci] 2024-05-13 12:51:06 +00:00
Michael Barz e10d5822bb Merge pull request #9141 from owncloud/bump-reva-upload-fix
[full-ci] chore: bump reva to latest stable version 2.19.7
2024-05-13 14:50:33 +02:00
Michael Barz b95f4a05cf chore: bump reva to latest stable version 2.19.7 2024-05-13 12:54:38 +02:00
Michael Barz 1128490ba0 Automated changelog update [skip ci] 2024-05-13 10:50:31 +00:00
Michael Barz 698f9ba93d Merge pull request #9139 from rhafer/backport/5.0/8783
[stable-5.0] Fix nats reconnects
2024-05-13 12:49:55 +02:00
kobergj 81bac5e97f fix(changelog): improve wording
Co-authored-by: Ralf Haferkamp <ralf@h4kamp.de>
Signed-off-by: jkoberg <jkoberg@owncloud.com>
(cherry picked from commit 7db63005c4)
2024-05-13 12:16:30 +02:00
jkoberg dfb53fc52b fix(natsjsregistry): fix reconnects
Signed-off-by: jkoberg <jkoberg@owncloud.com>
(cherry picked from commit eb5035cc19)
2024-05-13 12:13:33 +02:00
Michael Barz a2d4db4ae0 Automated changelog update [skip ci] 2024-05-10 13:20:23 +00:00
Michael Barz bc5ab41402 Merge pull request #9131 from owncloud/backport-wopi-example
Backport wopi example
2024-05-10 15:19:44 +02:00
Michael Barz a4eb34628f fix: companion config 2024-05-10 15:05:12 +02:00
Michael Barz 328579186a fix: service startup appprovider onlyoffice 2024-05-10 15:02:41 +02:00
Thomas Müller 819cf505f8 fix: use docker healthcheck 2024-05-10 14:59:47 +02:00
Michael Barz 86ec03dac5 Automated changelog update [skip ci] 2024-05-03 12:36:03 +00:00
Michael Barz 0eeee16b1d docs: fix reva version 2024-05-03 14:35:25 +02:00
Phil Davis 0da7a4c668 Merge pull request #9054 from owncloud/backport-pr-9039
[tests-only][full-ci] backport make function's return type in drone file similar
2024-05-03 10:07:33 +05:45
Prajwol Amatya 743b10c323 make return type similar 2024-05-03 09:36:37 +05:45
Michael Barz d72e21bf2b Automated changelog update [skip ci] 2024-05-02 17:51:46 +00:00
Michael Barz 6f327cc2ae Merge pull request #9051 from owncloud/release-5.0.3
[full-ci] chore: bump version, prepare changelog
2024-05-02 19:50:49 +02:00
Michael Barz 7992a495eb chore: bump version, prepare changelog 2024-05-02 17:10:57 +02:00
kobergj af437186fc Automated changelog update [skip ci] 2024-04-30 07:24:15 +00:00
kobergj 2f2f4d574d Merge pull request #9011 from kobergj/BackportRevaBump
[full-ci] Backport reva bump
2024-04-30 09:23:38 +02:00
Jörn Friedrich DreyerandMichael Barz c75d47a75d Update changelog/unreleased/rework-virus-handling.md
Co-authored-by: Michael Barz <michael.barz@zeitgestalten.eu>
2024-04-29 17:09:35 +02:00
Jörn Friedrich Dreyer 62b7f45026 Update changelog/unreleased/rework-virus-handling.md 2024-04-29 17:08:21 +02:00
jkoberg df545583d1 feat(changelog): add changelog
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-04-29 16:51:27 +02:00
jkoberg ce92021fea fix(clientlog): dont send sse when upload failed
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-04-29 16:11:36 +02:00
jkoberg caa83ab952 feat(postprocessing): dont retry finished uploads
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-04-29 16:08:20 +02:00
jkoberg be983bb96b feat(storage-users): add scandata to upload command
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-04-29 16:06:50 +02:00
jkoberg e3c48f164a feat(reva): bump reva
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-04-29 16:01:06 +02:00
Thomas Müller b74af1e785 Automated changelog update [skip ci] 2024-04-26 13:04:23 +00:00
Thomas Müller dff6990e15 fix: replace github.com/disintegration/imaging with github.com/kovidgoyal/imaging (#8985) 2024-04-26 15:03:36 +02:00
Phil Davis 08c6f41fc8 Merge pull request #8941 from owncloud/bp-remove-web-smoke-test
[tests-only][full-ci]backport remove web smoke tests from nightly and full-ci
2024-04-24 10:10:43 +05:45
Prajwol Amatya a544de75c4 remove web smoke tests from nightly and full-ci 2024-04-24 09:42:37 +05:45
Michael Barz 8e0f3b9e1c Automated changelog update [skip ci] 2024-04-23 07:00:30 +00:00
Michael Barz f54a6e424d tests: add unit tests for admin role assignment 2024-04-23 08:59:58 +02:00
Michael Barz dd3ad75c00 fix: always assign the admin role to the default admin 2024-04-23 08:59:58 +02:00
Viktor Scharf e6894474be delete php string deprication (#8911) (#8912) 2024-04-22 16:09:29 +05:45
Sabin Panta 032f5afd58 changed php version (#8900) 2024-04-19 15:36:18 +05:45
Michael Barz 5d41175b12 Automated changelog update [skip ci] 2024-04-17 17:21:01 +00:00
Michael Barz ff856b3f30 Merge pull request #8878 from owncloud/release-5.0.2
[full-ci Prepare Release 5.0.2
2024-04-17 19:20:31 +02:00
Michael Barz b07925a927 chore: bump version 2024-04-17 14:05:45 +02:00
Michael Barz 97035575c3 docs: prepare changelog 2024-04-17 14:05:45 +02:00
Michael Barz 676e6dbcef Automated changelog update [skip ci] 2024-04-17 11:44:37 +00:00
Michael Barz 03dd538531 Merge pull request #8873 from rhafer/backport/5.0/8691
[stable-5.0] Backport: fix(public-share-auth): allow to create new documents in public share folder
2024-04-17 13:44:00 +02:00
Michael Barz f2c33fcba0 docs: add reva changelog 2024-04-17 13:15:04 +02:00
Ralf Haferkamp 042ec41edd Bump reva to v2.19.5
For https://github.com/cs3org/reva/pull/4634
2024-04-17 12:46:36 +02:00
Ralf Haferkamp 6df5f45c0e fix(public-share-auth): allow to create new documents in public share folder
The public share authentication middleware only allowed to open existing documents
the /app/new route was missing.

Fixes #8691

(cherry picked from commit 8d5a0c6dd8)
2024-04-17 12:22:24 +02:00
Phil Davis 43f190be4d Merge pull request #8874 from owncloud/bp-drone/chat-notifications
[tests-only][full-ci] backport send nightly notification to builds channel
2024-04-17 09:59:55 +05:45
Phil Davis 46ea8a0bc6 rename channel_cron in drone script 2024-04-17 09:10:53 +05:45
Prajwol Amatya 49c241af93 send nightly notification to builds channel 2024-04-17 09:10:33 +05:45
Prajwol Amatya d3812a1bd6 updated drone file to display pipeline in order by trigger (#8823) (#8851) 2024-04-15 13:06:02 +05:45
Prajwol Amatya 76591e0ea3 notify chat on nightly success also (#8852) 2024-04-15 13:05:18 +05:45
Martin 171a4a0c85 Merge pull request #8849 from owncloud/mmattel-patch-1
[docs-only] Remove EXPERIMENTAL from envvar text
2024-04-12 19:42:22 +02:00
Martin de2a3c7444 [docs-only] Remove EXPERIMENTAL from envvar text
Based on a discussion with @tbsbdr, we can remove the EXPERIMENTAL string from the `OCIS_SHOW_USER_EMAIL_IN_RESULTS` envvar text.

This is already fixed in master.
2024-04-12 15:06:25 +02:00
Martin edb9744b0a Merge pull request #8840 from owncloud/mmattel-patch-1
[docs-only] Backport of "Make a frontend envvar description more clear"
2024-04-11 13:00:10 +02:00
Martin 87efb6e3a9 [docs-only] Backport of Make a frontend envvar description more clear
Backport of #8838 to stable-5.0
2024-04-11 12:19:11 +02:00
Michael Barz 3a2294f4fa Automated changelog update [skip ci] 2024-04-11 09:04:54 +00:00
Michael Barz 711fe74a6c docs: clarify changelog 2024-04-11 11:03:06 +02:00
Michael Barz 2804a42274 Automated changelog update [skip ci] 2024-04-11 08:13:21 +00:00
Michael Barz 6fbdff282a Merge pull request #8825 from owncloud/release-5.0.1
[full-ci] Prepare Release 5.0.1
2024-04-11 10:12:46 +02:00
Michael Barz 8d1ba0244c fix: ocs config was connected incorrectly 2024-04-10 17:08:31 +02:00
Michael Barz 28b95304dd chore: bump version 2024-04-10 15:05:41 +02:00
Michael Barz 47353cb198 docs: prepare changelog 2024-04-10 15:04:19 +02:00
Michael Barz 436757fd8d Automated changelog update [skip ci] 2024-04-10 10:24:35 +00:00
Michael Barz 91187e8706 Merge pull request #8822 from owncloud/backport/stable5/same-site-cookie-setting
backport enhancement: same site strict cookies to stable 5
2024-04-10 12:24:02 +02:00
Florian Schade f04be9f870 enhancement: same site strict cookies (#8716)
To enhance the security of our application and prevent Cross-Site Request Forgery (CSRF) attacks, we have updated the
SameSite attribute of the build in Identity Provider (IDP) cookies to Strict.
2024-04-10 11:42:48 +02:00
Michael Barz b65dbd28cd Automated changelog update [skip ci] 2024-04-09 15:37:00 +00:00
Michael Barz 109fc22c71 docs: add reva changelog for 2.19.3 2024-04-09 17:35:34 +02:00
Michael Barz f43e15fb62 Automated changelog update [skip ci] 2024-04-09 15:30:44 +00:00
Michael Barz 9a236b15f6 docs: add reva changelog 2024-04-09 17:30:04 +02:00
Jörn Friedrich Dreyer d5b08881b5 Automated changelog update [skip ci] 2024-04-09 14:58:02 +00:00
Jörn Friedrich Dreyer 56ca70c4ba Merge pull request #8811 from kobergj/BackportPPFix
[Backport] Postprocessing Fixes (8782)
2024-04-09 16:55:02 +02:00
jkoberg 470d3c5ae1 feat(postprocessing): improve docu
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-04-09 11:42:08 +02:00
jkoberg 69a68ac515 feat(storage-users): allow restarting multiple uploads at once
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-04-09 11:41:38 +02:00
jkoberg 2ab941dea2 fix(postprocessing): repair restart logic
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-04-09 11:41:17 +02:00
Michael Barz 9b795c085b Automated changelog update [skip ci] 2024-04-09 07:47:25 +00:00
Michael Barz c98e241d39 Merge pull request #8806 from aduffeck/stable-5.0-backport-8799
Stable 5.0 backport 8799
2024-04-09 09:46:44 +02:00
André Duffeck f5d9e1f8cf Add changelog 2024-04-09 08:07:32 +02:00
André Duffeck 5eac54959d Fix personal space cache config 2024-04-09 08:04:41 +02:00
Martin e3e3d28c9e Merge pull request #8792 from owncloud/fix_storage_users_envvar_description
[docs-only] [5.0] Fix envvar description (storage-users)
2024-04-08 12:03:29 +02:00
Jörn Friedrich Dreyer 57f85bc06a Merge pull request #8787 from owncloud/bump-reva-2.19.4
[stable-5.0] bump reva to 2.19.4
2024-04-08 10:33:45 +02:00
mmattel 8a464c921c [docs-only] [5.0] Fix envvar description (storage-users) 2024-04-08 09:12:07 +02:00
Jörn Friedrich Dreyer 355f486ca1 bump reva to 2.19.4
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-04-05 12:09:54 +02:00
Jörn Friedrich Dreyer 1f06142480 Merge pull request #8781 from dragonchaser/backport-to-stable-5.0
Backport to stable 5.0 of https://github.com/owncloud/ocis/pull/8756
2024-04-05 10:51:58 +02:00
Christian RichterandJörn Friedrich Dreyer 51ef72532b Update services/ocs/pkg/config/reva.go
Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-04-05 10:24:20 +02:00
Christian Richter f4b673a4e0 change default behaviour to avoid a breaking change
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-04-04 16:46:04 +02:00
Christian Richter 0e680f31e4 bump reva
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-04-04 16:46:04 +02:00
Christian Richter 9bcb949813 Add API struct to ocs
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-04-04 16:46:04 +02:00
Michael Barz d5acebe08a Merge pull request #8775 from rhafer/backport/issue/8771
[backport/stable-5.0] Bump golang.org/x/net to 0.23.0
2024-04-04 16:45:23 +02:00
Ralf Haferkamp 1c633f7d26 Bump golang.org/x/net to 0.23.0
Backports: https://github.com/owncloud/ocis/pull/8773
Fixes #8771
2024-04-04 11:16:36 +02:00
Michael Barz ae74e77c46 Automated changelog update [skip ci] 2024-03-18 14:55:07 +00:00
Michael Barz 6326df1c5b Merge pull request #8679 from owncloud/release-5.0.0
[full-ci] Release 5.0.0
2024-03-18 15:54:24 +01:00
Michael Barz 91e58a31ac chore: bump version 2024-03-18 14:48:03 +01:00
Michael Barz b81167695c docs: prepare changelog 2024-03-18 14:39:30 +01:00
Michael Barz 8675aed596 Automated changelog update [skip ci] 2024-03-15 16:55:18 +00:00
Michael Barz 245fb71e39 Merge pull request #8667 from kobergj/HotfixDisableMultiparts
[Backport] Disable Multipart Uploads
2024-03-15 17:54:40 +01:00
jkoberg e3101b4c40 disable multiparts uploads
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-03-15 16:00:33 +01:00
Christian Richter 8597ca43df Merge pull request #8660 from owncloud/backport-resharing-deprecations
Add deprecation info for resharing
2024-03-15 11:15:01 +01:00
mmattelandChristian Richter 72bba00e53 Add deprecation info for resharing
Co-authored-by: Christian Richter <crichter@owncloud.com>
2024-03-15 10:25:03 +01:00
Michael Barz 63275b6c70 Automated changelog update [skip ci] 2024-03-13 17:07:58 +00:00
Michael Barz cabeda782e Merge pull request #8640 from owncloud/release-5.0.0-rc.6
[full-ci] Release 5.0.0 rc.6
2024-03-13 18:07:05 +01:00
460 changed files with 37488 additions and 18895 deletions

No files matched your search

+1 -1
View File
@@ -1,3 +1,3 @@
# The test runner source for UI tests
WEB_COMMITID=97a5cf669626ed83acaeb2f7e8aaf542d42100c2
WEB_COMMITID=2095462acf3163569802daef1eba0bc9b17710f4
WEB_BRANCH=stable-8.0
+168 -266
View File
@@ -18,7 +18,6 @@ OC_CI_PHP = "owncloudci/php:%s"
OC_CI_WAIT_FOR = "owncloudci/wait-for:latest"
OC_CS3_API_VALIDATOR = "owncloud/cs3api-validator:0.2.1"
OC_LITMUS = "owncloudci/litmus:latest"
OC_OC_TEST_MIDDLEWARE = "owncloud/owncloud-test-middleware:1.8.8"
OC_UBUNTU = "owncloud/ubuntu:20.04"
PLUGINS_CODACY = "plugins/codacy:1"
PLUGINS_DOCKER = "plugins/docker:latest"
@@ -30,10 +29,9 @@ PLUGINS_S3 = "plugins/s3:latest"
PLUGINS_S3_CACHE = "plugins/s3-cache:1"
PLUGINS_SLACK = "plugins/slack:1"
REDIS = "redis:6-alpine"
SELENIUM_STANDALONE_CHROME = "selenium/standalone-chrome:104.0-20220812"
SONARSOURCE_SONAR_SCANNER_CLI = "sonarsource/sonar-scanner-cli:5.0"
DEFAULT_PHP_VERSION = "7.4"
DEFAULT_PHP_VERSION = "8.2"
DEFAULT_NODEJS_VERSION = "18"
dirs = {
@@ -134,16 +132,21 @@ config = {
"skip": False,
"skipExceptParts": [],
},
"uiTests": {
"filterTags": "@ocisSmokeTest",
"skip": False,
"skipExceptParts": [],
},
"e2eTests": {
"skip": False,
"basic": {
"skip": False,
"totalParts": 4, # divide and run all suites in parts (divide pipelines)
"xsuites": ["search", "app-provider"], # suites to skip
},
"search": {
"skip": False,
"suites": ["search"], # suites to run
"tikaNeeded": True,
},
},
"rocketchat": {
"channel": "infinitescale",
"channel": "builds",
"channel_cron": "builds",
"from_secret": "rocketchat_talk_webhook",
},
"binaryReleases": {
@@ -237,25 +240,26 @@ def main(ctx):
pipelines = []
build_release_helpers = \
changelog() + \
docs() + \
licenseCheck(ctx)
test_pipelines = \
codestyle(ctx) + \
checkTestSuitesInExpectedFailures(ctx) + \
buildWebCache(ctx) + \
getGoBinForTesting(ctx) + \
[buildOcisBinaryForTesting(ctx)] + \
buildOcisBinaryForTesting(ctx) + \
checkStarlark() + \
build_release_helpers + \
testOcisAndUploadResults(ctx) + \
testPipelines(ctx)
build_release_pipelines = \
[licenseCheck(ctx)] + \
dockerReleases(ctx) + \
binaryReleases(ctx)
build_release_helpers = [
changelog(),
docs(),
]
test_pipelines.append(
pipelineDependsOn(
purgeBuildArtifactCache(ctx),
@@ -263,7 +267,7 @@ def main(ctx):
),
)
pipelines = test_pipelines + build_release_pipelines + build_release_helpers
pipelines = test_pipelines + build_release_pipelines
if ctx.build.event == "cron":
pipelines = \
@@ -280,14 +284,13 @@ def main(ctx):
# always append notification step
pipelines.append(
pipelineDependsOn(
notify(),
notify(ctx),
pipelines,
),
)
pipelines = pipelines + k6LoadTests(ctx)
pipelines += checkStarlark()
pipelineSanityChecks(ctx, pipelines)
return pipelines
@@ -318,11 +321,19 @@ def buildWebCache(ctx):
def testOcisAndUploadResults(ctx):
pipeline = testOcis(ctx)
######################################################################
# The triggers have been disabled for now, since the govulncheck can #
# not silence single, acceptable vulnerabilities. #
# See https://github.com/owncloud/ocis/issues/9527 for more details. #
# FIXME: RE-ENABLE THIS ASAP!!! #
######################################################################
scan_result_upload = uploadScanResults(ctx)
scan_result_upload["depends_on"] = getPipelineNames([pipeline])
security_scan = scanOcis(ctx)
return [pipeline, scan_result_upload, security_scan]
#security_scan = scanOcis(ctx)
#return [security_scan, pipeline, scan_result_upload]
return [pipeline, scan_result_upload]
def testPipelines(ctx):
pipelines = []
@@ -340,11 +351,7 @@ def testPipelines(ctx):
if "skip" not in config["apiTests"] or not config["apiTests"]["skip"]:
pipelines += apiTests(ctx)
if "skip" not in config["uiTests"] or not config["uiTests"]["skip"]:
pipelines += uiTests(ctx)
if "skip" not in config["e2eTests"] or not config["e2eTests"]["skip"]:
pipelines += e2eTests(ctx)
pipelines += e2eTestPipeline(ctx)
return pipelines
@@ -541,7 +548,7 @@ def scanOcis(ctx):
}
def buildOcisBinaryForTesting(ctx):
return {
return [{
"kind": "pipeline",
"type": "docker",
"name": "build_ocis_binary_for_testing",
@@ -561,7 +568,7 @@ def buildOcisBinaryForTesting(ctx):
],
},
"volumes": [pipelineVolumeGo],
}
}]
def uploadScanResults(ctx):
sonar_env = {
@@ -815,7 +822,7 @@ def localApiTestPipeline(ctx):
localApiTests(suite, storage, params["extraEnvironment"]) +
logRequests(),
"services": emailService() if params["emailNeeded"] else [] + clamavService() if params["antivirusNeeded"] else [],
"depends_on": getPipelineNames([buildOcisBinaryForTesting(ctx)]),
"depends_on": getPipelineNames(buildOcisBinaryForTesting(ctx)),
"trigger": {
"ref": [
"refs/heads/stable-*",
@@ -875,7 +882,7 @@ def cs3ApiTests(ctx, storage, accounts_hash_difficulty = 4):
],
},
],
"depends_on": getPipelineNames([buildOcisBinaryForTesting(ctx)]),
"depends_on": getPipelineNames(buildOcisBinaryForTesting(ctx)),
"trigger": {
"ref": [
"refs/heads/stable-*",
@@ -947,7 +954,7 @@ def wopiValidatorTests(ctx, storage, accounts_hash_difficulty = 4):
[
{
"name": "wopiserver",
"image": "cs3org/wopiserver:v10.3.0",
"image": "cs3org/wopiserver:v10.4.0",
"detach": True,
"commands": [
"cp %s/tests/config/drone/wopiserver.conf /etc/wopi/wopiserver.conf" % (dirs["base"]),
@@ -982,7 +989,7 @@ def wopiValidatorTests(ctx, storage, accounts_hash_difficulty = 4):
},
] +
validatorTests,
"depends_on": getPipelineNames([buildOcisBinaryForTesting(ctx)]),
"depends_on": getPipelineNames(buildOcisBinaryForTesting(ctx)),
"trigger": {
"ref": [
"refs/heads/stable-*",
@@ -1031,7 +1038,7 @@ def coreApiTests(ctx, part_number = 1, number_of_parts = 1, storage = "ocis", ac
] +
logRequests(),
"services": redisForOCStorage(storage),
"depends_on": getPipelineNames([buildOcisBinaryForTesting(ctx)]),
"depends_on": getPipelineNames(buildOcisBinaryForTesting(ctx)),
"trigger": {
"ref": [
"refs/heads/stable-*",
@@ -1050,134 +1057,13 @@ def apiTests(ctx):
return pipelines
def uiTests(ctx):
default = {
"filterTags": "",
def e2eTestPipeline(ctx):
defaults = {
"skip": False,
# only used if 'full-ci' is in build title or if run by cron
"numberOfParts": 20,
"skipExceptParts": [],
}
params = {}
pipelines = []
for item in default:
params[item] = config["uiTests"][item] if item in config["uiTests"] else default[item]
filterTags = params["filterTags"]
if ("full-ci" in ctx.build.title.lower() or ctx.build.event == "cron"):
numberOfParts = params["numberOfParts"]
skipExceptParts = params["skipExceptParts"]
debugPartsEnabled = (len(skipExceptParts) != 0)
for runPart in range(1, numberOfParts + 1):
if (not debugPartsEnabled or (debugPartsEnabled and runPart in skipExceptParts)):
pipelines.append(uiTestPipeline(ctx, "", runPart, numberOfParts))
# For ordinary PRs, always run the "minimal" UI test pipeline
# That has its own expected-failures file, and we always want to know that it is correct,
if (ctx.build.event != "tag"):
pipelines.append(uiTestPipeline(ctx, filterTags, 1, 2, "ocis", "smoke"))
pipelines.append(uiTestPipeline(ctx, filterTags, 2, 2, "ocis", "smoke"))
return pipelines
def uiTestPipeline(ctx, filterTags, runPart = 1, numberOfParts = 1, storage = "ocis", uniqueName = "", accounts_hash_difficulty = 4):
standardFilterTags = "not @skipOnOCIS and not @skip and not @notToImplementOnOCIS and not @federated-server-needed"
if filterTags == "":
finalFilterTags = standardFilterTags
expectedFailuresFileFilterTags = ""
else:
finalFilterTags = filterTags + " and " + standardFilterTags
expectedFailuresFileFilterTags = "-" + filterTags.lstrip("@")
if uniqueName == "":
uniqueNameString = ""
else:
finalFilterTags = filterTags + " and " + standardFilterTags
uniqueNameString = "-" + uniqueName
if numberOfParts == 1:
pipelineName = "Web-Tests-ocis%s-%s-storage" % (uniqueNameString, storage)
else:
pipelineName = "Web-Tests-ocis%s-%s-storage-%s" % (uniqueNameString, storage, runPart)
extra_server_environment = {
"OCIS_SHARING_PUBLIC_SHARE_MUST_HAVE_PASSWORD": False,
"OCIS_PASSWORD_POLICY_MIN_CHARACTERS": 1,
"OCIS_PASSWORD_POLICY_MIN_LOWERCASE_CHARACTERS": 0,
"OCIS_PASSWORD_POLICY_MIN_UPPERCASE_CHARACTERS": 0,
"OCIS_PASSWORD_POLICY_MIN_DIGITS": 0,
"OCIS_PASSWORD_POLICY_MIN_SPECIAL_CHARACTERS": 0,
}
return {
"kind": "pipeline",
"type": "docker",
"name": pipelineName,
"platform": {
"os": "linux",
"arch": "amd64",
},
"steps": skipIfUnchanged(ctx, "acceptance-tests") +
restoreBuildArtifactCache(ctx, "ocis-binary-amd64", "ocis/bin") +
restoreWebCache() +
restoreWebPnpmCache() +
ocisServer(storage, accounts_hash_difficulty, extra_server_environment = extra_server_environment) +
waitForSeleniumService() +
waitForMiddlewareService() +
[
{
"name": "webUITests",
"image": OC_CI_NODEJS % DEFAULT_NODEJS_VERSION,
"environment": {
"SERVER_HOST": "https://ocis-server:9200",
"BACKEND_HOST": "https://ocis-server:9200",
"OCIS_REVA_DATA_ROOT": "%s" % dirs["ocisRevaDataRoot"],
"WEB_UI_CONFIG_FILE": "%s/%s" % (dirs["base"], dirs["ocisConfig"]),
"TEST_TAGS": finalFilterTags,
"LOCAL_UPLOAD_DIR": "/uploads",
"NODE_TLS_REJECT_UNAUTHORIZED": 0,
"RUN_PART": runPart,
"DIVIDE_INTO_NUM_PARTS": numberOfParts,
"EXPECTED_FAILURES_FILE": "/%s/tests/acceptance/expected-failures-webUI-on-%s-storage%s.md" % (dirs["base"], storage.upper(), expectedFailuresFileFilterTags),
"MIDDLEWARE_HOST": "http://middleware:3000",
},
"commands": [
"cd %s/tests/acceptance" % dirs["web"],
"./run.sh",
],
},
],
"services": selenium() + middlewareService(),
"volumes": [{
"name": "uploads",
"temp": {},
}],
"depends_on": getPipelineNames([buildOcisBinaryForTesting(ctx)] + buildWebCache(ctx)),
"trigger": {
"ref": [
"refs/heads/stable-*",
"refs/pull/**",
],
},
}
def e2eTests(ctx):
test_suites = {
"suite1": {
"path": "tests/e2e/cucumber/features/{smoke,journeys}/*.feature",
"tikaNeeded": False,
},
"suite2": {
"path": "tests/e2e/cucumber/features/smoke/{spaces,admin-settings}/*.feature",
"tikaNeeded": False,
},
"suite3": {
"path": "tests/e2e/cucumber/features/smoke/{search,shares}/*.feature",
"tikaNeeded": True,
},
"suites": [],
"xsuites": [],
"totalParts": 0,
"tikaNeeded": False,
}
extra_server_environment = {
@@ -1206,41 +1092,81 @@ def e2eTests(ctx):
pipelines = []
if ("skip-e2e" in ctx.build.title.lower()):
return []
return pipelines
for name, suite in test_suites.items():
steps = \
if (ctx.build.event == "tag"):
return pipelines
for name, suite in config["e2eTests"].items():
if "skip" in suite and suite["skip"]:
return pipelines
params = {}
for item in defaults:
params[item] = suite[item] if item in suite else defaults[item]
e2e_args = ""
if params["totalParts"] > 0:
e2e_args = "--total-parts %d" % params["totalParts"]
elif params["suites"]:
e2e_args = "--suites %s" % ",".join(params["suites"])
# suites to skip
if params["xsuites"]:
e2e_args += " --xsuites %s" % ",".join(params["xsuites"])
steps_before = \
skipIfUnchanged(ctx, "e2e-tests") + \
restoreBuildArtifactCache(ctx, "ocis-binary-amd64", "ocis/bin/ocis") + \
restoreWebCache() + \
restoreWebPnpmCache() + \
(tikaService() if suite["tikaNeeded"] else []) + \
ocisServer("ocis", 4, [], extra_server_environment = extra_server_environment, tika_enabled = suite["tikaNeeded"]) + \
[{
"name": "e2e-tests",
"image": OC_CI_NODEJS % DEFAULT_NODEJS_VERSION,
"environment": {
"BASE_URL_OCIS": "ocis-server:9200",
"HEADLESS": "true",
"RETRY": "1",
"WEB_UI_CONFIG_FILE": "%s/%s" % (dirs["base"], dirs["ocisConfig"]),
"LOCAL_UPLOAD_DIR": "/uploads",
},
"commands": [
"cd %s" % dirs["web"],
"pnpm test:e2e:cucumber %s" % suite["path"],
],
}] + \
uploadTracingResult(ctx) + \
logTracingResults()
(tikaService() if params["tikaNeeded"] else []) + \
ocisServer("ocis", 4, [], extra_server_environment = extra_server_environment, tika_enabled = params["tikaNeeded"])
if (ctx.build.event != "tag"):
step_e2e = {
"name": "e2e-tests",
"image": OC_CI_NODEJS % DEFAULT_NODEJS_VERSION,
"environment": {
"BASE_URL_OCIS": "ocis-server:9200",
"HEADLESS": "true",
"RETRY": "1",
"WEB_UI_CONFIG_FILE": "%s/%s" % (dirs["base"], dirs["ocisConfig"]),
"LOCAL_UPLOAD_DIR": "/uploads",
},
"commands": [
"cd %s/tests/e2e" % dirs["web"],
],
}
steps_after = uploadTracingResult(ctx) + \
logTracingResults()
if params["totalParts"]:
for index in range(params["totalParts"]):
run_part = index + 1
run_e2e = {}
run_e2e.update(step_e2e)
run_e2e["commands"] = [
"cd %s/tests/e2e" % dirs["web"],
"bash run-e2e.sh %s --run-part %d" % (e2e_args, run_part),
]
pipelines.append({
"kind": "pipeline",
"type": "docker",
"name": "e2e-tests-%s-%s" % (name, run_part),
"steps": steps_before + [run_e2e] + steps_after,
"depends_on": getPipelineNames(buildOcisBinaryForTesting(ctx) + buildWebCache(ctx)),
"trigger": e2e_trigger,
"volumes": e2e_volumes,
})
else:
step_e2e["commands"].append("bash run-e2e.sh %s" % e2e_args)
pipelines.append({
"kind": "pipeline",
"type": "docker",
"name": "e2e-tests-%s" % name,
"steps": steps,
"depends_on": getPipelineNames([buildOcisBinaryForTesting(ctx)] + buildWebCache(ctx)),
"steps": steps_before + [step_e2e] + steps_after,
"depends_on": getPipelineNames(buildOcisBinaryForTesting(ctx) + buildWebCache(ctx)),
"trigger": e2e_trigger,
"volumes": e2e_volumes,
})
@@ -1308,7 +1234,7 @@ def dockerReleases(ctx):
for arch in config["dockerReleases"]["architectures"]:
pipelines.append(dockerRelease(ctx, arch))
manifest = releaseDockerManifest()
manifest = releaseDockerManifest(ctx)
manifest["depends_on"] = getPipelineNames(pipelines)
pipelines.append(manifest)
@@ -1321,7 +1247,7 @@ def dockerReleases(ctx):
def dockerRelease(ctx, arch):
build_args = [
"REVISION=%s" % (ctx.build.commit),
"VERSION=%s" % (ctx.build.ref.replace("refs/tags/", "") if ctx.build.event == "tag" else "latest"),
"VERSION=%s" % (ctx.build.ref.replace("refs/tags/", "") if ctx.build.event == "tag" else "stable"),
]
depends_on = getPipelineNames(testOcisAndUploadResults(ctx) + testPipelines(ctx))
@@ -1562,7 +1488,7 @@ def licenseCheck(ctx):
"target": target,
}
return {
return [{
"kind": "pipeline",
"type": "docker",
"name": "check-licenses",
@@ -1662,20 +1588,30 @@ def licenseCheck(ctx):
],
},
"volumes": [pipelineVolumeGo],
}
}]
def releaseDockerManifest():
return {
"kind": "pipeline",
"type": "docker",
"name": "manifest",
"platform": {
"os": "linux",
"arch": "amd64",
def releaseDockerManifest(ctx):
spec_latest = "manifest-latest.tmpl"
steps = [{
"name": "execute",
"image": PLUGINS_MANIFEST,
"settings": {
"username": {
"from_secret": "docker_username",
},
"password": {
"from_secret": "docker_password",
},
"spec": "ocis/docker/manifest.tmpl",
"auto_tag": True,
"ignore_missing": True,
},
"steps": [
}]
if len(ctx.build.ref.split("-")) == 2:
steps.append(
{
"name": "execute",
"name": "execute-latest",
"image": PLUGINS_MANIFEST,
"settings": {
"username": {
@@ -1684,12 +1620,27 @@ def releaseDockerManifest():
"password": {
"from_secret": "docker_password",
},
"spec": "ocis/docker/manifest.tmpl",
"spec": "ocis/docker/%s" % spec_latest,
"auto_tag": True,
"ignore_missing": True,
},
},
],
"when": {
"ref": [
"refs/tags/v*",
],
},
}
)
return {
"kind": "pipeline",
"type": "docker",
"name": "manifest",
"platform": {
"os": "linux",
"arch": "amd64",
},
"steps": steps,
"trigger": {
"ref": [
"refs/tags/v*",
@@ -1698,7 +1649,7 @@ def releaseDockerManifest():
}
def changelog():
return {
return [{
"kind": "pipeline",
"type": "docker",
"name": "changelog",
@@ -1764,7 +1715,7 @@ def changelog():
"refs/pull/**",
],
},
}
}]
def releaseDockerReadme(ctx):
return {
@@ -1800,7 +1751,7 @@ def releaseDockerReadme(ctx):
}
def docs():
return {
return [{
"kind": "pipeline",
"type": "docker",
"name": "docs",
@@ -1869,7 +1820,7 @@ def docs():
"refs/pull/**",
],
},
}
}]
def makeNodeGenerate(module):
if module == "":
@@ -1908,7 +1859,13 @@ def makeGoGenerate(module):
},
]
def notify():
def notify(ctx):
status = ["failure"]
channel = config["rocketchat"]["channel"]
if ctx.build.event == "cron":
status.append("success")
channel = config["rocketchat"]["channel_cron"]
return {
"kind": "pipeline",
"type": "docker",
@@ -1924,7 +1881,7 @@ def notify():
"webhook": {
"from_secret": config["rocketchat"]["from_secret"],
},
"channel": config["rocketchat"]["channel"],
"channel": channel,
},
},
],
@@ -1935,9 +1892,7 @@ def notify():
"refs/heads/release*",
"refs/tags/**",
],
"status": [
"failure",
],
"status": status,
},
}
@@ -2029,38 +1984,6 @@ def ocisServer(storage, accounts_hash_difficulty = 4, volumes = [], depends_on =
wait_for_ocis,
]
def middlewareService():
return [{
"name": "middleware",
"image": OC_OC_TEST_MIDDLEWARE,
"environment": {
"BACKEND_HOST": "https://ocis-server:9200",
"OCIS_REVA_DATA_ROOT": "%s/storage/owncloud/" % dirs["ocis"],
"RUN_ON_OCIS": "true",
"HOST": "middleware",
"REMOTE_UPLOAD_DIR": "/uploads",
"NODE_TLS_REJECT_UNAUTHORIZED": "0",
"MIDDLEWARE_HOST": "middleware",
"TEST_WITH_GRAPH_API": "true",
},
"volumes": [{
"name": "uploads",
"path": "/uploads",
}, {
"name": "gopath",
"path": "/srv/app",
}],
}]
def waitForMiddlewareService():
return [{
"name": "wait-for-middleware-service",
"image": OC_CI_WAIT_FOR,
"commands": [
"wait-for -it middleware:3000 -t 300",
],
}]
def redis():
return [
{
@@ -2075,27 +1998,6 @@ def redisForOCStorage(storage = "ocis"):
else:
return
def selenium():
return [
{
"name": "selenium",
"image": SELENIUM_STANDALONE_CHROME,
"volumes": [{
"name": "uploads",
"path": "/uploads",
}],
},
]
def waitForSeleniumService():
return [{
"name": "wait-for-selenium-service",
"image": OC_CI_WAIT_FOR,
"commands": [
"wait-for -it selenium:4444 -t 300",
],
}]
def build():
return [
{
@@ -2576,7 +2478,7 @@ def litmus(ctx, storage):
},
],
"services": redisForOCStorage(storage),
"depends_on": getPipelineNames([buildOcisBinaryForTesting(ctx)]),
"depends_on": getPipelineNames(buildOcisBinaryForTesting(ctx)),
"trigger": {
"ref": [
"refs/heads/stable-*",
+528 -480
View File
File diff suppressed because it is too large. Load diff
Loaded 100 of 460 files, more files were not shown because too many files have changed in this diff. Show more