diff options
author | Joas Schilling <coding@schilljs.com> | 2021-03-25 17:29:09 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-03-25 17:29:09 +0300 |
commit | 2bfec2cde23b6aaa4fc990e81c64fa82f438b654 (patch) | |
tree | 4c2120eec3f6308cb1f3b9a517a8dde88da14a43 /.drone.yml | |
parent | 23214303c408c4192f3d8694fce9cea2e3b3544f (diff) |
Also split sharing
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to '.drone.yml')
-rw-r--r-- | .drone.yml | 124 |
1 files changed, 124 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml index 8698c76ba..b9eaf0b6e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -213,6 +213,41 @@ trigger: --- kind: pipeline +name: int-sqlite-sharing-2 + +steps: + - name: integration-sharing-2 + image: nextcloudci/php7.3:php7.3-5 + environment: + APP_NAME: spreed + CORE_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 + - ./occ app:enable $APP_NAME + - cd apps/$APP_NAME + + # Run integration tests + - cd tests/integration/ + - bash run.sh features/sharing-2 + +services: + - name: cache + image: redis + +trigger: + branch: + - master + - stable* + event: + - pull_request + - push + +--- +kind: pipeline name: int-mysql-callapi steps: @@ -487,6 +522,51 @@ trigger: --- kind: pipeline +name: int-mysql-sharing-2 + +steps: + - name: integration-sharing-2 + image: nextcloudci/php7.3:php7.3-5 + environment: + APP_NAME: spreed + CORE_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 + - ./occ app:enable $APP_NAME + - cd apps/$APP_NAME + + # Run integration tests + - cd tests/integration/ + - bash run.sh features/sharing-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-pgsql-callapi steps: @@ -753,6 +833,50 @@ trigger: # - pull_request - push +--- +kind: pipeline +name: int-pgsql-sharing-2 + +steps: + - name: integration-sharing-2 + image: nextcloudci/php7.3:php7.3-5 + environment: + APP_NAME: spreed + CORE_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 + - ./occ app:enable $APP_NAME + - cd apps/$APP_NAME + + # Run integration tests + - cd tests/integration/ + - bash run.sh features/sharing-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: acc-sqlite-app-files |