From 2bfec2cde23b6aaa4fc990e81c64fa82f438b654 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 25 Mar 2021 15:29:09 +0100 Subject: Also split sharing Signed-off-by: Joas Schilling --- .drone.yml | 124 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 124 insertions(+) (limited to '.drone.yml') diff --git a/.drone.yml b/.drone.yml index 8698c76ba..b9eaf0b6e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -211,6 +211,41 @@ trigger: - pull_request - push +--- +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 @@ -485,6 +520,51 @@ trigger: # - pull_request - push +--- +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 @@ -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 -- cgit v1.2.3