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:
|
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:
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue