Don't try to upgrade DB on CI

This was added by mistake - the Concourse pipeline never did this
previously, and errors if we try (the necessary environment vars
aren't present, even if we wanted to).
This commit is contained in:
Ben Thorner
2021-06-15 17:33:19 +01:00
parent 6d09313b18
commit d98ea6a8bc

View File

@@ -25,7 +25,7 @@ NOTIFY_CREDENTIALS ?= ~/.notify-credentials
bootstrap: generate-version-file ## Set up everything to run the app
pip3 install -r requirements_for_test.txt
createdb notification_api || true
(. environment.sh && flask db upgrade) || flask db upgrade
(. environment.sh && flask db upgrade) || true
.PHONY: run-flask
run-flask: ## Run flask