Commit graph

221 commits

Author SHA1 Message Date
Joas Schilling
f32804e97d
First run unit tests so they don't fail
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-23 16:58:15 +01:00
Joas Schilling
b0e2a296ff
fix(CI): Run repair steps against Oracle DB
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-23 16:57:52 +01:00
Côme Chilliet
6e276ad2e1
Show logs on smb-kerberos CI failure
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:36 +01:00
Côme Chilliet
33b52077ff
Only run 32bit CI once a day
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:34 +01:00
Côme Chilliet
892e6c642a
Skip buggy tests for 32bits CI
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:33 +01:00
Côme Chilliet
2d8e696c24
Add apcu and ffmpeg to have less skipped tests
Also exclude test groups which rely on a service

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:28 +01:00
Côme Chilliet
b370fdb1e7
Running all tests on 32bits to see what happens
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:28 +01:00
Côme Chilliet
3885818ab6
Add workflow for 32bits testing
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:10 +01:00
Côme Chilliet
17ed023be2
Merge pull request #36314 from nextcloud/sso-kerberos-fix
Update kerberos sso test setup to use new user_saml config system
2023-02-07 11:16:08 +01:00
Joas Schilling
bb34476b68
chore(CI): Opt-out of PHPUnit 10 for now
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-03 10:02:02 +01:00
Côme Chilliet
ac5df8e94f
Catch deprecation warnings in oci tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-02 12:05:21 +01:00
Côme Chilliet
0925709c62
Add 8.2 to oci tests
This is the only test suite testing 8.1, so adding 8.2 as well

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-02 12:05:20 +01:00
Joas Schilling
664c7113ae
ci(psalm): Generate base analysis on pushes so we can compare to updated reports
Signed-off-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
2023-01-27 10:08:53 +01:00
Robin Appelman
3b577aa5b2
Update kerberos sso test setup to use new user_saml config system
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-01-23 18:21:47 +01:00
Robin Appelman
54973c3cf9
run kerberos sso test when the action is changed
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-01-23 18:21:39 +01:00
Joas Schilling
793424ab79
Specify the profiler app branch to test with
So we can test in stable25 with a matching profiler version instead of master

Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-20 16:36:34 +01:00
Côme Chilliet
d2204a71c6
Always show the psalm baseline change, even on failure
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-20 11:22:13 +01:00
Côme Chilliet
83d2655844
Show failure of SAML login in kerberos workflow
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-20 11:22:13 +01:00
Côme Chilliet
55baa7b586
Fixing samba test and adding details to kerberos job
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-20 11:22:12 +01:00
Côme Chilliet
7e0a0240c9
Remove PHP version matrix from kerberos test
It runs on a docker image on which we cannot control which PHP version runs.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-20 11:22:11 +01:00
Côme Chilliet
9acb982333
Prettify static-code-analysis.yml
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-20 11:22:10 +01:00
Côme Chilliet
f6ed727b3f
Always upload psalm result to github
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-20 11:22:10 +01:00
Côme Chilliet
e8299d4826
Merge back the two static analysis workflows together
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-20 11:22:10 +01:00
Côme Chilliet
87ebf28eb4
Fix kerberos step name
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-20 11:22:08 +01:00
John Molakvoæ
e2da30a0c5
Add component testing workflow
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-01-04 16:46:16 +01:00
Joas Schilling
48d6000468
chore(CI): Improve rate limit situation when installing phpunit
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-03 13:33:49 +01:00
John Molakvoæ
21254b02eb
fix(actions): php-lint
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2022-12-30 11:05:32 +01:00
John Molakvoæ
3c23604834
chore(actions): bring back php 8.2 lint
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2022-12-30 10:30:49 +01:00
John Molakvoæ
e6b56a425b
8.2 is not supported yet
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-12-29 10:51:07 +01:00
John Molakvoæ
eab9ed6e09
fix(actions): Update psalm github action
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-12-29 10:46:48 +01:00
John Molakvoæ
0dc1aef292
chore(actions): update php min supported to 8.0
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-12-29 10:37:27 +01:00
Louis Chemineau
7a73219412 Checkout current branch in cypress tests in CI
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-12-27 11:44:46 +01:00
Daniel Kesselberg
1aad491676
ci: update minio image for s3 primary storage tests
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-12-07 17:39:41 +01:00
Carl Schwan
33c2c3d030
Merge pull request #35635 from nextcloud/ci/update-psalm-baseline/stable25
Update update-psalm-baseline workflow for NC25
2022-12-07 11:14:46 +01:00
MichaIng
35d67bdcf0
Update update-psalm-baseline workflow for NC25
and also update Psalm OCP baseline.

Additionally update the checkout action.

