Skip to content

Commit

Permalink
Test postgres 14 on CircleCI (#531)
Browse files Browse the repository at this point in the history
  • Loading branch information
jlledom authored Jun 19, 2024
1 parent 28d1619 commit 44eeee3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- setup_remote_docker
- run: docker build --tag zync:build --file ./Dockerfile .
- run: docker network create net0
- run: docker run --net net0 --name ${POSTGRES_CONTAINER_NAME} -d -p 5432:5432 -e POSTGRES_USER=${POSTGRES_USER} -e POSTGRES_PASSWORD=${POSTGRES_PASSWORD} -e POSTGRES_DB=${POSTGRES_DB} postgres:13-alpine
- run: docker run --net net0 --name ${POSTGRES_CONTAINER_NAME} -d -p 5432:5432 -e POSTGRES_USER=${POSTGRES_USER} -e POSTGRES_PASSWORD=${POSTGRES_PASSWORD} -e POSTGRES_DB=${POSTGRES_DB} postgres:14-alpine
- run:
command: |
docker run --net net0 -e RAILS_ENV=${RAILS_ENV} -e DATABASE_URL=${DATABASE_URL} \
Expand Down Expand Up @@ -89,5 +89,5 @@ workflows:
- build:
matrix:
parameters:
postgresql_image: [ "circleci/postgres:10-alpine-ram", "cimg/postgres:12.15", "cimg/postgres:13.11" ]
postgresql_image: [ "circleci/postgres:10-alpine-ram", "cimg/postgres:12.15", "cimg/postgres:13.11", "cimg/postgres:14.12" ]
- docker-build

0 comments on commit 44eeee3

Please sign in to comment.