Commit Graph

340 Commits (master)

Author SHA1 Message Date
Côme Chilliet 54c933769f
Drop 7.3 from some CI steps
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years ago
acsfer 5c84fe1b81
Add MariaDB 10.6 pipeline
Keeping MariaDB 10.4 too as both versions have some BC breaks, so tests will run on both (for now).
2 years ago
acsfer 6f06b0f4f7
Reintroduce memcached 3 years ago
acsfer a816fdd1d0
Drop old/duplicate pipelines 3 years ago
acsfer adb2312d3d
Add Drone php8.0 pipelines for MariaDB10.4, MySQL8, PGSQL13
Add Drone php8.0 pipelines for MariaDB10.4, MySQL8, PGSQL13
3 years ago
John Molakvoæ (skjnldsv) 66c1e05452
Move integration-php7.3 to latest
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
3 years ago
Julius Härtl 55cabef723
Use minio for s3 tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 years ago
Julius Härtl 3f44fd00e2
Run s3 tests again
Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 years ago
Lukas Reschke a58057c45d Add XDEBUG_MODE=coverage
This should help the Codecov execution jobs.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
3 years ago
Lukas Reschke b4d6d8a70d Use MariaDB from GHCR
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
3 years ago
Lukas Reschke 93da0cfd38 Move PGSQL to GHCR
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
3 years ago
Lukas Reschke be651cee11 Migrate more services to GHCR
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
3 years ago
Lukas Reschke 3e6e6eeb5b Bump Container Versions
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
3 years ago
Lukas Reschke ee2a0f2c1b Use GHCR PHP 7.3 Acceptance Container
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
3 years ago
John Molakvoæ 91788cc90e
Merge pull request #27211 from nextcloud/use-ghcr-php7.3 3 years ago
John Molakvoæ bce941ef77
Merge pull request #27212 from nextcloud/use-gchr-for-services
Use GHCR for services
3 years ago
John Molakvoæ a0f8a5395b
Merge pull request #27213 from nextcloud/use-alpine-git
Use GHCR for Git Pull image
3 years ago
Lukas Reschke e904f83816 Use GHCR Selenium Container
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
3 years ago
Lukas Reschke 88899dabbe Use GHCR for Git Pull image
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
3 years ago
Lukas Reschke 11bd715ecd Use GHCR for services
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
3 years ago
Lukas Reschke 87dcde78d0 Use GHCR PHP 7.3 container
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
3 years ago
Lukas Reschke ac8f614d1b Use GitHub container registry
To avoid Docker ratelimit issues.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
3 years ago
Daniel Calviño Sánchez e2c4a174f2 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 9e1246eba5 Update acceptance tests to Selenium 3
The acceptance tests used the last Selenium 2 Docker container
available, which provides a rather old Firefox version (Firefox 47).
Nevertheless, despite some rendering issues, most things still worked as
expected due to the JavaScript files being built with support for older
browsers. However, now that support for Internet Explorer 11 and older
browsers will be dropped things could start to fail, so a newer browser
(and thus a newer Selenium version) should be used in the acceptance
tests.

Selenium has been standardized by the W3C, and the protocol to
communicate between the Selenium server and the browser has changed due
to that. Firefox >= 48 only supports the new W3C protocol, but the
Selenium driver for Mink does not support it yet.

The old protocol can still be used in recent Chromium/Chrome versions by
explicitly forcing it, so for the time being the acceptance tests will
need to be run on Chrome instead (although Firefox provides some
interesting features like the fake streams that would be needed to test
calls in Talk, so they should be moved again to Firefox once possible).