Signed-off-by: MichaIng <micha@dietpi.com>
2022-12-06 22:53:40 +01:00
John Molakvoæ
de3c5f2b1c
Update node check to not run sass twice
They are now included in the `postbuild` npm step


Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2022-12-06 14:56:08 +01:00
John Molakvoæ
b981b23e3d
Update compile to not run sass twice
They are now included in the `postbuild` npm step

Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2022-12-06 14:54:02 +01:00
Simon L
7964b860cd downgrade ubuntu in order to fix CI
Signed-off-by: Simon L <szaimen@e.mail.de>
2022-12-03 23:01:05 +01:00
John Molakvoæ
0761c84bbf
Bump cypress runners
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-11-30 18:39:58 +01:00
Robin Appelman
8434259b1b
Merge pull request #35376 from nextcloud/bug/noid/fix-workflow-s3-primary
Run s3 primary tests sequential
2022-11-30 14:53:32 +01:00
John Molakvoæ
064fa10ecf
Extract colour from custom background
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-11-29 11:23:05 +01:00
Daniel Kesselberg
cddc753b29
Run s3 primary tests sequential
To avoid casual test failures.

Concurrent jobs may try to use the same port forwarding for the minio container.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-11-25 17:58:51 +01:00
Peter Serwylo
56aee55f9b Fix github action "performance-8.0" when PR is from a fork.
There is an assumption that the PR is from the same remote as
the base it is being merged into. This is fixed so that instead
of doing a `git fetch origin`, it now fetches from the `clone_url`
of the PR head.

Signed-off-by: Peter Serwylo <peter@serwylo.com>
2022-11-16 23:50:40 +11:00
Joas Schilling
af8a69b407
Update OCI workflow of server
* Only on pull requests
* Concurrency group
* Bump used actions
* Add summary

Signed-off-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
2022-10-18 23:02:52 +02:00
Nextcloud bot
9b8916457c Updating lint-eslint.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-15 13:39:15 +00:00
Joas Schilling
6e30b9b4ac
Also backport the cacert to stable25
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-11 08:12:58 +02:00
Joas Schilling
f51da25647
Update update-cacert-bundle.yml
Signed-off-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
2022-09-16 12:47:32 +02:00
Joas Schilling
9eade34385
Automate CA certificate bundle update
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-09-16 09:13:45 +02:00
John Molakvoæ
bda2068ce0
Merge pull request #32830 from nextcloud/feat/workflow-auto-update-command-rebase.yml 2022-08-10 12:46:55 +02:00
Vincent Petry
b5895459c9
Update node workflow for better error messages
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-08-03 15:23:20 +02:00
Joas Schilling
b6f23ce9b4
Remove "needs info" label when the issue is not stale anymore
Signed-off-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
2022-08-02 11:33:20 +02:00
Robin Appelman
d6e35dfe2c
use blueprint from repo
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-06-30 15:52:33 +02:00
Robin Appelman
5d3e86a1c6
use profiler action
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-06-30 15:52:30 +02:00
Robin Appelman
6378a186ab
run performance comparisons in ci
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-06-30 15:52:24 +02:00
Nextcloud bot
6ae3fcf9b5 Updating command-rebase.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-11 15:29:08 +00:00
Daniel Kesselberg
2af36577c5
Add matrix for psalm baseline update job
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-06-05 22:57:23 +02:00
Louis Chemineau
9566fb8007 Add --if-present flag to prevent error when sass script does not exists
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-06-01 09:04:26 +02:00
Christoph Wurst
a849b3fa0c
Add lint job for PHP8.2
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-05-25 16:21:46 +02:00
Carl Schwan
da49e3f3e0 Port share by mail settings to vue
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-19 15:45:44 +02:00
John Molakvoæ
5a80df6e4c
Remove stale debug mode 2022-05-13 20:24:18 +02:00
John Molakvoæ
458dc1c040
Update command-rebase.yml 2022-05-13 20:21:52 +02:00
John Molakvoæ
29a8b2958d
Add workflow test
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-05-13 16:13:01 +02:00
John Molakvoæ
cb73fe26b8
Compile theming
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-05-11 08:35:23 +02:00
Git'Fellow
d8c7099cc9
Increase retry delay on 'Wait for S3' CI job
1 second means 10 seconds before failure (1x10). Increasing to 10x10 before failure.
2022-05-09 18:44:46 +02:00
Nextcloud bot
2425a7effc Updating command-rebase.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-26 16:05:28 +00:00
John Molakvoæ
b72c619d4b
Merge pull request #31467 from nextcloud/feat/workflow-auto-update-node.yml 2022-04-26 17:38:16 +02:00
John Molakvoæ
036f871d01
Merge pull request #31492 from nextcloud/fix/check-secret-configured 2022-04-26 17:28:51 +02:00
John Molakvoæ
42d24f3051
Add stale action 2022-04-13 09:27:58 +02:00
Robin Appelman
25e4eb0f42
try to improve s3 primary storage test reliability
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-15 17:07:19 +01:00
Carl Schwan
e6161af662 Also check for instanceid and passwordhash
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-03-09 13:36:06 +01:00
Carl Schwan
7496bf3461 Require the secret config to be configured
If it's not configured the instance will look like it is working but
various features will silently break (end to end encryption, setting
alternate email and probably more).

