Repository navigation
Getting CI up and running #14
Description
Activity
Interessting domain 😕 ...why not ci.nextcloud.com or something ...
why not ci.nextcloud.com or something ...
Because I'm not in charge of it. This is one of my domains and the server of @LukasReschke. We will use a server of the foundation (once it is there) and the proper domain once they are available (we are in bootstrapping process). For now we want something that executes tests automatically, so we went the fast lane ;)
Multiple different test runs could be accomplished by "multiple steps": http://readme.drone.io/usage/build_test/#multiple-steps:fb92aa3346185c57f15afda861d465a3
A first minimal version was merged with #17
This only runs
autotest.sh sqliteon a PHP75.6 (it is a Debian 8 with default PHP installed). Now we could extend the.drone.ymlto also run more jobs.This version of drone (0.4.2) can not run multiple steps of one PR in parallel, but the next drone release (0.5) will support this.
- basic tests: Add drone.io support #17
- JS unit tests: Add JS unit test execution #33
- integration tests: Add integration tests #94
Most of this is done. We will add the remaining stuff step by step.
- added a commit that references this issue
on Nov 9, 2018 - added 2 commits that reference this issue
on Jan 24, 2019 - added a commit that references this issue
on Jul 22, 2022 - added a commit that references this issue
on Jul 25, 2022 - added 3 commits that reference this issue
on Jul 25, 2022 - added a commit that references this issue
on Dec 16, 2025
This is moved over from the forums: https://help.nextcloud.com/t/having-a-ci-setup/223
Today we worked on a first setup of a minimal CI instance. The ansible scripts can be found at https://github.com/nextcloud/infrastructure/tree/master/ci
This instance runs at https://drone.weasel.rocks/nextcloud/server (link to the CI setup for the server, because there is no public overview page).
Now the task is to move from our previous setup to a dockerized one. I will soon open a PR in core to run the first tests (
autotest.sh sqlitein our server repository) and then we can steadily extend this and play around with all the matrix stuff (multiple PHP versions, DBs, tests, ...).A quick preview:
I used this docker file to generate the
php-7-owncloudimage:And following
.drone.ymlthat is placed in the server repository:It currently fails due to a too low memory limit, but it is a nice start.