Commit Graph

262 Commits (stable20)

Author SHA1 Message Date
Joas Schilling 7226a03071
chore(CI): Sign .drone.yml file
Signed-off-by: Joas Schilling <coding@schilljs.com>
10 months ago
Côme Chilliet 8001bc38ea
Fix CI for mysql 5.6
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years ago
Julius Härtl 8da867de75 Use minio for s3 tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 years ago
Julius Härtl 15cf02a784 Run s3 tests again
Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 years ago
Daniel Calviño Sánchez 4e05a486a3 Add integration tests for searching users in contacts menu
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
3 years ago
Daniel Calviño Sánchez 92daa942b0 Add integration tests for "sharing:cleanup-remote-storages" OCC command
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
3 years ago
Morris Jobke 7bf32677b8
Add script to old versions
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
4 years ago
Joas Schilling 53c18b8c26 Only run phpunit when php, xml or test files are modified
Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years ago
Daniel Calviño Sánchez a1d3213e7d Fix running video verification integration tests in Drone in stable20
In order to run the video verification integration tests the Talk app
needs to be cloned in a branch compatible with the server.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
4 years ago
Morris Jobke 04a3580d19
Remove phan config - was replaced by Psalm
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
4 years ago
Morris Jobke c25c984df5
Disable fragile comments tests
Those tests are actual problems in our code. See https://github.com/nextcloud/server/pull/20462#issuecomment-613380650 for a summary by @danxuliu

Basically they are introduced by #18929 but are only revealed by #18764.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
4 years ago
Daniel Kesselberg 9d04ed66e3
Hello codecov 🚀
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
4 years ago
Daniel Calviño Sánchez f5ef3ee352 Do not clone the whole Talk repository for integration tests
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
4 years ago
Daniel Calviño Sánchez b192c04dc2 Add integration tests for video verification
Enabling the "send password by Talk" property of shares require that
Talk is installed and enabled, so the Drone step that runs them has to
first clone the Talk repository.

When the integration tests are run on a local development instance,
however, it is not guaranteed that Talk is installed. Due to this the
"@Talk" tag was added, which ensures that any feature or scenario marked
with it will first check if Talk is installed and, if not, skip the
scenario (instead of failing).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
4 years ago
Arthur Schiwon 84619a5b9c
use serverControls directly with LDAP calls, fixes 19127
- adapters for PHP API version to Support PHP < 7.3
- switch to pass only one base per search
- cookie logic is moved from Access to API adapters

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
4 years ago
Gary Kim 907a27897a
Move Compile Handlebars CI to GitHub Actions
Signed-off-by: Gary Kim <gary@garykim.dev>
4 years ago
Roeland Jago Douma 64665c98e1
Lint on github actions
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
4 years ago
Roeland Jago Douma e639e11de3
Move npm build to github actions
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
4 years ago
Roeland Jago Douma ba401b0c97
Bump integration to php7.3 with redis
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years ago
Roeland Jago Douma 734d496d63
Bump memcached image
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years ago
Roeland Jago Douma a987f809e6
REVERT LATER: disable phan for now
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years ago
Roeland Jago Douma 4bed12e4d6
Update drone
* Run 7.4 tests (nodb + sqlite)
* Update older images to newer phpunit

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years ago
Roeland Jago Douma 8166448103
Merge pull request #18045 from nextcloud/ci/other/php73
Move more CI tests to php7.3
5 years ago
Roeland Jago Douma 8fb897fca0
Move more CI tests to php7.3
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years ago
Roeland Jago Douma f559e8f25e
Move integration tests to php7.3
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years ago
Roeland Jago Douma 6f1bac3216
php7.2 minimum for 18
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years ago
Daniel Calviño Sánchez 81d0b70791 Run acceptance tests on PHP 7.3
There is no difference (as far as I know) between running the acceptance
tests on PHP 7.1 or on PHP 7.3; this is simply a preparatory step to be
ready when PHP 7.1 support is dropped in Nextcloud server.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
5 years ago
Roeland Jago Douma f663154adf
Merge pull request #17480 from nextcloud/enhancement/drone/no-submodule-when-not-needed
Remove unnecessary submodules steps
5 years ago
John Molakvoæ (skjnldsv) 8b6731b1f0
Remove unwanted submodules
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
5 years ago
Roeland Jago Douma 4cc5b28063
Run composer install in parallel
The newer docker image runs the composer isntall in parallel. Saving
precious seconds on CI.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years ago
Roeland Jago Douma d9b87123a2
Kill ui-regression ci job
Since we do not use it at the moment anyway it seems like a waste of
resources to actually run it.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years ago
Christoph Wurst 81613d2246
Switch to @nextcloud/axios for the CSRF update fix
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
5 years ago
John Molakvoæ (skjnldsv) 99404bdfb3
Move sharing integration tests to their own directory
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
5 years ago
John Molakvoæ (skjnldsv) 972279d31b
Split drone webpack tests
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
5 years ago
Christoph Wurst 6b54b974f8
Use handlebars from node_modules (on CI)
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
5 years ago
Roeland Jago Douma 01b2b1ec51
No need to test against EOL dbs
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years ago
Roeland Jago Douma b463a2e4a8
Download composer packages in parallel in integration tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years ago
Roeland Jago Douma 102b1e170c
Merge pull request #16990 from nextcloud/ci/do_not_run_every_db_combo_on_prs
Do not run every possible DB combo on PRs
5 years ago
Roeland Jago Douma f4ab4431ab
Do not run every possible DB combo on PRs
Only run them once merged.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years ago
Roeland Jago Douma 16477c181e
Only run code coverage CI on merge
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years ago
Joas Schilling 23a0cbe6ef
Only run integration tests when PHP was modified
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Morris Jobke 8dbb84308c
Revert "Run phan tests only on high memory machines" 5 years ago
Morris Jobke 307220654e
Run phan tests only on high memory machines
This should fix the out of memory issues we are seeing with this job

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
5 years ago
Roeland Jago Douma a7a35d32fd
Merge pull request #15311 from nextcloud/ci/mysql/8
Add mysql 8.0 CI run
5 years ago
Roeland Jago Douma 273eb646c4
Merge pull request #15327 from nextcloud/ci/postgres-11
CI Postgres 11
5 years ago
Roeland Jago Douma 11418a464c
CI Postgres 11
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years ago
Roeland Jago Douma f99537387b
CI MariaDB 10.4
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years ago
Roeland Jago Douma 9198c86c1e
CI MariaDB 10.3
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years ago
Daniel Kesselberg 0aa490f1f8
Use mysql_native_password as default authentication plugin
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
5 years ago
Roeland Jago Douma dbd33c79b0
Add mysql 8.0 CI run
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years ago