diff --git a/app/routes.py b/app/routes.py index 38ff3b5..3a24133 100644 --- a/app/routes.py +++ b/app/routes.py @@ -251,7 +251,7 @@ def cli_remove_harvest_source(id): ## Load Test Data # TODO move this into its own file when you break up routes -@testdata.cli.command("load") +@testdata.cli.command("load_test_data") def fixtures(): """Load database fixtures from JSON.""" import json diff --git a/manifest.yml b/manifest.yml index 65114cf..e5c1587 100644 --- a/manifest.yml +++ b/manifest.yml @@ -8,7 +8,8 @@ applications: services: - ((app_name))-db - ((app_name))-secrets - instances: 1 + instances: ((admin_instances)) + memory: ((admin_memory_quota)) env: FLASK_APP: run.py CF_API_URL: ((CF_API_URL)) diff --git a/vars.development.yml b/vars.development.yml index 77c95c6..7cc130c 100644 --- a/vars.development.yml +++ b/vars.development.yml @@ -1,5 +1,7 @@ app_name: datagov-harvest route_external: datagov-harvest-admin-dev.app.cloud.gov +admin_instances: 2 +admin_memory_quota: 3G CF_API_URL: https://api.fr.cloud.gov CKAN_API_URL: https://catalog-next-dev-admin-datagov.app.cloud.gov HARVEST_RUNNER_APP_GUID: e6a8bba8-ed6d-4200-8280-67b46cebdc63 diff --git a/vars.prod.yml b/vars.prod.yml index fd800a5..17297e7 100644 --- a/vars.prod.yml +++ b/vars.prod.yml @@ -1,5 +1,7 @@ app_name: datagov-harvest route_external: datagov-harvest-admin-prod.app.cloud.gov +admin_instances: 2 +admin_memory_quota: 3G CF_API_URL: https://api.fr.cloud.gov CKAN_API_URL: https://catalog.data.gov HARVEST_RUNNER_APP_GUID: null diff --git a/vars.staging.yml b/vars.staging.yml index 3960ecd..f504eb3 100644 --- a/vars.staging.yml +++ b/vars.staging.yml @@ -1,5 +1,7 @@ app_name: datagov-harvest route_external: datagov-harvest-admin-stage.app.cloud.gov +admin_instances: 2 +admin_memory_quota: 3G CF_API_URL: https://api.fr.cloud.gov CKAN_API_URL: https://catalog-stage.data.gov HARVEST_RUNNER_APP_GUID: null