CircleCI config for passing CDN url to the Docker image.

The workflows need to split since we're passing different parameters to
the Docker build at the beginning of the workflow.
This commit is contained in:
dandds
2019-11-14 17:06:28 -05:00
parent 8e12c6bfbd
commit 293854ece6
3 changed files with 71 additions and 24 deletions

View File

@@ -298,6 +298,7 @@ def apply_json_logger():
}
)
def register_jinja_globals(app):
static_url = app.config.get("STATIC_URL", "/static/")
@@ -308,5 +309,4 @@ def register_jinja_globals(app):
else:
return flask_url_for(endpoint, **values)
app.jinja_env.globals["url_for"] = _url_for