diff options
author | Joas Schilling <coding@schilljs.com> | 2021-03-25 17:18:59 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-03-25 17:18:59 +0300 |
commit | 23214303c408c4192f3d8694fce9cea2e3b3544f (patch) | |
tree | 6e776dc8feef38c780bcd7cd6ea746a2efda9108 /.drone.yml | |
parent | e3c828631eeffa725786225e4ee304bdd796274d (diff) |
Split conversation integration tests into 2 folders
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to '.drone.yml')
-rw-r--r-- | .drone.yml | 130 |
1 files changed, 130 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml index 3402c5ed2..8698c76ba 100644 --- a/.drone.yml +++ b/.drone.yml @@ -141,6 +141,43 @@ trigger: --- kind: pipeline +name: int-sqlite-conversation-2 + +steps: + - name: integration-conversation-2 + image: nextcloudci/php7.3:php7.3-5 + environment: + APP_NAME: spreed + CORE_BRANCH: master + GUESTS_BRANCH: master + DATABASEHOST: sqlite + commands: + - bash tests/drone-run-integration-tests.sh || exit 0 + - wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh + - bash ./before_install.sh $APP_NAME $CORE_BRANCH $DATABASEHOST + - cd ../server + - git clone --depth 1 -b "$GUESTS_BRANCH" https://github.com/nextcloud/guests apps/guests + - ./occ app:enable $APP_NAME + - cd apps/$APP_NAME + + # Run integration tests + - cd tests/integration/ + - bash run.sh features/conversation-2 + +services: + - name: cache + image: redis + +trigger: + branch: + - master + - stable* + event: + - pull_request + - push + +--- +kind: pipeline name: int-sqlite-sharing steps: @@ -358,6 +395,53 @@ trigger: --- kind: pipeline +name: int-mysql-conversation-2 + +steps: + - name: integration-conversation-2 + image: nextcloudci/php7.3:php7.3-5 + environment: + APP_NAME: spreed + CORE_BRANCH: master + GUESTS_BRANCH: master + DATABASEHOST: mysql + commands: + - bash tests/drone-run-integration-tests.sh || exit 0 + - wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh + - bash ./before_install.sh $APP_NAME $CORE_BRANCH $DATABASEHOST + - cd ../server + - git clone --depth 1 -b "$GUESTS_BRANCH" https://github.com/nextcloud/guests apps/guests + - ./occ app:enable $APP_NAME + - cd apps/$APP_NAME + + # Run integration tests + - cd tests/integration/ + - bash run.sh features/conversation-2 + +services: + - name: cache + image: redis + - name: mysql + image: mysql:5.7.22 + environment: + MYSQL_ROOT_PASSWORD: owncloud + MYSQL_USER: oc_autotest + MYSQL_PASSWORD: owncloud + MYSQL_DATABASE: oc_autotest + command: [ "--innodb_large_prefix=true", "--innodb_file_format=barracuda", "--innodb_file_per_table=true" ] + tmpfs: + - /var/lib/mysql + +trigger: + branch: + - master + - stable* + event: +# - pull_request + - push + +--- +kind: pipeline name: int-mysql-sharing steps: @@ -581,6 +665,52 @@ trigger: --- kind: pipeline +name: int-pgsql-conversation-2 + +steps: + - name: integration-conversation-2 + image: nextcloudci/php7.3:php7.3-5 + environment: + APP_NAME: spreed + CORE_BRANCH: master + GUESTS_BRANCH: master + DATABASEHOST: pgsql + commands: + - bash tests/drone-run-integration-tests.sh || exit 0 + - wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh + - bash ./before_install.sh $APP_NAME $CORE_BRANCH $DATABASEHOST + - cd ../server + - git clone --depth 1 -b "$GUESTS_BRANCH" https://github.com/nextcloud/guests apps/guests + - ./occ app:enable $APP_NAME + - cd apps/$APP_NAME + + # Run integration tests + - cd tests/integration/ + - bash run.sh features/conversation-2 + +services: + - name: cache + image: redis + - name: pgsql + image: postgres:10 + environment: + POSTGRES_USER: oc_autotest + POSTGRES_DB: oc_autotest_dummy + POSTGRES_HOST_AUTH_METHOD: trust + POSTGRES_PASSWORD: + tmpfs: + - /var/lib/postgresql/data + +trigger: + branch: + - master + - stable* + event: +# - pull_request + - push + +--- +kind: pipeline name: int-pgsql-sharing steps: |