Commit Graph

288 Commits (stable22)

Author SHA1 Message Date
Joas Schilling ad696f672b
chore(CI): Sign .drone.yml file
Signed-off-by: Joas Schilling <coding@schilljs.com>
10 months ago
szaimen e76a7ebf6b [stable22] add 10.6
Signed-off-by: szaimen <szaimen@e.mail.de>
2 years ago
John Molakvoæ (skjnldsv) cc34255303 Move integration-php7.3 to latest
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
3 years ago
Julius Härtl 6a4a5d888e Use minio for s3 tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 years ago
Julius Härtl cb57285870 Run s3 tests again
Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 years ago
Joas Schilling 99b7b82d72
Fix branch selection in stable22
Signed-off-by: Joas Schilling <coding@schilljs.com>
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