Skip to content

Commit

Permalink
Add postgres 14 (#852)
Browse files Browse the repository at this point in the history
Co-authored-by: Renovate Bot <bot@renovateapp.com>
  • Loading branch information
littlewhywhat and renovate-bot committed Dec 6, 2021
1 parent d270a2f commit 75d37c2
Showing 1 changed file with 31 additions and 14 deletions.
45 changes: 31 additions & 14 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,20 @@ jobs:
- <<: *restore
- <<: *postgres-wait
- <<: *test-postgres
test-pg-14:
docker:
- <<: *node-image
environment:
- DATABASE_URL=postgres://ubuntu:ubuntu@localhost:5432/circle_test
- image: postgres:14.1-alpine
environment:
- POSTGRES_USER=ubuntu
- POSTGRES_PASSWORD=ubuntu
- POSTGRES_DB=circle_test
steps:
- <<: *restore
- <<: *postgres-wait
- <<: *test-postgres
test-cockroach-1:
docker:
- <<: *node-image
Expand Down Expand Up @@ -213,7 +227,7 @@ jobs:
- image: circleci/node:12.13.0
environment:
- DATABASE_URL=postgres://ubuntu:ubuntu@localhost:5432/circle_test
- image: postgres:13.5-alpine
- image: postgres:14.1-alpine
environment:
- POSTGRES_USER=ubuntu
- POSTGRES_PASSWORD=ubuntu
Expand All @@ -227,7 +241,7 @@ jobs:
- image: circleci/node:14
environment:
- DATABASE_URL=postgres://ubuntu:ubuntu@localhost:5432/circle_test
- image: postgres:13.5-alpine
- image: postgres:14.1-alpine
environment:
- POSTGRES_USER=ubuntu
- POSTGRES_PASSWORD=ubuntu
Expand All @@ -241,7 +255,7 @@ jobs:
- image: circleci/node:16
environment:
- DATABASE_URL=postgres://ubuntu:ubuntu@localhost:5432/circle_test
- image: postgres:13.5-alpine
- image: postgres:14.1-alpine
environment:
- POSTGRES_USER=ubuntu
- POSTGRES_PASSWORD=ubuntu
Expand All @@ -253,7 +267,7 @@ jobs:
test-config:
docker:
- <<: *node-image
- image: postgres:13.5-alpine
- image: postgres:14.1-alpine
environment:
- POSTGRES_USER=ubuntu
- POSTGRES_PASSWORD=ubuntu
Expand All @@ -280,7 +294,7 @@ jobs:
test-dotenv:
docker:
- <<: *node-image
- image: postgres:13.5-alpine
- image: postgres:14.1-alpine
environment:
- POSTGRES_USER=ubuntu
- POSTGRES_PASSWORD=ubuntu
Expand All @@ -298,7 +312,7 @@ jobs:
test-dotenv-expand:
docker:
- <<: *node-image
- image: postgres:13.5-alpine
- image: postgres:14.1-alpine
environment:
- POSTGRES_USER=ubuntu
- POSTGRES_PASSWORD=ubuntu
Expand All @@ -322,7 +336,7 @@ jobs:
environment:
# can't use characters @#?/ in password - they have special meaning in url
- DATABASE_URL=postgres://ubuntu:123456abcdefghABCDEFGH~\`\!$%^\&*-_=+{}[]\(\)\<\>,.\;:\"\'\|\\@localhost:5432/circle_test
- image: postgres:13.5-alpine
- image: postgres:14.1-alpine
environment:
- POSTGRES_USER=ubuntu
- POSTGRES_PASSWORD=123456abcdefghABCDEFGH~\`\!$%^\&*-_=+{}[]\(\)\<\>,.\;:\"\'\|\\
Expand All @@ -334,7 +348,7 @@ jobs:
test-password-2:
docker:
- <<: *node-image
- image: postgres:13.5-alpine
- image: postgres:14.1-alpine
environment:
- POSTGRES_USER=ubuntu
- POSTGRES_PASSWORD=123456abcdefghABCDEFGH~\`\!@#$%^\&*-_=+{}[]\(\)\<\>,.\;:\"\'?\|/\\
Expand Down Expand Up @@ -365,7 +379,7 @@ jobs:
- PGUSER=ubuntu
- PGPASSWORD=123456abcdefghABCDEFGH~\`\!@#$%^\&*-_=+{}[]\(\)\<\>,.\;:\"\'?\|/\\
- PGDATABASE=circle_test
- image: postgres:13.5-alpine
- image: postgres:14.1-alpine
environment:
- POSTGRES_USER=ubuntu
- POSTGRES_PASSWORD=123456abcdefghABCDEFGH~\`\!@#$%^\&*-_=+{}[]\(\)\<\>,.\;:\"\'?\|/\\
Expand All @@ -381,7 +395,7 @@ jobs:
- DATABASE_URL=postgres://ubuntu:ubuntu@localhost:5432/circle_test
# used in tests
- SCHEMA=myschema
- image: postgres:13.5-alpine
- image: postgres:14.1-alpine
environment:
- POSTGRES_USER=ubuntu
- POSTGRES_PASSWORD=ubuntu
Expand All @@ -399,7 +413,7 @@ jobs:
- DATABASE_URL=postgres://ubuntu:ubuntu@localhost:5432/circle_test
# used in tests
- SCHEMA=myschema
- image: postgres:13.5-alpine
- image: postgres:14.1-alpine
environment:
- POSTGRES_USER=ubuntu
- POSTGRES_PASSWORD=ubuntu
Expand All @@ -415,7 +429,7 @@ jobs:
- <<: *node-image
environment:
- DATABASE_URL=postgres://ubuntu:ubuntu@localhost:5432/circle_test
- image: postgres:13.5-alpine
- image: postgres:14.1-alpine
environment:
- POSTGRES_USER=ubuntu
- POSTGRES_PASSWORD=ubuntu
Expand All @@ -431,7 +445,7 @@ jobs:
- <<: *node-image
environment:
- DATABASE_URL=postgres://ubuntu:ubuntu@localhost:5432/circle_test
- image: postgres:13.5-alpine
- image: postgres:14.1-alpine
environment:
- POSTGRES_USER=ubuntu
- POSTGRES_PASSWORD=ubuntu
Expand All @@ -447,7 +461,7 @@ jobs:
- <<: *node-image
environment:
- DATABASE_URL=postgres://ubuntu:ubuntu@localhost:5432/circle_test
- image: postgres:13.5-alpine
- image: postgres:14.1-alpine
environment:
- POSTGRES_USER=ubuntu
- POSTGRES_PASSWORD=ubuntu
Expand Down Expand Up @@ -501,6 +515,9 @@ workflows:
- test-pg-13:
requires:
- install
- test-pg-14:
requires:
- install
- test-cockroach-1:
requires:
- install
Expand Down

0 comments on commit 75d37c2

Please sign in to comment.