Set docker image version to plugin version

We do not release a new image for every new tutor release, so it makes
more sense to set the image version to the plugin version, just like the
ecommerce image.
This commit is contained in:
Régis Behmo 2019-08-13 12:20:08 +02:00
parent 6cc9f78e7d
commit 802134c023

View File

@ -1,6 +1,8 @@
from glob import glob
import os
from .__about__ import __version__
HERE = os.path.abspath(os.path.dirname(__file__))
templates = os.path.join(HERE, "templates")
@ -12,7 +14,8 @@ config = {
"OAUTH2_SECRET": "{{ 8|random_string }}",
},
"defaults": {
"DOCKER_IMAGE": "overhangio/openedx-discovery:{{ TUTOR_VERSION }}",
"VERSION": __version__,
"DOCKER_IMAGE": "overhangio/openedx-discovery:{{ DISCOVERY_VERSION }}",
"HOST": "discovery.{{ LMS_HOST }}",
"INDEX_NAME": "catalog",
"MYSQL_DATABASE": "discovery",