Commit Graph

403 Commits (d92bf388b1c553ecd6bfb2a7400b990dcafe9c54)

Author SHA1 Message Date
Christoph Wurst 0e64ec6550
chore: Install phpunit via vendor bin
This means we can all run the same version. And when switching to
stableX it can pull the corresponding version too. Also local dev envs
and CI run the same phpunit.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-10-02 11:33:14 +07:00
Max 716d1a2d76
test(cypress): only use the cypress cloud on pull requests
* Disable recording on integration branches.
* No parallelization on integration branches.

This will still run the cypress tests - but a bit slower and without recordings.

The matrix syntax to enable this is somewhat hard to parse.
In case of a PR the matrix will contain one entry for use-cypress-cloud
with the value `true`. Otherwise it will have one entry `false`.

This way we can exclude containers for the case without the cypress cloud.

Signed-off-by: Max <max@nextcloud.com>
2023-10-02 11:14:23 +07:00
Daniel Kesselberg 7e0ed6b636 ci: clear disable_functions to enable pcntl_signal
When using ini-file development then disable_functions forbids pcntl_signal by default.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-09-30 22:52:57 +07:00
Côme Chilliet 5586f2d4c4 Use latest shivammathur/setup-php in phpunit-32bits.yml
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-30 22:52:57 +07:00
Côme Chilliet e20ba1cab1 Add 8.3 to lint CI and 32bits test suite
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-30 22:52:57 +07:00
Côme Chilliet 796bf329b6 Adding ini-file:development to 32bit CI
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-30 22:52:57 +07:00
Daniel Kesselberg beb0b34eb9
ci: skip cypress install
Unecessary to download the cypress binary if we don't run cypress

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-09-22 17:41:57 +07:00
Robin Appelman 09794b6792 try to make kerberos test more reliable
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-20 17:29:48 +07:00
Ferdinand Thiessen 7f9faa544b
Merge pull request #40355 from nextcloud/dependabot/github_actions/cypress-io/github-action-6.5.0
chore(deps): Bump cypress-io/github-action from 5.8.3 to 6.5.0
2023-09-19 13:46:09 +07:00
Ferdinand Thiessen 8157d97890
Merge pull request #39974 from nextcloud/dependabot/github_actions/actions/setup-node-3.8.1
chore(deps): Bump actions/setup-node from 3.6.0 to 3.8.1
2023-09-19 11:39:12 +07:00
Ferdinand Thiessen ad8811d392
Merge pull request #39972 from nextcloud/dependabot/github_actions/peter-evans/create-pull-request-5
chore(deps): Bump peter-evans/create-pull-request from 3 to 5
2023-09-19 11:38:24 +07:00
Robin Appelman cd7c3f0a6f
Merge pull request #39531 from nextcloud/sso-kerberos-fix2
kerberos sso ci fix
2023-09-19 10:38:32 +07:00
dependabot[bot] 81fe4a9fe3
chore(deps): Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...3df4ab11eba7bda6032a0b82a6bb43b11571feac)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-18 17:15:30 +07:00
Robin Appelman cf7344082d
Merge pull request #40183 from nextcloud/sftp-fixes
SFTP improvements
2023-09-18 19:14:27 +07:00
Robin Appelman fc7adff48d use user_saml from git
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-18 17:25:39 +07:00
Robin Appelman a185edd5d1 kerberos sso ci fixes
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-18 16:43:41 +07:00
dependabot[bot] 9323d1312e
chore(deps): Bump actions/upload-artifact from 3.1.2 to 3.1.3
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](0b7f8abb15...a8a3f3ad30)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-09 01:16:29 +07:00
dependabot[bot] 81b400c777
chore(deps): Bump cypress-io/github-action from 5.8.3 to 6.5.0
Bumps [cypress-io/github-action](https://github.com/cypress-io/github-action) from 5.8.3 to 6.5.0.
- [Release notes](https://github.com/cypress-io/github-action/releases)
- [Changelog](https://github.com/cypress-io/github-action/blob/master/CHANGELOG.md)
- [Commits](d69252d52b...59810ebfa5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-09 01:16:27 +07:00
Robin Appelman e3a39f5117
add sftp ci test
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-04 16:30:11 +07:00
Robin Appelman 5d35f27f02
change proftpd ci image
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-01 19:25:27 +07:00
dependabot[bot] 85971ea035
Merge pull request #39976 from nextcloud/dependabot/github_actions/actions/stale-8 2023-08-19 12:58:56 +07:00
dependabot[bot] e946b3260d
chore(deps): Bump actions/stale from 5 to 8
Bumps [actions/stale](https://github.com/actions/stale) from 5 to 8.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v5...v8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-19 02:44:38 +07:00
dependabot[bot] d8213f6598
chore(deps): Bump actions/github-script from 5 to 6
Bumps [actions/github-script](https://github.com/actions/github-script) from 5 to 6.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v5...v6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-19 02:44:37 +07:00
dependabot[bot] 61bc7f8045
chore(deps): Bump actions/setup-node from 3.6.0 to 3.8.1
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.6.0 to 3.8.1.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](64ed1c7eab...5e21ff4d9b)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-19 02:44:31 +07:00
dependabot[bot] f6d22a1405
chore(deps): Bump peter-evans/create-pull-request from 3 to 5
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 3 to 5.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v3...153407881ec5c347639a548ade7d8ad1d6740e38)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-19 02:44:27 +07:00
dependabot[bot] 2693bdf4c1
Merge pull request #39095 from nextcloud/dependabot/github_actions/skjnldsv/read-package-engines-version-actions-2.2 2023-08-16 23:42:06 +07:00
jld3103 2b719c7a7b
Add OpenAPI CI
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-08-11 13:31:34 +07:00
jld3103 17c63ff735
Install openapi-extractor
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-08-11 13:31:34 +07:00
Daniel Kesselberg 8c0e96c38e
chore: add pr-feedback workflow
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-08-03 15:15:47 +07:00
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 +07: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 +07: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 +07: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 +07: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 +07:00
John Molakvoæ 45ecd55d89
feat: prepare jest coverage support
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-21 09:20:50 +07:00
John Molakvoæ 39b716cc78
Merge pull request #38781 from nextcloud/ci/noid/pin-setup-php 2023-06-13 09:29:56 +07:00
John Molakvoæ 46c1d97ccb
Merge pull request #38787 from nextcloud/dependabot/github_actions/actions/setup-node-3 2023-06-13 09:18:05 +07: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 +07:00
John Molakvoæ 14ae779d62
Merge pull request #38788 from nextcloud/dependabot/github_actions/actions/upload-artifact-3 2023-06-13 09:17:27 +07: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 +07: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 +07: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 +07: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 +07: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 +07:00
John Molakvoæ 7cb6a3df33
fix(actions): cypress
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-08 08:45:09 +07: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 +07: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 +07:00
John Molakvoæ 5f8fefcfc2
chore: update workflows from templates
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-02 00:26:03 +07: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 +07: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 +07: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 +07: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 +07: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 +07:00
John Molakvoæ 14cb58c0e5
Merge pull request #31469 from nextcloud/feat/workflow-auto-update-lint-eslint.yml 2023-05-10 11:41:29 +07: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 +07:00
Simon L d2a242de07 update npm-audit-fix
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-28 18:58:54 +07:00
Simon L f4bef823eb add npm-audit-fix
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-28 16:01:46 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07:00
Louis Chemineau b7afd644fa Extract logs only for e2e testing
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-03-30 10:09:14 +07:00
Louis Chemineau c79f774dd6 Upload NC logs during cypress workflow
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-03-30 10:09:13 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07:00
Joas Schilling 766f38dc73
Save some CI time
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-15 08:08:18 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07:00
John Molakvoæ e2da30a0c5
Add component testing workflow
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-01-04 16:46:16 +07: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 +07:00
John Molakvoæ 21254b02eb
fix(actions): php-lint
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2022-12-30 11:05:32 +07: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 +07:00
John Molakvoæ e6b56a425b
8.2 is not supported yet
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-12-29 10:51:07 +07:00
John Molakvoæ eab9ed6e09
fix(actions): Update psalm github action
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-12-29 10:46:48 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07:00
John Molakvoæ 0761c84bbf
Bump cypress runners
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-11-30 18:39:58 +07: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 +07:00
John Molakvoæ 064fa10ecf
Extract colour from custom background
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-11-29 11:23:05 +07: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 +07: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 +07: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 +07: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 +07:00
Joas Schilling 6e30b9b4ac
Also backport the cacert to stable25
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-11 08:12:58 +07: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 +07:00
Joas Schilling 9eade34385
Automate CA certificate bundle update
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-09-16 09:13:45 +07:00
John Molakvoæ bda2068ce0
Merge pull request #32830 from nextcloud/feat/workflow-auto-update-command-rebase.yml 2022-08-10 12:46:55 +07: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 +07: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 +07:00
Robin Appelman d6e35dfe2c
use blueprint from repo
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-06-30 15:52:33 +07:00
Robin Appelman 5d3e86a1c6
use profiler action
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-06-30 15:52:30 +07:00
Robin Appelman 6378a186ab
run performance comparisons in ci
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-06-30 15:52:24 +07: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 +07: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 +07: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 +07: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 +07: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 +07:00
John Molakvoæ 5a80df6e4c
Remove stale debug mode 2022-05-13 20:24:18 +07:00
John Molakvoæ 458dc1c040
Update command-rebase.yml 2022-05-13 20:21:52 +07:00
John Molakvoæ 29a8b2958d
Add workflow test
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-05-13 16:13:01 +07:00
John Molakvoæ cb73fe26b8
Compile theming
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-05-11 08:35:23 +07: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 +07: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 +07:00
John Molakvoæ b72c619d4b
Merge pull request #31467 from nextcloud/feat/workflow-auto-update-node.yml 2022-04-26 17:38:16 +07:00
John Molakvoæ 036f871d01
Merge pull request #31492 from nextcloud/fix/check-secret-configured 2022-04-26 17:28:51 +07:00
John Molakvoæ 42d24f3051
Add stale action 2022-04-13 09:27:58 +07: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 +07:00
Carl Schwan e6161af662 Also check for instanceid and passwordhash
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-03-09 13:36:06 +07: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 +07:00
Nextcloud bot 1f961e33b0 Updating node.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-06 18:04:42 +07: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 +07:00
Robin Appelman 72f9fd951d
run ci with primary s3 setup
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-02-25 15:21:37 +07: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 +07:00
John Molakvoæ deb735ed85
Prevent merging on EOL branches
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-01-27 09:05:30 +07: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 +07: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 +07:00
John Molakvoæ 58798b835a
Merge pull request #30738 from nextcloud/nickvergessen-patch-1 2022-01-19 10:18:06 +07:00
Joas Schilling a41d27d8d2
Create block-merge-freeze.yml
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-01-19 09:19:13 +07: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 +07: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 +07: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 +07: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 +07:00
John Molakvoæ 4586560f9b
Revert "Explicitly name node tests workflow" 2021-12-07 09:46:57 +07:00
Christopher Ng 7fd6339c79 Explicitly name node tests workflow
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-12-03 18:59:15 +07: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 +07:00
John Molakvoæ c6429e6cd1
Merge pull request #29547 from nextcloud/automated/noid/psalm-baseline-update 2021-11-04 11:48:51 +07: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 +07:00
John Molakvoæ 0dc51320e8
Add `3. to review` label 2021-11-04 10:19:29 +07:00
John Molakvoæ e20f002c4f
Add continue-on-error for update-psalm-baseline workflow 2021-11-04 10:11:56 +07:00
John Molakvoæ 6ee4e6a796
Update update-psalm-baseline.yml
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2021-11-03 10:23:33 +07:00
Robin Appelman 294b218895
ci
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-15 15:35:12 +07:00
Robin Appelman 09ffac5e6d
s3 external storage listing rework
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-15 15:35:02 +07:00
Robin Appelman a3f1d10f4d
ftp ci improvements
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-07 18:47:13 +07:00
Robin Appelman 7ec80b3957
ftp logs
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-07 17:19:30 +07: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 +07: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 +07: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 +07:00
Daniel Kesselberg 20da1080fa
Fix job to update psalm baseline
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-10-03 20:31:10 +07:00
Morris Jobke b4403201dc
Change output format of Psalm to Github
This automatically inlines the errors into the diff view.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2021-10-03 14:41:31 +07:00
Julius Härtl 1e266e8b38 Run oci against all php versions
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-09-27 14:24:05 +07:00
Julius Härtl cab44b6311 Run oci tests against phpunit9/php8
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-09-27 14:24:05 +07:00
Christoph Wurst 7559a4a97d
Pin Psalm version for security analysis
The action will otherwise pull dev-master and this can break easily as
we just experience.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-09-03 13:52:04 +07:00
Nextcloud bot ed36b8b7f0 Updating command-compile.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-06 07:33:28 +07:00
Nextcloud bot c854a3fd38 Updating command-rebase.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-02 08:44:50 +07:00
John Molakvoæ fabd0a87b3
Update update-psalm-baseline.yml 2021-07-28 18:04:40 +07:00
John Molakvoæ 640f339b7d
Add checkout token 2021-07-28 07:40:58 +07:00
John Molakvoæ 525460c04d
Use COMMAND_BOT_PAT 2021-07-28 07:34:47 +07:00
John Molakvoæ 39931cab94
Update dependabot-approve-merge.yml 2021-07-27 08:16:41 +07:00
John Molakvoæ f304633fbc
Add command-compile 2021-07-26 18:44:29 +07:00
John Molakvoæ (skjnldsv) 00105dca82
Add proper node testing
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-07-22 13:30:56 +07:00
John Molakvoæ (skjnldsv) 49b490ce6d
Migrate to npm 7
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-07-22 13:06:17 +07:00
John Molakvoæ 3508976156
Add files via upload 2021-07-16 09:13:20 +07:00
Nextcloud bot 472a51e845 Updating dependabot-approve-merge.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-07-02 15:43:33 +07:00
Nextcloud bot b4cb5e2cff Updating dependabot-approve-merge.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-06-29 19:06:49 +07:00
skjnldsv 2fdd8c40ef Updating command-rebase.yml workflow from template
Signed-off-by: GitHub <noreply@github.com>
2021-06-29 07:46:40 +07:00
Lukas Reschke 53695dac53
Merge pull request #27687 from nextcloud/szaimen-patch-1
Create rebase command
2021-06-28 19:09:49 +07:00