One issue is that changing the secret from empty to something will
break various other stuff (app token). I don't think there is a good way
to solve this issue other than breaking early instead of having to
handle a painful migration later on.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-03-08 23:11:08 +01:00
Nextcloud bot
1f961e33b0 Updating node.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-06 18:04:42 +00:00
Nextcloud bot
80dc1094f2 Updating command-rebase.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-05 08:32:53 +00:00
Robin Appelman
72f9fd951d
run ci with primary s3 setup
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-02-25 15:21:37 +01:00
Côme Chilliet
d635d58d19
Merge pull request #29286 from nextcloud/enhancement/drop-php-7-3
Drop PHP7.3
2022-02-01 10:50:28 +01:00
John Molakvoæ
deb735ed85
Prevent merging on EOL branches
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-01-27 09:05:30 +01:00
Côme Chilliet
54c933769f
Drop 7.3 from some CI steps
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-01-25 17:25:14 +01:00
Robin Appelman
4fe70de132
Add test for samba kerberos sso in ci
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-01-20 18:34:34 +01:00
John Molakvoæ
58798b835a
Merge pull request #30738 from nextcloud/nickvergessen-patch-1 2022-01-19 10:18:06 +01:00
Joas Schilling
a41d27d8d2
Create block-merge-freeze.yml
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-01-19 09:19:13 +01:00
Louis Chemineau
bca3ef60a3 Move jsunit dependencies to main package.json
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-18 11:29:51 +01:00
Louis Chemineau
16ba294065 Migrate to npm 7 for autotest-js.sh
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-18 11:03:00 +01:00
MichaIng
faeeb03020 Remove iconv from further tests
as of: https://github.com/nextcloud/server/pull/29470

Some tests were missing in: https://github.com/nextcloud/server/pull/29958

Signed-off-by: MichaIng <micha@dietpi.com>
2021-12-31 17:32:43 +01:00
Côme Chilliet
4f7b9cc6b2
Add 8.1 tests to CI
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-16 09:43:31 +01:00
John Molakvoæ
4586560f9b
Revert "Explicitly name node tests workflow" 2021-12-07 09:46:57 +01:00
Christopher Ng
7fd6339c79 Explicitly name node tests workflow
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-12-03 18:59:15 +00:00
MichaIng
0d749b7e9a Remove iconv from dependencies and tests
which is not used anymore since: https://github.com/nextcloud/server/pull/29470

Signed-off-by: MichaIng <micha@dietpi.com>
2021-11-30 02:33:12 +01:00
John Molakvoæ
c6429e6cd1
Merge pull request #29547 from nextcloud/automated/noid/psalm-baseline-update 2021-11-04 11:48:51 +01:00
John Molakvoæ
421d8ac4b3
Add branch-suffix to update-psalm-baseline PR creation
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2021-11-04 11:42:34 +01:00
John Molakvoæ
0dc51320e8
Add 3. to review label 2021-11-04 10:19:29 +01:00
John Molakvoæ
e20f002c4f
Add continue-on-error for update-psalm-baseline workflow 2021-11-04 10:11:56 +01:00
John Molakvoæ
6ee4e6a796
Update update-psalm-baseline.yml
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2021-11-03 10:23:33 +01:00
Robin Appelman
294b218895
ci
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-15 15:35:12 +02:00
Robin Appelman
09ffac5e6d
s3 external storage listing rework
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-15 15:35:02 +02:00
Robin Appelman
a3f1d10f4d
ftp ci improvements
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-07 18:47:13 +02:00
Robin Appelman
7ec80b3957
ftp logs
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-07 17:19:30 +02:00
Robin Appelman
10b613810f
run ftp external storage tests against multiple ftp servers
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-07 17:19:18 +02:00
Daniel Kesselberg
6cfc7f5dd3
Reset composer for automated psalm baseline update
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-10-07 09:27:21 +02:00
Vincent Petry
442eb6cc0e
Merge pull request #29050 from nextcloud/debt/noid/job-to-update-psalm-baseline-broken
Fix job to update psalm baseline
2021-10-06 09:21:45 +02:00
Daniel Kesselberg
20da1080fa
Fix job to update psalm baseline
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-10-03 20:31:10 +02:00