diff options
-rw-r--r-- | .drone.jsonnet | 168 | ||||
-rw-r--r-- | .drone.yml | 1533 | ||||
-rwxr-xr-x | tests/drone-run-acceptance-tests.sh | 23 | ||||
-rwxr-xr-x | tests/drone-run-integration-tests.sh | 19 | ||||
-rwxr-xr-x | tests/drone-run-php-tests.sh | 18 |
5 files changed, 0 insertions, 1761 deletions
diff --git a/.drone.jsonnet b/.drone.jsonnet deleted file mode 100644 index d6b2bfbd9..000000000 --- a/.drone.jsonnet +++ /dev/null @@ -1,168 +0,0 @@ -## 1. Download/install drone binary: -## curl -L https://github.com/harness/drone-cli/releases/latest/download/drone_linux_amd64.tar.gz | tar zx -## 2. Adjust the matrix as wished -## 3. Transform jsonnet to yml: -## ./drone jsonnet --stream --format yml -## 4. Export your drone token and the server: -## export DRONE_TOKEN=… export DRONE_SERVER=https://drone.nextcloud.com -## 5. Sign off the changes: -## ./drone sign nextcloud/spreed --save -## 6. Copy the new signature from .drone.yml to `hmac` field in this file -## 7. Transform jsonnet to yml again (to transfer the signature correctly): -## ./drone jsonnet --stream --format yml -## 8. Commit the result - -local Pipeline(test_set, database, services) = { - kind: "pipeline", - name: "int-"+database+"-"+test_set, - services: services, - steps: [ - { - name: "integration-"+test_set, - image: "ghcr.io/nextcloud/continuous-integration-php8.2:latest", - environment: { - APP_NAME: "spreed", - CORE_BRANCH: "master", - GUESTS_BRANCH: "master", - CSB_BRANCH: "main", - NOTIFICATIONS_BRANCH: "master", - DATABASEHOST: database - }, - commands: [ - "bash tests/drone-run-integration-tests.sh || exit 0", - "composer --version", - "composer self-update --2", - "wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh", - "bash ./before_install.sh $APP_NAME $CORE_BRANCH $DATABASEHOST", - "cd ../server", - "cd apps/$APP_NAME", - "composer install --no-dev", - "cd ../..", - "./occ app:enable $APP_NAME", - "git clone --depth 1 -b $NOTIFICATIONS_BRANCH https://github.com/nextcloud/notifications apps/notifications", - "./occ app:enable --force notifications", - "git clone --depth 1 -b $GUESTS_BRANCH https://github.com/nextcloud/guests apps/guests", - "./occ app:enable --force guests", - "git clone --depth 1 -b $CSB_BRANCH https://github.com/nextcloud/call_summary_bot apps/call_summary_bot", - "./occ app:enable --force call_summary_bot", - "cd apps/$APP_NAME/tests/integration/", - "bash run.sh features/"+test_set - ] - } - ], - trigger: { - branch: [ - "master", - "stable*" - ], - event: ( - if database == "pgsql" then ["pull_request", "push"] else ["push"] - ) - } -}; - -local PipelineSQLite(test_set) = Pipeline( - test_set, - "sqlite", - [ - { - name: "cache", - image: "ghcr.io/nextcloud/continuous-integration-redis:latest" - } - ] -); - -local PipelineMySQL(test_set) = Pipeline( - test_set, - "mysql", - [ - { - 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", - "--sql-mode=ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION" - ], - tmpfs: [ - "/var/lib/mysql" - ] - } - ] -); - -local PipelinePostgreSQL(test_set) = Pipeline( - test_set, - "pgsql", - [ - { - 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", - POSTGRES_HOST_AUTH_METHOD: "trust", - POSTGRES_PASSWORD: "owncloud" - }, - tmpfs: [ - "/var/lib/postgresql/data" - ] - } - ] -); - - -[ - PipelineSQLite("callapi"), - PipelineSQLite("chat"), - PipelineSQLite("chat-2"), - PipelineSQLite("command"), - PipelineSQLite("conversation"), - PipelineSQLite("conversation-2"), - PipelineSQLite("federation"), - PipelineSQLite("integration"), - PipelineSQLite("sharing"), - PipelineSQLite("sharing-2"), - - PipelineMySQL("callapi"), - PipelineMySQL("chat"), - PipelineMySQL("chat-2"), - PipelineMySQL("command"), - PipelineMySQL("conversation"), - PipelineMySQL("conversation-2"), - PipelineMySQL("federation"), - PipelineMySQL("integration"), - PipelineMySQL("sharing"), - PipelineMySQL("sharing-2"), - - PipelinePostgreSQL("callapi"), - PipelinePostgreSQL("chat"), - PipelinePostgreSQL("chat-2"), - PipelinePostgreSQL("command"), - PipelinePostgreSQL("conversation"), - PipelinePostgreSQL("conversation-2"), - PipelinePostgreSQL("federation"), - PipelinePostgreSQL("integration"), - PipelinePostgreSQL("sharing"), - PipelinePostgreSQL("sharing-2"), - - { - kind: "signature", - hmac: "1f1f7e889531624fec63e4fa8b65abaa737acac57dd7aa01df34f40027fdef12" - }, -] diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index 84968aa76..000000000 --- a/.drone.yml +++ /dev/null @@ -1,1533 +0,0 @@ ---- -kind: pipeline -name: int-sqlite-callapi -services: -- image: ghcr.io/nextcloud/continuous-integration-redis:latest - name: cache -steps: -- commands: - - bash tests/drone-run-integration-tests.sh || exit 0 - - composer --version - - composer self-update --2 - - wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh - - bash ./before_install.sh $APP_NAME $CORE_BRANCH $DATABASEHOST - - cd ../server - - cd apps/$APP_NAME - - composer install --no-dev - - cd ../.. - - ./occ app:enable $APP_NAME - - git clone --depth 1 -b $NOTIFICATIONS_BRANCH https://github.com/nextcloud/notifications - apps/notifications - - ./occ app:enable --force notifications - - git clone --depth 1 -b $GUESTS_BRANCH https://github.com/nextcloud/guests apps/guests - - ./occ app:enable --force guests - - git clone --depth 1 -b $CSB_BRANCH https://github.com/nextcloud/call_summary_bot - apps/call_summary_bot - - ./occ app:enable --force call_summary_bot - - cd apps/$APP_NAME/tests/integration/ - - bash run.sh features/callapi - environment: - APP_NAME: spreed - CORE_BRANCH: master - CSB_BRANCH: main - DATABASEHOST: sqlite - GUESTS_BRANCH: master - NOTIFICATIONS_BRANCH: master - image: ghcr.io/nextcloud/continuous-integration-php8.2:latest - name: integration-callapi -trigger: - branch: - - master - - stable* - event: - - push ---- -kind: pipeline -name: int-sqlite-chat -services: -- image: ghcr.io/nextcloud/continuous-integration-redis:latest - name: cache -steps: -- commands: - - bash tests/drone-run-integration-tests.sh || exit 0 - - composer --version - - composer self-update --2 - - wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh - - bash ./before_install.sh $APP_NAME $CORE_BRANCH $DATABASEHOST - - cd ../server - - cd apps/$APP_NAME - - composer install --no-dev - - cd ../.. - - ./occ app:enable $APP_NAME - - git clone --depth 1 -b $NOTIFICATIONS_BRANCH https://github.com/nextcloud/notifications - apps/notifications - - ./occ app:enable --force notifications - - git clone --depth 1 -b $GUESTS_BRANCH https://github.com/nextcloud/guests apps/guests - - ./occ app:enable --force guests - - git clone --depth 1 -b $CSB_BRANCH https://github.com/nextcloud/call_summary_bot - apps/call_summary_bot - - ./occ app:enable --force call_summary_bot - - cd apps/$APP_NAME/tests/integration/ - - bash run.sh features/chat - environment: - APP_NAME: spreed - CORE_BRANCH: master - CSB_BRANCH: main - DATABASEHOST: sqlite - GUESTS_BRANCH: master - NOTIFICATIONS_BRANCH: master - image: ghcr.io/nextcloud/continuous-integration-php8.2:latest - name: integration-chat -trigger: - branch: - - master - - stable* - event: - - push ---- -kind: pipeline -name: int-sqlite-chat-2 -services: -- image: ghcr.io/nextcloud/continuous-integration-redis:latest - name: cache -steps: -- commands: - - bash tests/drone-run-integration-tests.sh || exit 0 - - composer --version - - composer self-update --2 - - wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh - - bash ./before_install.sh $APP_NAME $CORE_BRANCH $DATABASEHOST - - cd ../server - - cd apps/$APP_NAME - - composer install --no-dev - - cd ../.. - - ./occ app:enable $APP_NAME - - git clone --depth 1 -b $NOTIFICATIONS_BRANCH https://github.com/nextcloud/notifications - apps/notifications - - ./occ app:enable --force notifications - - git clone --depth 1 -b $GUESTS_BRANCH https://github.com/nextcloud/guests apps/guests - - ./occ app:enable --force guests - - git clone --depth 1 -b $CSB_BRANCH https://github.com/nextcloud/call_summary_bot - apps/call_summary_bot - - ./occ app:enable --force call_summary_bot - - cd apps/$APP_NAME/tests/integration/ - - bash run.sh features/chat-2 - environment: - APP_NAME: spreed - CORE_BRANCH: master - CSB_BRANCH: main - DATABASEHOST: sqlite - GUESTS_BRANCH: master - NOTIFICATIONS_BRANCH: master - image: ghcr.io/nextcloud/continuous-integration-php8.2:latest - name: integration-chat-2 -trigger: - branch: - - master - - stable* - event: - - push ---- -kind: pipeline -name: int-sqlite-command -services: -- image: ghcr.io/nextcloud/continuous-integration-redis:latest - name: cache -steps: -- commands: - - bash tests/drone-run-integration-tests.sh || exit 0 - - composer --version - - composer self-update --2 - - wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh - - bash ./before_install.sh $APP_NAME $CORE_BRANCH $DATABASEHOST - - cd ../server - - cd apps/$APP_NAME - - composer install --no-dev - - cd ../.. - - ./occ app:enable $APP_NAME - - git clone --depth 1 -b $NOTIFICATIONS_BRANCH https://github.com/nextcloud/notifications - apps/notifications - - ./occ app:enable --force notifications - - git clone --depth 1 -b $GUESTS_BRANCH https://github.com/nextcloud/guests apps/guests - - ./occ app:enable --force guests - - git clone --depth 1 -b $CSB_BRANCH https://github.com/nextcloud/call_summary_bot - apps/call_summary_bot - - ./occ app:enable --force call_summary_bot - - cd apps/$APP_NAME/tests/integration/ - - bash run.sh features/command - environment: - APP_NAME: spreed - CORE_BRANCH: master - CSB_BRANCH: main - DATABASEHOST: sqlite - GUESTS_BRANCH: master - NOTIFICATIONS_BRANCH: master - image: ghcr.io/nextcloud/continuous-integration-php8.2:latest - name: integration-command -trigger: - branch: - - master - - stable* - event: - - push ---- -kind: pipeline -name: int-sqlite-conversation -services: -- image: ghcr.io/nextcloud/continuous-integration-redis:latest - name: cache -steps: -- commands: - - bash tests/drone-run-integration-tests.sh || exit 0 - - composer --version - - composer self-update --2 - - wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh - - bash ./before_install.sh $APP_NAME $CORE_BRANCH $DATABASEHOST - - cd ../server - - cd apps/$APP_NAME - - composer install --no-dev - - cd ../.. - - ./occ app:enable $APP_NAME - - git clone --depth 1 -b $NOTIFICATIONS_BRANCH https://github.com/nextcloud/notifications - apps/notifications - - ./occ app:enable --force notifications - - git clone --depth 1 -b $GUESTS_BRANCH https://github.com/nextcloud/guests apps/guests - - ./occ app:enable --force guests - - git clone --depth 1 -b $CSB_BRANCH https://github.com/nextcloud/call_summary_bot - apps/call_summary_bot - - ./occ app:enable --force call_summary_bot - - cd apps/$APP_NAME/tests/integration/ - - bash run.sh features/conversation - environment: - APP_NAME: spreed - CORE_BRANCH: master - CSB_BRANCH: main - DATABASEHOST: sqlite - GUESTS_BRANCH: master - NOTIFICATIONS_BRANCH: master - image: ghcr.io/nextcloud/continuous-integration-php8.2:latest - name: integration-conversation -trigger: - branch: - - master - - stable* - event: - - push ---- -kind: pipeline -name: int-sqlite-conversation-2 -services: -- image: ghcr.io/nextcloud/continuous-integration-redis:latest - name: cache -steps: -- commands: - - bash tests/drone-run-integration-tests.sh || exit 0 - - composer --version - - composer self-update --2 - - wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh - - bash ./before_install.sh $APP_NAME $CORE_BRANCH $DATABASEHOST - - cd ../server - - cd apps/$APP_NAME - - composer install --no-dev - - cd ../.. - - ./occ app:enable $APP_NAME - - git clone --depth 1 -b $NOTIFICATIONS_BRANCH https://github.com/nextcloud/notifications - apps/notifications - - ./occ app:enable --force notifications - - git clone --depth 1 -b $GUESTS_BRANCH https://github.com/nextcloud/guests apps/guests - - ./occ app:enable --force guests - - git clone --depth 1 -b $CSB_BRANCH https://github.com/nextcloud/call_summary_bot - apps/call_summary_bot - - ./occ app:enable --force call_summary_bot - - cd apps/$APP_NAME/tests/integration/ - - bash run.sh features/conversation-2 - environment: - APP_NAME: spreed - CORE_BRANCH: master - CSB_BRANCH: main - DATABASEHOST: sqlite - GUESTS_BRANCH: master - NOTIFICATIONS_BRANCH: master - image: ghcr.io/nextcloud/continuous-integration-php8.2:latest - name: integration-conversation-2 -trigger: - branch: - - master - - stable* - event: - - push ---- -kind: pipeline -name: int-sqlite-federation -services: -- image: ghcr.io/nextcloud/continuous-integration-redis:latest - name: cache -steps: -- commands: - - bash tests/drone-run-integration-tests.sh || exit 0 - - composer --version - - composer self-update --2 - - wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh - - bash ./before_install.sh $APP_NAME $CORE_BRANCH $DATABASEHOST - - cd ../server - - cd apps/$APP_NAME - - composer install --no-dev - - cd ../.. - - ./occ app:enable $APP_NAME - - git clone --depth 1 -b $NOTIFICATIONS_BRANCH https://github.com/nextcloud/notifications - apps/notifications - - ./occ app:enable --force notifications - - git clone --depth 1 -b $GUESTS_BRANCH https://github.com/nextcloud/guests apps/guests - - ./occ app:enable --force guests - - git clone --depth 1 -b $CSB_BRANCH https://github.com/nextcloud/call_summary_bot - apps/call_summary_bot - - ./occ app:enable --force call_summary_bot - - cd apps/$APP_NAME/tests/integration/ - - bash run.sh features/federation - environment: - APP_NAME: spreed - CORE_BRANCH: master - CSB_BRANCH: main - DATABASEHOST: sqlite - GUESTS_BRANCH: master - NOTIFICATIONS_BRANCH: master - image: ghcr.io/nextcloud/continuous-integration-php8.2:latest - name: integration-federation -trigger: - branch: - - master - - stable* - event: - - push ---- -kind: pipeline -name: int-sqlite-integration -services: -- image: ghcr.io/nextcloud/continuous-integration-redis:latest - name: cache -steps: -- commands: - - bash tests/drone-run-integration-tests.sh || exit 0 - - composer --version - - composer self-update --2 - - wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh - - bash ./before_install.sh $APP_NAME $CORE_BRANCH $DATABASEHOST - - cd ../server - - cd apps/$APP_NAME - - composer install --no-dev - - cd ../.. - - ./occ app:enable $APP_NAME - - git clone --depth 1 -b $NOTIFICATIONS_BRANCH https://github.com/nextcloud/notifications - apps/notifications - - ./occ app:enable --force notifications - - git clone --depth 1 -b $GUESTS_BRANCH https://github.com/nextcloud/guests apps/guests - - ./occ app:enable --force guests - - git clone --depth 1 -b $CSB_BRANCH https://github.com/nextcloud/call_summary_bot - apps/call_summary_bot - - ./occ app:enable --force call_summary_bot - - cd apps/$APP_NAME/tests/integration/ - - bash run.sh features/integration - environment: - APP_NAME: spreed - CORE_BRANCH: master - CSB_BRANCH: main - DATABASEHOST: sqlite - GUESTS_BRANCH: master - NOTIFICATIONS_BRANCH: master - image: ghcr.io/nextcloud/continuous-integration-php8.2:latest - name: integration-integration -trigger: - branch: - - master - - stable* - event: - - push ---- -kind: pipeline -name: int-sqlite-sharing -services: -- image: ghcr.io/nextcloud/continuous-integration-redis:latest - name: cache -steps: -- commands: - - bash tests/drone-run-integration-tests.sh || exit 0 - - composer --version - - composer self-update --2 - - wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh - - bash ./before_install.sh $APP_NAME $CORE_BRANCH $DATABASEHOST - - cd ../server - - cd apps/$APP_NAME - - composer install --no-dev - - cd ../.. - - ./occ app:enable $APP_NAME - - git clone --depth 1 -b $NOTIFICATIONS_BRANCH https://github.com/nextcloud/notifications - apps/notifications - - ./occ app:enable --force notifications - - git clone --depth 1 -b $GUESTS_BRANCH https://github.com/nextcloud/guests apps/guests - - ./occ app:enable --force guests - - git clone --depth 1 -b $CSB_BRANCH https://github.com/nextcloud/call_summary_bot - apps/call_summary_bot - - ./occ app:enable --force call_summary_bot - - cd apps/$APP_NAME/tests/integration/ - - bash run.sh features/sharing - environment: - APP_NAME: spreed - CORE_BRANCH: master - CSB_BRANCH: main - DATABASEHOST: sqlite - GUESTS_BRANCH: master - NOTIFICATIONS_BRANCH: master - image: ghcr.io/nextcloud/continuous-integration-php8.2:latest - name: integration-sharing -trigger: - branch: - - master - - stable* - event: - - push ---- -kind: pipeline -name: int-sqlite-sharing-2 -services: -- image: ghcr.io/nextcloud/continuous-integration-redis:latest - name: cache -steps: -- commands: - - bash tests/drone-run-integration-tests.sh || exit 0 - - composer --version - - composer self-update --2 - - wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh - - bash ./before_install.sh $APP_NAME $CORE_BRANCH $DATABASEHOST - - cd ../server - - cd apps/$APP_NAME - - composer install --no-dev - - cd ../.. - - ./occ app:enable $APP_NAME - - git clone --depth 1 -b $NOTIFICATIONS_BRANCH https://github.com/nextcloud/notifications - apps/notifications - - ./occ app:enable --force notifications - - git clone --depth 1 -b $GUESTS_BRANCH https://github.com/nextcloud/guests apps/guests - - ./occ app:enable --force guests - - git clone --depth 1 -b $CSB_BRANCH https://github.com/nextcloud/call_summary_bot - apps/call_summary_bot - - ./occ app:enable --force call_summary_bot - - cd apps/$APP_NAME/tests/integration/ - - bash run.sh features/sharing-2 - environment: - APP_NAME: spreed - CORE_BRANCH: master - CSB_BRANCH: main - DATABASEHOST: sqlite - GUESTS_BRANCH: master - NOTIFICATIONS_BRANCH: master - image: ghcr.io/nextcloud/continuous-integration-php8.2:latest - name: integration-sharing-2 -trigger: - branch: - - master - - stable* - event: - - push ---- -kind: pipeline -name: int-mysql-callapi -services: -- image: ghcr.io/nextcloud/continuous-integration-redis:latest - name: cache -- command: - - --innodb_large_prefix=true - - --innodb_file_format=barracuda - - --innodb_file_per_table=true - - --sql-mode=ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION - environment: - MYSQL_DATABASE: oc_autotest - MYSQL_PASSWORD: owncloud - MYSQL_ROOT_PASSWORD: owncloud - MYSQL_USER: oc_autotest - image: ghcr.io/nextcloud/continuous-integration-mariadb-10.4:10.4 - name: mysql - tmpfs: - - /var/lib/mysql -steps: -- commands: - - bash tests/drone-run-integration-tests.sh || exit 0 - - composer --version - - composer self-update --2 - - wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh - - bash ./before_install.sh $APP_NAME $CORE_BRANCH $DATABASEHOST - - cd ../server - - cd apps/$APP_NAME - - composer install --no-dev - - cd ../.. - - ./occ app:enable $APP_NAME - - git clone --depth 1 -b $NOTIFICATIONS_BRANCH https://github.com/nextcloud/notifications - apps/notifications - - ./occ app:enable --force notifications - - git clone --depth 1 -b $GUESTS_BRANCH https://github.com/nextcloud/guests apps/guests - - ./occ app:enable --force guests - - git clone --depth 1 -b $CSB_BRANCH https://github.com/nextcloud/call_summary_bot - apps/call_summary_bot - - ./occ app:enable --force call_summary_bot - - cd apps/$APP_NAME/tests/integration/ - - bash run.sh features/callapi - environment: - APP_NAME: spreed - CORE_BRANCH: master - CSB_BRANCH: main - DATABASEHOST: mysql - GUESTS_BRANCH: master - NOTIFICATIONS_BRANCH: master - image: ghcr.io/nextcloud/continuous-integration-php8.2:latest - name: integration-callapi -trigger: - branch: - - master - - stable* - event: - - push ---- -kind: pipeline -name: int-mysql-chat -services: -- image: ghcr.io/nextcloud/continuous-integration-redis:latest - name: cache -- command: - - --innodb_large_prefix=true - - --innodb_file_format=barracuda - - --innodb_file_per_table=true - - --sql-mode=ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION - environment: - MYSQL_DATABASE: oc_autotest - MYSQL_PASSWORD: owncloud - MYSQL_ROOT_PASSWORD: owncloud - MYSQL_USER: oc_autotest - image: ghcr.io/nextcloud/continuous-integration-mariadb-10.4:10.4 - name: mysql - tmpfs: - - /var/lib/mysql -steps: -- commands: - - bash tests/drone-run-integration-tests.sh || exit 0 - - composer --version - - composer self-update --2 - - wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh - - bash ./before_install.sh $APP_NAME $CORE_BRANCH $DATABASEHOST - - cd ../server - - cd apps/$APP_NAME - - composer install --no-dev - - cd ../.. - - ./occ app:enable $APP_NAME - - git clone --depth 1 -b $NOTIFICATIONS_BRANCH https://github.com/nextcloud/notifications - apps/notifications - - ./occ app:enable --force notifications - - git clone --depth 1 -b $GUESTS_BRANCH https://github.com/nextcloud/guests apps/guests - - ./occ app:enable --force guests - - git clone --depth 1 -b $CSB_BRANCH https://github.com/nextcloud/call_summary_bot - apps/call_summary_bot - - ./occ app:enable --force call_summary_bot - - cd apps/$APP_NAME/tests/integration/ - - bash run.sh features/chat - environment: - APP_NAME: spreed - CORE_BRANCH: master - CSB_BRANCH: main - DATABASEHOST: mysql - GUESTS_BRANCH: master - NOTIFICATIONS_BRANCH: master - image: ghcr.io/nextcloud/continuous-integration-php8.2:latest - name: integration-chat -trigger: - branch: - - master - - stable* - event: - - push ---- -kind: pipeline -name: int-mysql-chat-2 -services: -- image: ghcr.io/nextcloud/continuous-integration-redis:latest - name: cache -- command: - - --innodb_large_prefix=true - - --innodb_file_format=barracuda - - --innodb_file_per_table=true - - --sql-mode=ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION - environment: - MYSQL_DATABASE: oc_autotest - MYSQL_PASSWORD: owncloud - MYSQL_ROOT_PASSWORD: owncloud - MYSQL_USER: oc_autotest - image: ghcr.io/nextcloud/continuous-integration-mariadb-10.4:10.4 - name: mysql - tmpfs: - - /var/lib/mysql -steps: -- commands: - - bash tests/drone-run-integration-tests.sh || exit 0 - - composer --version - - composer self-update --2 - - wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh - - bash ./bef |