summaryrefslogtreecommitdiffstats
path: root/.drone.yml
Commit message (Collapse)AuthorAgeFilesLines
* Move acceptance tests from build/acceptance to tests/acceptanceDaniel Calviño Sánchez2017-04-211-2/+2
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Add safety parameterDaniel Calviño Sánchez2017-04-211-2/+2
| | | | | | | | As the script modifies the Git repository a safety parameter was added to prevent running it by mistake and messing with the local copy of the repository. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Generalize names and descriptionsDaniel Calviño Sánchez2017-04-211-2/+2
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Use PHP built-in web server instead of Apache in DroneDaniel Calviño Sánchez2017-04-211-13/+0
| | | | | | | | | | | | | | | Instead of running an additional Drone service with the Nextcloud server now the Nextcloud server is run in the same Drone step as the acceptance tests themselves using the PHP built-in web server. Thanks to this, the Nextcloud server control is no longer needed, as the acceptance tests can now directly reset, start and stop the Nextcloud server. Also, the "nextcloudci/php7.0:php7.0-7" image provides everything needed to run and manage the Nextcloud server (including the Git command used to restore the directory to a saved state), so the custom image is no longer needed either. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Add acceptance test steps to DroneDaniel Calviño Sánchez2017-04-191-0/+40
| | | | | | | | | | | | | | | Each acceptance test feature is run in its own Drone step. The container of the step runs the acceptance tests themselves, but they require two additional Drone services. One service provides the Selenium server that performs the web browser actions specified by the tests, and the other service provides the Nextcloud server that the tests will be run against (due to security concerns the acceptance tests themselves can not create Docker containers for the Nextcloud server as done when running them in a local system, as if Drone containers had access to Docker a malicious pull request could be used to take over the Drone server). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Enable testing app in CI stepLukas Reschke2017-04-131-0/+1
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Fix .drone.ymlLukas Reschke2017-04-131-1/+1
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Add support for ratelimiting via annotationsLukas Reschke2017-04-131-0/+12
| | | | | | | | | | | | | This allows adding rate limiting via annotations to controllers, as one example: ``` @UserRateThrottle(limit=5, period=100) @AnonRateThrottle(limit=1, period=100) ``` Would mean that logged-in users can access the page 5 times within 100 seconds, and anonymous users 1 time within 100 seconds. If only an AnonRateThrottle is specified that one will also be applied to logged-in users. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Add drone.yml configMorris Jobke2017-04-111-0/+10
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Run maintenance mode tests on DroneLukas Reschke2017-04-111-0/+10
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Split long running features/sharing-v1.feature into two smaller partsMorris Jobke2017-03-281-0/+10
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #4013 from nextcloud/bundle_vendor_jsLukas Reschke2017-03-241-0/+8
|\ | | | | Bundle vendor js
| * Add CI step to verify merged vendor jsRoeland Jago Douma2017-03-231-0/+8
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * Revert "Bundle vendor js"Roeland Jago Douma2017-03-221-8/+0
| |
| * Add CI step to verify merged vendor jsRoeland Jago Douma2017-03-221-0/+8
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | add drone configMorris Jobke2017-03-201-0/+10
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Revert "Add integration test for trashbin"Morris Jobke2017-03-171-10/+0
|
* Add drone.yml configMorris Jobke2017-03-161-0/+10
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Run drone only on master/stable branchesMorris Jobke2017-03-061-0/+2
| | | | | | * fixes #3729 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* enable user_ldap app for testsArthur Schiwon2017-01-201-0/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* fix indentationMorris Jobke2017-01-191-9/+9
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* also, let ldap integration tests runArthur Schiwon2017-01-191-0/+10
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Add test execution against legacy DAV backendLukas Reschke2017-01-021-8/+28
| | | | | | Since the tests to quite hugely rely on sync tokens being present I also included those in the legacy backend. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* add ci support for s3 object storeRobin Appelman2017-01-021-0/+17
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Add files_external webdav apache testsRoeland Jago Douma2016-12-291-0/+14
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add Memcached CIRoeland Jago Douma2016-12-211-0/+12
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* update drone images to latest versionMorris Jobke2016-12-201-9/+9
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #2790 from nextcloud/update-integration-test-imageMorris Jobke2016-12-201-20/+20
|\ | | | | Update integration test image
| * Update integration test imageLukas Reschke2016-12-201-20/+20
| | | | | | | | | | | | Updates the composer dependencies so running the tests should now be faster again… Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Run coverageLukas Reschke2016-12-201-2/+12
| | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Add SMB tests and execute files_external testsLukas Reschke2016-12-201-1/+19
|/ | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Adjust to Nextcloud changesLukas Reschke2016-12-191-0/+10
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Bump 7.1 CI to final!Roeland Jago Douma2016-12-031-3/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Install instance before running integration testsMorris Jobke2016-12-021-0/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add tests to droneRoeland Jago Douma2016-12-021-0/+9
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Run syntex test for php7.1Roeland Jago Douma2016-11-241-0/+9
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Bump php7.1 container to RC6Roeland Jago Douma2016-11-241-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add integration test for web based installerMorris Jobke2016-11-211-0/+9
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Generate js codecov coverageRoeland Jago Douma2016-11-091-0/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Update containers to latest versionMorris Jobke2016-11-081-39/+39
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #1991 from nextcloud/code-check-more-shipped-appsMorris Jobke2016-11-031-0/+3
|\ | | | | Run code checker on more shipped apps
| * Run code checker on more shipped appsLukas Reschke2016-11-031-0/+3
| | | | | | | | | | | | | | | | | | | | Adds: - sharebymail - systemtags - theming - workflowengine Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Use PHP 7.1 RC5 for CILukas Reschke2016-11-021-2/+2
|/ | | | | | This image has PHP 7.1 RC5 inside and the currently used one only RC4. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Add .htaccess checker as CI stepLukas Reschke2016-11-021-0/+8
| | | | | | Don't want anyone to commit invalid changes in that file again :see_no_evil: Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Bump to php7.1 RC4Roeland Jago Douma2016-10-211-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* test alternative drone syntax for command optionsMorris Jobke2016-10-191-2/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* add 4 byte mysql test runMorris Jobke2016-10-191-0/+22
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Bump 7.1 CI to RC3Roeland Jago Douma2016-10-101-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Generate coverage for quick DB testsLukas Reschke2016-10-051-4/+14
| | | | | | This adds the "QUICKDB" group which excludes some tests that abuse unit tests as integration tests as displayed in https://github.com/nextcloud/server/issues/1626 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Add codecovLukas Reschke2016-09-281-1/+11
| | | | | | Allows coverage tracking using codecov Signed-off-by: Lukas Reschke <lukas@statuscode.ch>