mirror of
https://github.com/ilri/dspace-statistics-api.git
synced 2024-11-22 06:15:02 +01:00
Use PostgreSQL 14 for Drone CI and GitHub Actions
This commit is contained in:
parent
6d5e3c350d
commit
770f676fb5
16
.drone.yml
16
.drone.yml
@ -4,7 +4,7 @@ name: python310
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: setup
|
- name: setup
|
||||||
image: postgres:12-alpine
|
image: postgres:14-alpine
|
||||||
environment:
|
environment:
|
||||||
PGPASSWORD: postgres
|
PGPASSWORD: postgres
|
||||||
commands:
|
commands:
|
||||||
@ -30,7 +30,7 @@ steps:
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
- name: database
|
- name: database
|
||||||
image: postgres:12-alpine
|
image: postgres:14-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:12-alpine
|
image: postgres:14-alpine
|
||||||
environment:
|
environment:
|
||||||
PGPASSWORD: postgres
|
PGPASSWORD: postgres
|
||||||
commands:
|
commands:
|
||||||
@ -69,7 +69,7 @@ steps:
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
- name: database
|
- name: database
|
||||||
image: postgres:12-alpine
|
image: postgres:14-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:12-alpine
|
image: postgres:14-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:12-alpine
|
image: postgres:14-alpine
|
||||||
environment:
|
environment:
|
||||||
PGPASSWORD: postgres
|
PGPASSWORD: postgres
|
||||||
commands:
|
commands:
|
||||||
@ -121,7 +121,7 @@ name: python37
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: database
|
- name: database
|
||||||
image: postgres:12-alpine
|
image: postgres:14-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:12-alpine
|
image: postgres:14-alpine
|
||||||
environment:
|
environment:
|
||||||
PGPASSWORD: postgres
|
PGPASSWORD: postgres
|
||||||
commands:
|
commands:
|
||||||
|
2
.github/workflows/python-app.yml
vendored
2
.github/workflows/python-app.yml
vendored
@ -12,7 +12,7 @@ jobs:
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
database:
|
database:
|
||||||
image: postgres:12-alpine
|
image: postgres:14-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
Block a user