diff options
author | Vitor Mattos <vitor@php.rio> | 2022-10-17 23:10:00 -0300 |
---|---|---|
committer | Simon L <szaimen@e.mail.de> | 2022-11-11 22:36:08 +0100 |
commit | eb7b682dc08f522212a86636994abc90ea926616 (patch) | |
tree | 11d560b02f2a4c551e96e87bd09db317470da6c2 /.drone.yml | |
parent | 9d45845d2a6df7efdb07038c9bb7c345d4d5d819 (diff) | |
download | nextcloud-server-eb7b682dc08f522212a86636994abc90ea926616.tar.gz nextcloud-server-eb7b682dc08f522212a86636994abc90ea926616.zip |
Bugfix to support postgres15
Signed-off-by: Vitor Mattos <vitor@php.rio>
Signed-off-by: Simon L <szaimen@e.mail.de>
Co-Authored-By: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Diffstat (limited to '.drone.yml')
-rw-r--r-- | .drone.yml | 42 |
1 files changed, 39 insertions, 3 deletions
diff --git a/.drone.yml b/.drone.yml index 79cd295210e..a782e84b169 100644 --- a/.drone.yml +++ b/.drone.yml @@ -455,7 +455,7 @@ services: image: ghcr.io/nextcloud/continuous-integration-postgres-10:postgres-10 environment: POSTGRES_USER: oc_autotest - POSTGRES_DB: oc_autotest_dummy + POSTGRES_DB: oc_autotest POSTGRES_PASSWORD: owncloud tmpfs: - /var/lib/postgresql/data @@ -491,7 +491,7 @@ services: image: ghcr.io/nextcloud/continuous-integration-postgres-11:postgres-11 environment: POSTGRES_USER: oc_autotest - POSTGRES_DB: oc_autotest_dummy + POSTGRES_DB: oc_autotest POSTGRES_PASSWORD: owncloud tmpfs: - /var/lib/postgresql/data @@ -527,7 +527,43 @@ services: image: ghcr.io/nextcloud/continuous-integration-postgres-13:postgres-13 environment: POSTGRES_USER: oc_autotest - POSTGRES_DB: oc_autotest_dummy + POSTGRES_DB: oc_autotest + POSTGRES_PASSWORD: owncloud + tmpfs: + - /var/lib/postgresql/data + +trigger: + branch: + - master + - stable* + event: + - pull_request + - push + +--- +kind: pipeline +name: postgres15-php8.0 + +steps: +- name: submodules + image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest + commands: + - git submodule update --init +- name: postgres-php8.0 + image: ghcr.io/nextcloud/continuous-integration-php8.0:latest + commands: + - bash tests/drone-run-php-tests.sh || exit 0 + - sleep 10 # gives the database enough time to initialize + - POSTGRES=15 NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh pgsql + +services: +- name: cache + image: ghcr.io/nextcloud/continuous-integration-redis:latest +- name: postgres-15 + image: ghcr.io/nextcloud/continuous-integration-postgres-15:latest + environment: + POSTGRES_USER: oc_autotest + POSTGRES_DB: oc_autotest POSTGRES_PASSWORD: owncloud tmpfs: - /var/lib/postgresql/data |