2019-04-09 14:13:05 +02:00
|
|
|
kind: pipeline
|
2020-10-09 11:13:27 +02:00
|
|
|
name: integration-tests-master
|
|
|
|
|
|
|
|
clone:
|
|
|
|
depth: 1
|
|
|
|
|
|
|
|
steps:
|
2019-04-09 14:13:05 +02:00
|
|
|
- name: integration-tests-master
|
2022-03-01 21:54:43 +01:00
|
|
|
image: ghcr.io/nextcloud/continuous-integration-user_saml_shibboleth-php8.0:latest
|
2019-04-09 14:13:05 +02:00
|
|
|
environment:
|
|
|
|
CORE_BRANCH: master
|
2020-10-21 23:20:39 +02:00
|
|
|
commands:
|
|
|
|
- /start.sh &
|
|
|
|
- rm -rf /var/www/html
|
|
|
|
- cd /var/www/
|
|
|
|
- git clone --depth 1 -b $CORE_BRANCH https://github.com/nextcloud/server html
|
2021-11-11 15:59:36 +01:00
|
|
|
- cd /var/www/html && git submodule update --init
|
|
|
|
# use local clone
|
|
|
|
- cp -r /drone/src /var/www/html/apps/user_saml
|
2022-03-01 21:54:43 +01:00
|
|
|
- /wait-for-services.sh
|
|
|
|
- php /var/www/html/occ maintenance:install --database sqlite --admin-pass password
|
|
|
|
- php /var/www/html/occ app:enable user_saml
|
2021-11-11 15:59:36 +01:00
|
|
|
- chown -R apache:apache /var/www/html/
|
2022-03-01 21:54:43 +01:00
|
|
|
- cd /var/www/html/apps/user_saml/tests/integration && vendor/bin/behat
|
2021-11-11 15:59:36 +01:00
|
|
|
|
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- master
|
2021-12-10 08:21:50 +01:00
|
|
|
- stable*
|
2021-11-11 15:59:36 +01:00
|
|
|
event:
|
|
|
|
- pull_request
|
|
|
|
- push
|
|
|
|
|
|
|
|
type: docker
|
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: integration-tests-stable23
|
|
|
|
|
|
|
|
clone:
|
|
|
|
depth: 1
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: integration-tests-master
|
|
|
|
image: nextcloudci/user_saml_shibboleth-php7.3:user_saml_shibboleth_php7.3-2
|
|
|
|
environment:
|
|
|
|
CORE_BRANCH: stable23
|
|
|
|
commands:
|
|
|
|
- /start.sh &
|
|
|
|
- sleep 7
|
|
|
|
- rm -rf /var/www/html
|
|
|
|
- cd /var/www/
|
|
|
|
- git clone --depth 1 -b $CORE_BRANCH https://github.com/nextcloud/server html
|
2020-10-21 23:20:39 +02:00
|
|
|
- cd /var/www/html && git submodule update --init
|
|
|
|
# use local clone
|
|
|
|
- cp -r /drone/src /var/www/html/apps/user_saml
|
|
|
|
- scl enable rh-php73 "bash -c 'php /var/www/html/occ maintenance:install --database sqlite --admin-pass password; php /var/www/html/occ app:enable user_saml'"
|
|
|
|
- chown -R apache:apache /var/www/html/
|
|
|
|
- scl enable rh-php73 "bash -c 'cd /var/www/html/apps/user_saml/tests/integration && vendor/bin/behat'"
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- master
|
2021-12-10 08:21:50 +01:00
|
|
|
- stable*
|
2020-10-21 23:20:39 +02:00
|
|
|
event:
|
|
|
|
- pull_request
|
|
|
|
- push
|
|
|
|
|
|
|
|
type: docker
|
|
|
|
|
2021-06-29 12:27:43 +02:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: integration-tests-stable22
|
|
|
|
|
|
|
|
clone:
|
|
|
|
depth: 1
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: integration-tests-master
|
|
|
|
image: nextcloudci/user_saml_shibboleth-php7.3:user_saml_shibboleth_php7.3-2
|
|
|
|
environment:
|
|
|
|
CORE_BRANCH: stable22
|
|
|
|
commands:
|
|
|
|
- /start.sh &
|
|
|
|
- sleep 7
|
|
|
|
- rm -rf /var/www/html
|
|
|
|
- cd /var/www/
|
|
|
|
- git clone --depth 1 -b $CORE_BRANCH https://github.com/nextcloud/server html
|
|
|
|
- cd /var/www/html && git submodule update --init
|
|
|
|
# use local clone
|
|
|
|
- cp -r /drone/src /var/www/html/apps/user_saml
|
|
|
|
- scl enable rh-php73 "bash -c 'php /var/www/html/occ maintenance:install --database sqlite --admin-pass password; php /var/www/html/occ app:enable user_saml'"
|
|
|
|
- chown -R apache:apache /var/www/html/
|
|
|
|
- scl enable rh-php73 "bash -c 'cd /var/www/html/apps/user_saml/tests/integration && vendor/bin/behat'"
|
|
|
|
|
2021-12-10 08:21:50 +01:00
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
- stable*
|
|
|
|
event:
|
|
|
|
- pull_request
|
|
|
|
- push
|
|
|
|
|
2021-06-29 12:27:43 +02:00
|
|
|
type: docker
|
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: integration-tests-stable21
|
|
|
|
|
|
|
|
clone:
|
|
|
|
depth: 1
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: integration-tests-master
|
|
|
|
image: nextcloudci/user_saml_shibboleth-php7.3:user_saml_shibboleth_php7.3-2
|
|
|
|
environment:
|
|
|
|
CORE_BRANCH: stable21
|
|
|
|
commands:
|
|
|
|
- /start.sh &
|
|
|
|
- sleep 7
|
|
|
|
- rm -rf /var/www/html
|
|
|
|
- cd /var/www/
|
|
|
|
- git clone --depth 1 -b $CORE_BRANCH https://github.com/nextcloud/server html
|
|
|
|
- cd /var/www/html && git submodule update --init
|
|
|
|
# use local clone
|
|
|
|
- cp -r /drone/src /var/www/html/apps/user_saml
|
|
|
|
- scl enable rh-php73 "bash -c 'php /var/www/html/occ maintenance:install --database sqlite --admin-pass password; php /var/www/html/occ app:enable user_saml'"
|
|
|
|
- chown -R apache:apache /var/www/html/
|
|
|
|
- scl enable rh-php73 "bash -c 'cd /var/www/html/apps/user_saml/tests/integration && vendor/bin/behat'"
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- master
|
2021-12-10 08:21:50 +01:00
|
|
|
- stable*
|
2021-06-29 12:27:43 +02:00
|
|
|
event:
|
|
|
|
- pull_request
|
|
|
|
- push
|
|
|
|
|
|
|
|
type: docker
|