From 3b30c900cbdc399cae93c2b26ad9b466179d1f82 Mon Sep 17 00:00:00 2001 From: Vitor Mattos Date: Thu, 16 Dec 2021 08:20:35 -0300 Subject: Api changes to react to a message: reactions add Signed-off-by: Vitor Mattos --- .drone.yml | 130 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 130 insertions(+) (limited to '.drone.yml') diff --git a/.drone.yml b/.drone.yml index d25ce0823..78fc3fea9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -176,6 +176,43 @@ trigger: - pull_request - push +--- +kind: pipeline +name: int-sqlite-reaction + +steps: + - name: integration-reaction + image: ghcr.io/nextcloud/continuous-integration-php8.0:latest + 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/reaction + +services: + - name: cache + image: ghcr.io/nextcloud/continuous-integration-redis:latest + +trigger: + branch: + - master + - stable* + event: + - pull_request + - push + --- kind: pipeline name: int-sqlite-sharing @@ -475,6 +512,53 @@ trigger: # - pull_request - push +--- +kind: pipeline +name: int-mysql-reaction + +steps: + - name: integration-reaction + image: ghcr.io/nextcloud/continuous-integration-php8.0:latest + 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/reaction + +services: + - name: cache + image: ghcr.io/nextcloud/continuous-integration-redis:latest + - name: mysql + image: ghcr.io/nextcloud/continuous-integration-mariadb-10.4:10.4 + 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 @@ -789,6 +873,52 @@ trigger: # - pull_request - push +--- +kind: pipeline +name: int-pgsql-reaction + +steps: + - name: integration-reaction + image: ghcr.io/nextcloud/continuous-integration-php8.0:latest + 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/reaction + +services: + - name: cache + image: ghcr.io/nextcloud/continuous-integration-redis:latest + - name: pgsql + image: ghcr.io/nextcloud/continuous-integration-postgres-13:postgres-13 + 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 -- cgit v1.2.3