Commit Graph

305 Commits

Author SHA1 Message Date
Vitor Mattos eb7b682dc0 Bugfix to support postgres15
Signed-off-by: Vitor Mattos <vitor@php.rio>
Signed-off-by: Simon L <szaimen@e.mail.de>
Co-Authored-By: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
2022-11-11 22:36:08 +01:00
Joas Schilling f30272d2e3
Run tests with MySQL/MariaDB ONLY_FULL_GROUP_BY
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-21 18:07:20 +01:00
Joas Schilling 721f03fd27
Merge pull request #31011 from nextcloud/dronupdt
Remove MariaDB 10.1 and PGsql 9.6 (both EOL) from drone
2022-02-11 12:15:37 +01:00
Joas Schilling 78af58107d
Temporarily disable samba-non-native as it times out too often
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-09 13:40:23 +01:00
acsfer 60f854f48c
Add Postgres10 2022-02-07 17:02:27 +01:00
acsfer 6563dd8656
Remove PGsql 9.6 (EOL) 2022-02-07 10:53:14 +01:00
acsfer 5d3739cddd
Keep 10.4 to PHP8 2022-02-06 17:22:00 +01:00
acsfer db789c9983
Update .drone.yml
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
2022-02-06 13:06:57 +01:00
acsfer c23b938358
Replace with 10.2 2022-02-06 10:23:30 +01:00
acsfer d1750dee05
Fix tests 2022-02-05 14:38:18 +01:00
acsfer 258515da6d
Typo fix 2022-02-04 13:00:58 +01:00
acsfer 79629f0aaa
Update drone
- Remove MariaDB 10.1 (EOL)
- Always test latest
2022-02-04 12:54:17 +01:00
Côme Chilliet 910e1aa8e6
Fix apache2 start command in .drone.yml
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-01-25 17:25:16 +01:00
Côme Chilliet d3a8814d2e
Fix docker images source
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-01-25 17:25:15 +01:00
Côme Chilliet deeec1d16f
Move all drone images to PHP 7.4
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-01-25 17:25:15 +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
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).
2021-12-07 11:45:54 +01:00
acsfer 6f06b0f4f7
Reintroduce memcached 2021-11-26 12:02:51 +01:00
acsfer a816fdd1d0
Drop old/duplicate pipelines 2021-11-26 11:43:18 +01:00
acsfer adb2312d3d
Add Drone php8.0 pipelines for MariaDB10.4, MySQL8, PGSQL13
Add Drone php8.0 pipelines for MariaDB10.4, MySQL8, PGSQL13
2021-11-23 22:21:58 +01:00
John Molakvoæ (skjnldsv) 66c1e05452
Move integration-php7.3 to latest
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-07-20 17:57:33 +02:00
Julius Härtl 55cabef723
Use minio for s3 tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-07-01 08:22:24 +02:00
Julius Härtl 3f44fd00e2
Run s3 tests again
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-06-30 14:30:04 +02:00
Lukas Reschke a58057c45d Add XDEBUG_MODE=coverage
This should help the Codecov execution jobs.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-06-01 11:21:13 +02:00
Lukas Reschke b4d6d8a70d Use MariaDB from GHCR
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-05-29 01:01:19 +02:00
Lukas Reschke 93da0cfd38 Move PGSQL to GHCR
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-05-29 00:51:30 +02:00
Lukas Reschke be651cee11 Migrate more services to GHCR
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-05-29 00:43:48 +02:00
Lukas Reschke 3e6e6eeb5b Bump Container Versions
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-05-28 23:43:43 +02:00
Lukas Reschke ee2a0f2c1b Use GHCR PHP 7.3 Acceptance Container
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-05-28 23:40:45 +02:00
John Molakvoæ 91788cc90e
Merge pull request #27211 from nextcloud/use-ghcr-php7.3 2021-05-28 17:16:01 +02:00
John Molakvoæ bce941ef77
Merge pull request #27212 from nextcloud/use-gchr-for-services
Use GHCR for services
2021-05-28 17:14:40 +02:00
John Molakvoæ a0f8a5395b
Merge pull request #27213 from nextcloud/use-alpine-git
Use GHCR for Git Pull image
2021-05-28 17:14:26 +02:00
Lukas Reschke e904f83816 Use GHCR Selenium Container
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-05-28 14:13:01 +02:00
Lukas Reschke 88899dabbe Use GHCR for Git Pull image
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-05-28 14:06:47 +02:00
Lukas Reschke 11bd715ecd Use GHCR for services
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-05-28 13:58:52 +02:00
Lukas Reschke 87dcde78d0 Use GHCR PHP 7.3 container
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-05-28 13:46:54 +02:00
Lukas Reschke ac8f614d1b Use GitHub container registry
To avoid Docker ratelimit issues.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-05-27 23:10:03 +02:00
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>
2021-04-23 11:44:42 +02:00
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>
2021-04-16 20:00:15 +02:00
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
2021-03-18 08:57:09 +01:00
Joas Schilling 1683e0289b
Also execute the new tests on drone
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-10 19:10:24 +01:00
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>
2021-01-26 11:06:33 +01:00
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>
2021-01-08 13:23:55 +01:00
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>
2021-01-07 18:26:08 +01:00
Roeland Jago Douma 734b29b277
Update postgres version tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-01-07 09:27:10 +01:00
Roeland Jago Douma e334fa2594
No need to run mysql5 tests anymore
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-01-06 21:26:39 +01:00
Julius Härtl c7a320d880 jsunit: Run jsunit with chromium/puppeteer on github actions
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-29 08:42:27 +01:00
Roeland Jago Douma b611bc3115
Add php8 CI
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-12-07 15:43:54 +01:00
Daniel Calviño Sánchez 2cc22a06b4 Add integration tests for user avatars
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-12-07 04:47:56 +01:00
Joas Schilling 0de48617ec
Only run phpunit when php, xml or test files are modified
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-30 09:46:53 +01:00