Finally, the default shm size of Docker is 64 MiB. This does not seem
enough to run newer Chrome releases and causes the browser to randomly
crash during the tests ("unknown error: session deleted because of page
crash" is shown in the logs). Due to this "disable-dev-shm-usage" needs
to be used so Chrome writes shared memory files into "/tmp" instead of
"/dev/shm" (the default shm size of Docker could have been increased
instead using "docker run --shm-size...", but that seems to be
problematic when the container is run in current Drone releases).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
3 years ago
Morris Jobke 6401d88283
Merge pull request #25331 from nextcloud/fix-valid-storages-removed-when-cleaning-remote-storages
Fix valid storages removed when cleaning remote storages
3 years ago
Joas Schilling 1683e0289b
Also execute the new tests on drone
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Daniel Calviño Sánchez 3aba5b27be 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 250f76a59c
Use specific docker image tags to allow drone to cache them and not run into docker pull rate limits
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 years ago
Daniel Calviño Sánchez dafd0f1441 Fix name of avatar integration tests in Drone
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
3 years ago
Roeland Jago Douma 734b29b277
Update postgres version tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years ago
Roeland Jago Douma e334fa2594
No need to run mysql5 tests anymore
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years ago
Julius Härtl c7a320d880 jsunit: Run jsunit with chromium/puppeteer on github actions
Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 years ago
Roeland Jago Douma b611bc3115
Add php8 CI
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years ago
Daniel Calviño Sánchez 2cc22a06b4 Add integration tests for user avatars
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
3 years ago
Joas Schilling 0de48617ec
Only run phpunit when php, xml or test files are modified
Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years ago
Joas Schilling f79f1895d3
To revert once php8.0 packages are there
Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years ago
Joas Schilling 9ac888d895
Update drone testing matrix
Signed-off-by: Joas Schilling <coding@schilljs.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
Roeland Jago Douma 5fe8cb6f86
CI MariaDB 10.2
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years ago
Roeland Jago Douma 2203eda9f5
Add mariadb 10.1 CI job
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years ago
Roeland Jago Douma 752718e833
Add mariadb 10.0 ci tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years ago
Roeland Jago Douma 1ec0890d76
Pass proper TEST_SELECTION to drone objectstore
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years ago
Morris Jobke d6cb4a4fb4
Adjust drone config to drone 1.0.0
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
5 years ago
Arthur Schiwon 5dd2207c95
fix nested group retrieval also for 2 other cases
and also consolidate logic in one method

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
5 years ago
Joas Schilling c84c13fb19
Merge pull request #13850 from nextcloud/feature/11274/enable-disable-multiple-apps
Enable & disable multiple apps at once
5 years ago
Roeland Jago Douma f5449a021a
Move twofactor_backupcodes to main webpack bundle
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years ago
Roeland Jago Douma 0771091e0f
Remove drone jobs
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years ago
Daniel Kesselberg 76b5f44f05
Strict Types, Return Types
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
5 years ago
Julius Härtl 774b0b3662
Use npm ci for webpack builds
Signed-off-by: Julius Härtl <jus@bitgrid.net>
5 years ago
Roeland Jago Douma 518aa1e2a8
Add proper drone job
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years ago
Arthur Schiwon 4bd3916445
integration test: pages search scenario with multiple bases
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
5 years ago
Julius Härtl 1a86704338
Use nextcloudci/node
Signed-off-by: Julius Härtl <jus@bitgrid.net>
5 years ago
John Molakvoæ (skjnldsv) 9405ff3bbf
Fix vue settings checks and filenames
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
5 years ago
Roeland Jago Douma 2f3e18a5e1
Move litmusv2 to php7.2
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years ago
Roeland Jago Douma 70936dcfb3
Fix drone images
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years ago
Arthur Schiwon 9322f5064a
run LDAP integrations tests with redis which is the recommended setup
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
6 years ago
Daniel Calviño Sánchez d6c053f6a3 Extract sharing related acceptance tests to their own feature files
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
6 years ago
Daniel Calviño Sánchez 95dc2ad13c Extract acceptance tests for tags to their own feature file
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
6 years ago
Roeland Jago Douma 12f921f043
Merge pull request #11769 from nextcloud/3rdparty/remove/random_compat
Remove random_compat
6 years ago
Joas Schilling f48d5dc27e
Remove random_compat
Signed-off-by: Joas Schilling <coding@schilljs.com>
6 years ago