Skip to content

Commit f7f2813

Browse files
authored
Merge pull request #394 from nextcloud/fix/noid/ci-wait-for-ldap
use new image for CI that should ensure that LDAP is available
2 parents 05f0cab + 970a1e4 commit f7f2813

1 file changed

Lines changed: 11 additions & 4 deletions

File tree

.drone.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ trigger:
2525
- pull_request
2626
- push
2727

28+
type: docker
29+
2830
---
2931
kind: pipeline
3032
name: tests-master
@@ -57,12 +59,12 @@ steps:
5759
- cd ../server/apps/$APP_NAME
5860
- cd tests/unit/
5961
- phpunit --configuration phpunit.xml
62+
6063
- name: integration-tests-master
61-
image: nextcloudci/user_saml_shibboleth-php7.2:user_saml_shibboleth_php7.2-2
64+
image: nextcloudci/user_saml_shibboleth-php7.2:user_saml_shibboleth_php7.2-3
6265
environment:
6366
CORE_BRANCH: master
6467
commands:
65-
- sed -i 's_/etc/init.d/jetty run \&_sleep 4 \&\& /etc/init.d/jetty run \&_' /start.sh
6668
- /start.sh &
6769
- sleep 7
6870
- rm -rf /var/www/html
@@ -75,12 +77,15 @@ steps:
7577
- chown -R apache:apache /var/www/html/
7678
- scl enable rh-php72 "bash -c 'cd /var/www/html/apps/user_saml/tests/integration && vendor/bin/behat'"
7779

80+
7881
trigger:
7982
branch:
8083
- master
8184
event:
8285
- pull_request
8386
- push
87+
88+
type: docker
8489
---
8590
kind: pipeline
8691
name: tests-18
@@ -101,12 +106,12 @@ steps:
101106
- cd ../server/apps/$APP_NAME
102107
- cd tests/unit/
103108
- phpunit --configuration phpunit.xml
109+
104110
- name: integration-tests-stable18
105-
image: nextcloudci/user_saml_shibboleth-php7.2:user_saml_shibboleth_php7.2-2
111+
image: nextcloudci/user_saml_shibboleth-php7.2:user_saml_shibboleth_php7.2-3
106112
environment:
107113
CORE_BRANCH: stable18
108114
commands:
109-
- sed -i 's_/etc/init.d/jetty run \&_sleep 4 \&\& /etc/init.d/jetty run \&_' /start.sh
110115
- /start.sh &
111116
- sleep 7
112117
- rm -rf /var/www/html
@@ -126,3 +131,5 @@ trigger:
126131
- pull_request
127132
- push
128133

134+
type: docker
135+

0 commit comments

Comments
 (0)