mirror of
https://github.com/ilri/dspace-statistics-api.git
synced 2024-11-24 15:20:18 +01:00
Use PostgreSQL 12 in CI
I migrated my production systems to PostgreSQL 12 months ago.
This commit is contained in:
parent
0a8ac60ade
commit
0ff8490275
16
.drone.yml
16
.drone.yml
@ -4,7 +4,7 @@ name: python310
|
||||
|
||||
steps:
|
||||
- name: setup
|
||||
image: postgres:10-alpine
|
||||
image: postgres:12-alpine
|
||||
environment:
|
||||
PGPASSWORD: postgres
|
||||
commands:
|
||||
@ -30,7 +30,7 @@ steps:
|
||||
|
||||
services:
|
||||
- name: database
|
||||
image: postgres:10-alpine
|
||||
image: postgres:12-alpine
|
||||
environment:
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: postgres
|
||||
@ -43,7 +43,7 @@ name: python39
|
||||
|
||||
steps:
|
||||
- name: setup
|
||||
image: postgres:10-alpine
|
||||
image: postgres:12-alpine
|
||||
environment:
|
||||
PGPASSWORD: postgres
|
||||
commands:
|
||||
@ -69,7 +69,7 @@ steps:
|
||||
|
||||
services:
|
||||
- name: database
|
||||
image: postgres:10-alpine
|
||||
image: postgres:12-alpine
|
||||
environment:
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: postgres
|
||||
@ -82,7 +82,7 @@ name: python38
|
||||
|
||||
steps:
|
||||
- name: database
|
||||
image: postgres:10-alpine
|
||||
image: postgres:12-alpine
|
||||
detach: true
|
||||
environment:
|
||||
POSTGRES_USER: postgres
|
||||
@ -90,7 +90,7 @@ steps:
|
||||
POSTGRES_DB: dspacestatistics
|
||||
|
||||
- name: setup
|
||||
image: postgres:10-alpine
|
||||
image: postgres:12-alpine
|
||||
environment:
|
||||
PGPASSWORD: postgres
|
||||
commands:
|
||||
@ -121,7 +121,7 @@ name: python37
|
||||
|
||||
steps:
|
||||
- name: database
|
||||
image: postgres:10-alpine
|
||||
image: postgres:12-alpine
|
||||
detach: true
|
||||
environment:
|
||||
POSTGRES_USER: postgres
|
||||
@ -129,7 +129,7 @@ steps:
|
||||
POSTGRES_DB: dspacestatistics
|
||||
|
||||
- name: setup
|
||||
image: postgres:10-alpine
|
||||
image: postgres:12-alpine
|
||||
environment:
|
||||
PGPASSWORD: postgres
|
||||
commands:
|
||||
|
2
.github/workflows/python-app.yml
vendored
2
.github/workflows/python-app.yml
vendored
@ -12,7 +12,7 @@ jobs:
|
||||
|
||||
services:
|
||||
database:
|
||||
image: postgres:10-alpine
|
||||
image: postgres:12-alpine
|
||||
env:
|
||||
# password for postgres user in the Docker container
|
||||
POSTGRES_PASSWORD: postgres
|
||||
|
Loading…
Reference in New Issue
Block a user