From 652ccbb9900569290ac4b089357c1e04531ca1a7 Mon Sep 17 00:00:00 2001 From: Leo Hemsted Date: Thu, 16 May 2019 16:20:15 +0100 Subject: [PATCH] Can't use --no-start flag --no-start doesn't actually stage, which we need to get the files containing the new migrations. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b70c006e6..735b5e3ce 100644 --- a/Makefile +++ b/Makefile @@ -243,7 +243,7 @@ cf-deploy: scripts/statsd_exporter ## Deploys the app to Cloud Foundry cf-deploy-api-db-migration: $(if ${CF_SPACE},,$(error Must specify CF_SPACE)) cf target -o ${CF_ORG} -s ${CF_SPACE} - cf push notify-api-db-migration --no-start --no-route -f <(make -s CF_APP=notify-api-db-migration generate-manifest) + cf push notify-api-db-migration --no-route -f <(make -s CF_APP=notify-api-db-migration generate-manifest) cf run-task notify-api-db-migration "flask db upgrade" --name api_db_migration .PHONY: cf-check-api-db-migration-task