1
0
mirror of https://github.com/ilri/dspace-statistics-api.git synced 2024-11-24 23:30:18 +01:00

Use PostgreSQL 12 in CI

I migrated my production systems to PostgreSQL 12 months ago.
This commit is contained in:
Alan Orth 2022-05-31 13:05:01 +03:00
parent 0a8ac60ade
commit 0ff8490275
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
2 changed files with 9 additions and 9 deletions

View File

@ -4,7 +4,7 @@ name: python310
steps: steps:
- name: setup - name: setup
image: postgres:10-alpine image: postgres:12-alpine
environment: environment:
PGPASSWORD: postgres PGPASSWORD: postgres
commands: commands:
@ -30,7 +30,7 @@ steps:
services: services:
- name: database - name: database
image: postgres:10-alpine image: postgres:12-alpine
environment: environment:
POSTGRES_USER: postgres POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres POSTGRES_PASSWORD: postgres
@ -43,7 +43,7 @@ name: python39
steps: steps:
- name: setup - name: setup
image: postgres:10-alpine image: postgres:12-alpine
environment: environment:
PGPASSWORD: postgres PGPASSWORD: postgres
commands: commands:
@ -69,7 +69,7 @@ steps:
services: services:
- name: database - name: database
image: postgres:10-alpine image: postgres:12-alpine
environment: environment:
POSTGRES_USER: postgres POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres POSTGRES_PASSWORD: postgres
@ -82,7 +82,7 @@ name: python38
steps: steps:
- name: database - name: database
image: postgres:10-alpine image: postgres:12-alpine
detach: true detach: true
environment: environment:
POSTGRES_USER: postgres POSTGRES_USER: postgres
@ -90,7 +90,7 @@ steps:
POSTGRES_DB: dspacestatistics POSTGRES_DB: dspacestatistics
- name: setup - name: setup
image: postgres:10-alpine image: postgres:12-alpine
environment: environment:
PGPASSWORD: postgres PGPASSWORD: postgres
commands: commands:
@ -121,7 +121,7 @@ name: python37
steps: steps:
- name: database - name: database
image: postgres:10-alpine image: postgres:12-alpine
detach: true detach: true
environment: environment:
POSTGRES_USER: postgres POSTGRES_USER: postgres
@ -129,7 +129,7 @@ steps:
POSTGRES_DB: dspacestatistics POSTGRES_DB: dspacestatistics
- name: setup - name: setup
image: postgres:10-alpine image: postgres:12-alpine
environment: environment:
PGPASSWORD: postgres PGPASSWORD: postgres
commands: commands:

View File

@ -12,7 +12,7 @@ jobs:
services: services:
database: database:
image: postgres:10-alpine image: postgres:12-alpine
env: env:
# password for postgres user in the Docker container # password for postgres user in the Docker container
POSTGRES_PASSWORD: postgres POSTGRES_PASSWORD: postgres