From a6857ad1dae77014733c749bdc8a571279f683ed Mon Sep 17 00:00:00 2001 From: Julien Dudek Date: Sat, 9 Jan 2021 14:08:29 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9Awithout=20db=20migrate=20and=20with?= =?UTF-8?q?=20origin=20Procfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .circleci/config.yml | 24 +----------------------- Procfile | 2 +- 2 files changed, 2 insertions(+), 24 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index bd6d99d..43674f3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -77,29 +77,7 @@ jobs: . venv/bin/activate sleep 1 flask db upgrade - environment: - CONDUIT_SECRET: 'something-really-secret' - FLASK_APP: /home/circleci/repo/autoapp.py - DATABASE_URL: postgresql://myUsr:somePwd@localhost:5432/myUsr - FLASK_DEBUG: 1 - POSTGRES_USER: postgres - POSTGRES_DB: bdtest - POSTGRES_PASSWORD: somePwd - POSTGRES_PORT: 5432 - - - - - # run tests! - # this example uses Django's built-in test-runner - # other common Python testing frameworks include pytest and nose - # https://pytest.org - # https://nose.readthedocs.io - - run: - name: run tests - command: | - . venv/bin/activate - flask db migrate + sleep 1 flask test environment: CONDUIT_SECRET: 'something-really-secret' diff --git a/Procfile b/Procfile index a96c523..60df632 100644 --- a/Procfile +++ b/Procfile @@ -1 +1 @@ -web: flask db upgrade;gunicorn autoapp:app -b 0.0.0.0:$PORT -w 3 +web: gunicorn autoapp:app -b 0.0.0.0:$PORT -w 3