Browse Source

👷 changed postgres port

pull/1/head
Francois Lannoy 6 years ago
parent
commit
d7c2e3a1eb
  1. 6
      .circleci/config.yml

6
.circleci/config.yml

@ -28,7 +28,7 @@ jobs:
docker: docker:
- image: python:3.8-buster - image: python:3.8-buster
environment: environment:
DATABASE_URL: postgresql://myUsr:somePwd@localhost:5432/psdb
DATABASE_URL: postgresql://myUsr:somePwd@localhost:5433/psdb
- image: circleci/postgres:9.6.2-alpine - image: circleci/postgres:9.6.2-alpine
environment: environment:
POSTGRES_USER: $POSTGRES_USER POSTGRES_USER: $POSTGRES_USER
@ -40,9 +40,9 @@ jobs:
key: deps-{{ checksum "requirements/dev.txt"}}-{{ .Environment.CACHE_VERSION }} key: deps-{{ checksum "requirements/dev.txt"}}-{{ .Environment.CACHE_VERSION }}
- run: - run:
name: postgres name: postgres
command : dockerize -wait tcp://localhost:5432 -timeout 1m
command : dockerize -wait tcp://localhost:5433 -timeout 1m
- run: - run:
name : test
name : testing
command: | command: |
. venv/bin/activate . venv/bin/activate
flask db upgrade flask db upgrade

Loading…
Cancel
Save