Commit Graph

274 Commits

Author SHA1 Message Date
Côme Chilliet
ebd992ade2
Fixes in update-3rdparty command
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-01 10:34:50 +02:00
Arthur Schiwon
55dbb86fc6
ci(32bit): fix failing test setup
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-11 23:32:34 +02:00
dependabot[bot]
dbc0b75a5e
chore(deps): Bump skjnldsv/read-package-engines-version-actions
Bumps [skjnldsv/read-package-engines-version-actions](https://github.com/skjnldsv/read-package-engines-version-actions) from 2.1 to 2.2.
- [Release notes](https://github.com/skjnldsv/read-package-engines-version-actions/releases)
- [Commits](https://github.com/skjnldsv/read-package-engines-version-actions/compare/v2.1...8205673bab74a63eb9b8093402fd9e0e018663a1)

---
updated-dependencies:
- dependency-name: skjnldsv/read-package-engines-version-actions
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-01 02:16:34 +00:00
dependabot[bot]
b0c3f7aa96
chore(deps): Bump cypress-io/github-action from 5.8.1 to 5.8.3
Bumps [cypress-io/github-action](https://github.com/cypress-io/github-action) from 5.8.1 to 5.8.3.
- [Release notes](https://github.com/cypress-io/github-action/releases)
- [Commits](db1693016f...d69252d52b)

---
updated-dependencies:
- dependency-name: cypress-io/github-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-30 05:59:08 +00:00
John Molakvoæ
cfc88eac8c
fix(cypress): branch definition and update from template
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-29 21:45:58 +02:00
John Molakvoæ
45ecd55d89
feat: prepare jest coverage support
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-21 09:20:50 +02:00
John Molakvoæ
39b716cc78
Merge pull request #38781 from nextcloud/ci/noid/pin-setup-php 2023-06-13 09:29:56 +02:00
John Molakvoæ
46c1d97ccb
Merge pull request #38787 from nextcloud/dependabot/github_actions/actions/setup-node-3 2023-06-13 09:18:05 +02:00
John Molakvoæ
da7b4079ee
Merge pull request #38786 from nextcloud/dependabot/github_actions/peter-evans/create-or-update-comment-3 2023-06-13 09:17:37 +02:00
John Molakvoæ
14ae779d62
Merge pull request #38788 from nextcloud/dependabot/github_actions/actions/upload-artifact-3 2023-06-13 09:17:27 +02:00
dependabot[bot]
89eecf93f7
chore(deps): Bump actions/upload-artifact from 2 to 3
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...0b7f8abb1508181956e8e162db84b466c27e18ce)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-12 22:12:48 +00:00
dependabot[bot]
30639c9276
chore(deps): Bump actions/setup-node from 2 to 3
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2 to 3.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2...64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-12 22:12:45 +00:00
dependabot[bot]
acf0f16491
chore(deps): Bump peter-evans/create-or-update-comment from 2 to 3
Bumps [peter-evans/create-or-update-comment](https://github.com/peter-evans/create-or-update-comment) from 2 to 3.
- [Release notes](https://github.com/peter-evans/create-or-update-comment/releases)
- [Commits](https://github.com/peter-evans/create-or-update-comment/compare/v2...c6c9a1a66007646a28c153e2a8580a5bad27bcfa)

---
updated-dependencies:
- dependency-name: peter-evans/create-or-update-comment
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-12 22:12:42 +00:00
dependabot[bot]
874d7917db
chore(deps): Bump skjnldsv/read-package-engines-version-actions
Bumps [skjnldsv/read-package-engines-version-actions](https://github.com/skjnldsv/read-package-engines-version-actions) from 1.1 to 2.2.
- [Release notes](https://github.com/skjnldsv/read-package-engines-version-actions/releases)
- [Commits](https://github.com/skjnldsv/read-package-engines-version-actions/compare/v1.1...8205673bab74a63eb9b8093402fd9e0e018663a1)

---
updated-dependencies:
- dependency-name: skjnldsv/read-package-engines-version-actions
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-12 22:12:36 +00:00
Arthur Schiwon
8d8c8654cf
ci: pin setup-php to avoid a regression
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-12 23:55:02 +02:00
John Molakvoæ
7cb6a3df33
fix(actions): cypress
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-08 08:45:09 +02:00
Joas Schilling
6793fe134a
fix(CI): Add empty eslint and node when unrelated (PHP only)
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-06-02 08:34:54 +02:00
Joas Schilling
e786411da8
fix(CI): Update oracle image and config
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-06-02 00:44:42 +02:00
John Molakvoæ
5f8fefcfc2
chore: update workflows from templates
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-02 00:26:03 +02:00
Joas Schilling
d6ce50082e
fix(psalm): Install apcu, ftp and ldap extension like in static-code-analysis-security
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-06-02 00:19:25 +02:00
Joas Schilling
373147ac02
fix(CI): Temporary workaround - Run Psalm CI with 1 thread only so it finishes
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-06-01 23:47:21 +02:00
Christoph Wurst
ae69a907bc
ci: Use conventional commits for CA bundle updates
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-05-31 08:21:14 +02:00
Joas Schilling
9a7870bce6
chore(CI): Update psalm baseline also on stable27
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-17 10:34:27 +02:00
Joas Schilling
cf0a59eaf4
chore(CI): Backport the CA Cert update to stable27
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-17 10:33:16 +02:00
John Molakvoæ
14cb58c0e5
Merge pull request #31469 from nextcloud/feat/workflow-auto-update-lint-eslint.yml 2023-05-10 11:41:29 +02:00
Côme Chilliet
95d98b57ec
Run 32bit CI on workflow modifications and new releases
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-02 16:10:20 +02:00
Simon L
d2a242de07 update npm-audit-fix
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-28 18:58:54 +02:00
Simon L
f4bef823eb add npm-audit-fix
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-28 16:01:46 +02:00
Joas Schilling
0e8e2c167b
fix(CI): Move cron job times so it doesn't overlap with translations
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-18 14:00:40 +02:00
Louis
93faf19ed9
Merge pull request #37573 from nextcloud/artonge/debt/remote_autotest-js.sh
Remove autotest-js.sh
2023-04-04 17:02:22 +02:00
Joas Schilling
44cb46c0f2
Merge pull request #37345 from nextcloud/artonge/fix_files_version_cypress_tests
Fix cypress tests for files_versions
2023-04-04 13:42:53 +02:00
Louis Chemineau
aeebf13d5d Remove autotest-js.sh
It is just a proxy to npm run test:jsunit.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-04-04 11:57:16 +02:00
Louis Chemineau
67df0afaff Only upload logs and data on failure
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-04-04 10:48:36 +02:00
Côme Chilliet
1000b463a1
Merge pull request #37320 from nextcloud/fix/workflow-unique-names
Avoid having the same name for several workflows
2023-04-03 11:38:20 +02:00
Louis Chemineau
4bfdd715c8 Upload data dir archive in cypress tests
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-03-30 10:09:14 +02:00
Louis Chemineau
186491113e Do not stop docker in cypress workflow
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-03-30 10:09:14 +02:00
Louis Chemineau
8cc29dd3dc Fix condition to extrac NC logs in cypress workflow
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-03-30 10:09:14 +02:00
Louis Chemineau
b7afd644fa Extract logs only for e2e testing
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-03-30 10:09:14 +02:00
Louis Chemineau
c79f774dd6 Upload NC logs during cypress workflow
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-03-30 10:09:13 +02:00
Côme Chilliet
2afe26726b
Merge pull request #37309 from nextcloud/fix/bump-icewind/streams-to-0.7.7-in-master
Bump icewind/streams to 0.7.7 in master
2023-03-27 17:30:29 +02:00
Côme Chilliet
16f2987b43
Fix update-3rdparty command target branch computation
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-03-27 15:51:04 +02:00
Christoph Wurst
936babe17e
ci(psalm): Install ftp extension for security scans
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-03-24 13:21:47 +01:00
Christoph Wurst
6c2d9ec73e
ci(psalm): Install ldap extension for security scans
Otherwise Psalm runs into tons of `UndefinedConstant`

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-03-24 13:20:08 +01:00
Côme Chilliet
8a5374cb63
Avoid having the same name for several workflows
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-03-21 11:01:21 +01:00
Côme Chilliet
59036bd056
Fix update-3rdparty command
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-03-15 15:07:27 +01:00
Côme Chilliet
325c3100c7
Merge pull request #35610 from nextcloud/feat/add-update-3rdparty-command
Add a command to update the 3rdparty submodule to the same branch as …
2023-03-15 10:34:29 +01:00
Joas Schilling
502534d970
Merge pull request #37222 from nextcloud/bugfix/noid/update-psalm-baseline-on-stable26
chore(psalm): Update psalm baseline also on stable26
2023-03-15 09:09:38 +01:00
Joas Schilling
3fea682907
chore(CI): Update psalm baseline on stable26
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-15 08:13:13 +01:00
Joas Schilling
766f38dc73
Save some CI time
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-15 08:08:18 +01:00
Côme Chilliet
dc262e5ce2 Add a command to update the 3rdparty submodule to the same branch as the PR target
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-03-14 22:08:46 +00:00
Julius Härtl
b59cf4c1d4 Run webdav related integration tests on github actions
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-03-06 22:46:07 +00:00
Joas Schilling
ae915cff05
chore(CI): Backport the CA Cert update to stable26
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-03 06:55:16 +01:00
MichaIng
f74b75630e
[CI] Update update-psalm-baseline workflow to solve warnings
This updates the PR action to v4, which solves warnings about deprecated Node.js 12 actions set-output commmand calls.

Signed-off-by: MichaIng <micha@dietpi.com>
2023-02-28 00:51:58 +01:00
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