Compare commits

...

3 Commits

Author SHA1 Message Date
PierreD f3467f4499
Merge branch 'main' into dependabot/pip/jinja2-2.10.1 5 years ago
Pierre 13126c63d7 ❤️ fix db connection 15 5 years ago
dependabot[bot] c956c9e323
Bump jinja2 from 2.10 to 2.10.1 6 years ago
  1. 10
      .circleci/config.yml
  2. 9
      Pipfile.lock
  3. 2
      Procfile

10
.circleci/config.yml

@ -27,7 +27,7 @@ jobs: # A basic unit of work in a run
# - run: sudo chown -R circleci:circleci /usr/local/lib/python3.8/site-packages
- restore_cache:
# Read about caching dependencies: https://circleci.com/docs/2.0/caching/
key: deps9-{{ .Branch }}-{{ checksum "requirements/dev.txt" }}
key: deps10-{{ .Branch }}-{{ checksum "requirements/dev.txt" }}
- run:
command: |
python3 -m venv venv
@ -39,7 +39,7 @@ jobs: # A basic unit of work in a run
FLASK_DEBUG: 1
DATABASE_URL: postgresql://circle_test:pwd@localhost:5432/circle_test
- save_cache: # cache Python dependencies using checksum of Pipfile as the cache-key
key: deps9-{{ .Branch }}-{{ checksum "requirements/dev.txt" }}
key: deps10-{{ .Branch }}-{{ checksum "requirements/dev.txt" }}
paths:
- "venv"
@ -63,8 +63,8 @@ jobs: # A basic unit of work in a run
- checkout
- restore_cache:
keys:
- deps9-{{ .Branch }}-{{ checksum "requirements/dev.txt" }}
- deps9-{{ .Branch }}-
- deps10-{{ .Branch }}-{{ checksum "requirements/dev.txt" }}
- deps10-{{ .Branch }}-
- run:
command: |
. venv/bin/activate
@ -80,7 +80,7 @@ jobs: # A basic unit of work in a run
DATABASE_URL: postgresql://circle_test:pwd@localhost:5432/circle_test
- save_cache: # cache Python dependencies using checksum of Pipfile as the cache-key
key: deps9-{{ .Branch }}-{{ checksum "requirements/dev.txt" }}
key: deps10-{{ .Branch }}-{{ checksum "requirements/dev.txt" }}
paths:
- "venv"
heroku:

9
Pipfile.lock

@ -168,10 +168,13 @@
},
"jinja2": {
"hashes": [
"sha256:89aab215427ef59c34ad58735269eb58b1a5808103067f7bb9d5836c651b3bb0",
"sha256:f0a4641d3cf955324a89c04f3d94663aa4d638abe8f733ecd3582848e1c37035"
dependabot/pip/jinja2-2.10.1
"sha256:065c4f02ebe7f7cf559e49ee5a95fb800a9e4528727aec6f24402a5374c65013",
"sha256:14dd6caf1527abb21f08f86c784eac40853ba93edb79552aa1e4b8aef1b61c7b"
],
"version": "==2.11.2"
"index": "pypi",
"version": "==2.10.1"
main
},
"mako": {
"hashes": [

2
Procfile

@ -1 +1 @@
web: gunicorn autoapp:app -b 0.0.0.0:$PORT -w 3
web: flask db upgrade;gunicorn autoapp:app -b 0.0.0.0:$PORT -w 3
Loading…
Cancel
Save