Roeland Jago Douma
1541af432e
Use a proper wait for create of the container
* Also create a test file so we know for sure it all works
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 vuotta sitten
Daniel Calviño Sánchez
32c6cfe7df
Fix typo in build matrix of .drone.yml
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
6 vuotta sitten
Daniel Calviño Sánchez
c4478f6297
Add acceptance tests for comments to Drone
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
6 vuotta sitten
Robin Appelman
df6e23c98c
add ci for swift primary storage
Signed-off-by: Robin Appelman <robin@icewind.nl>
6 vuotta sitten
Roeland Jago Douma
67a876b7ec
Bump php7.2 image
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 vuotta sitten
Roeland Jago Douma
5b5b9cbeca
Use 7.2 image
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 vuotta sitten
Roeland Jago Douma
1e75f007ac
Use a phan version instead of master
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 vuotta sitten
Morris Jobke
4718d2b80d
Update memcached image
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
6 vuotta sitten
Roeland Jago Douma
24af5c20bd
Bump docker containers used
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 vuotta sitten
Morris Jobke
6d95f90361
Raise PHP version number to PHP 7.0
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
6 vuotta sitten
Robin Appelman
74b5ce8fd4
Some tests for the remote cloud api
Signed-off-by: Robin Appelman <robin@icewind.nl>
6 vuotta sitten
Robin Appelman
95d0b3d490
run postgresql 10 tests in drone
Signed-off-by: Robin Appelman <robin@icewind.nl>
6 vuotta sitten
Roeland Jago Douma
17bd2fb268
Phan is moved to a new repo
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 vuotta sitten
blizzz
9bbb6ffb23
fix postgresql tests
we don't support pgsql 10 yet. because Doctrine does not either.
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
6 vuotta sitten
Roeland Jago Douma
2458095692
Update php7.2 container to rc3
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 vuotta sitten
Roeland Jago Douma
be0ecce9bc
Add 7.2 jobs for mysql & mysqlmb4
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
7 vuotta sitten
Roeland Jago Douma
e481971155
Bump 7.2 container to RC1
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 vuotta sitten
Morris Jobke
cea1511397
Use tmpfs for mysql CI containers
Should improve performance
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
6 vuotta sitten
Roeland Jago Douma
7e065c2946
Add drone step for postgres with php 7.1
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
7 vuotta sitten
Roeland Jago Douma
df268fef34
Properly quote 7.0 so drone handles it right
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 vuotta sitten
Roeland Jago Douma
3d22e7a6f5
Use a new phpredis
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 vuotta sitten
Roeland Jago Douma
8c02bcdeee
[drone] Install intergration tests in RAM
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 vuotta sitten
Roeland Jago Douma
ef223b7760
Give redis a change to fireup
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 vuotta sitten
Morris Jobke
e826961a51
Fix phan test
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
6 vuotta sitten
Morris Jobke
0460ee70ef
Use docker images without XDebug and with Opcache
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
6 vuotta sitten
Morris Jobke
4ee4d15f01
Enable object storage tests again
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
6 vuotta sitten
Morris Jobke
f8d5dbcdb5
Add CI job for mysql 5.5
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
7 vuotta sitten
Daniel Calviño Sánchez
0c8627a7ee
Add acceptance tests for setting the color in the Theming app
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
7 vuotta sitten
Morris Jobke
7904404842
Add CI job for mysql 5.6
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
7 vuotta sitten
Morris Jobke
f83a783d91
Fix redis-cluster support on drone
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
7 vuotta sitten
Lukas Reschke
0857780eb0
Update PHP 7.2 container
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
7 vuotta sitten
Lukas Reschke
db6d785644
Add PHP 7.2 testing container
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
7 vuotta sitten
Morris Jobke
428b8b53a5
Update syntax to drone 0.8
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
7 vuotta sitten
Roeland Jago Douma
e64ba1d343
Add mysqlmb4 php7.1 drone job
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
7 vuotta sitten
Roeland Jago Douma
68d6e788e4
Add myslqmb4 php 7.0 drone
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
7 vuotta sitten
Roeland Jago Douma
5164f25a54
Add PHP 7.1 mysql job to drone
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
7 vuotta sitten
Roeland Jago Douma
c0f9a397d7
Also run mysql test on php7.0
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
7 vuotta sitten
Benedikt Geissler
8a3f3e8c4a
Drop PHP 7.1 test
Signed-off-by: Benedikt Geissler <benedikt@g5r.eu>
7 vuotta sitten
Benedikt Geissler
ade7d89e36
Also test PHP 7.0 and 7.1 with PostgreSQL
Signed-off-by: Benedikt Geissler <benedikt@g5r.eu>
7 vuotta sitten
Morris Jobke
c85b7e6ae3
Move all DB tests to top, because they are long running
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
7 vuotta sitten
Morris Jobke
0948365809
Update all drone images to latest version
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
7 vuotta sitten
Morris Jobke
c191e12da4
Enable postgres on drone again
* use proper password
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
7 vuotta sitten
Lukas Reschke
29e715a1b9
Exclude build/.phan/ from PHP 5.6 syntax check
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
7 vuotta sitten
Lukas Reschke
3d2600b039
Add Phan plugin to check for SQL injections
This adds a phan plugin which checks for SQL injections on code using our QueryBuilder, while it isn't perfect it should already catch most potential issues.
As always, static analysis will sometimes have false positives and this is also here the case. So in some cases the analyzer just doesn't know if something is potential user input or not, thus I had to add some `@suppress SqlInjectionChecker` in front of those potential injections.
The Phan plugin hasn't the most awesome code but it works and I also added a file with test cases.
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
7 vuotta sitten
Daniel Calviño Sánchez
94144269de
Enable acceptance tests again on Drone 0.7
Running the acceptance tests on Drone relied on the pod-style networking
used by services (service containers were available at 127.0.0.1 from
the build containers). However, in Drone 0.7 service and build
containers must be accessed from each other using their domain name
instead. Thus, acceptance tests had to be disabled on Drone.
Now that the acceptance test system supports setting a different domain
for the Selenium server and for the Nextcloud test server the acceptance
tests can be enabled again on Drone.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
7 vuotta sitten
Lukas Reschke
e215eabbf7
Update PHP 7.1 containers
Previously this container used a very old CentOS version. It has been migrated to Debian Jessie now using the deb.sury.org repositories.
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
7 vuotta sitten
Lukas Reschke
4d1d82e2d7
Install phan manually
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
7 vuotta sitten
Lukas Reschke
ac1a54cccf
Use new Drone image
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
7 vuotta sitten
Lukas Reschke
d8ec399454
Run phan over code base
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
7 vuotta sitten
Morris Jobke
75f893b62f
Disable postgres temporarily
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
7 vuotta sitten