6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-12-12 14:17:46 +00:00

Pin docker image tags to tutor versions

Having an identical "ironwood" tag for all releases is not practical, in
particular for breaking changes. Thus, docker images are now pinned to
the tutor version that they were build with.
This commit is contained in:
Régis Behmo 2019-06-17 20:00:30 +02:00
parent 7380fe821a
commit d9b6895629
3 changed files with 12 additions and 11 deletions

View File

@ -4,6 +4,7 @@ Note: Breaking changes between versions are indicated by "💥".
## Latest ## Latest
- [Improvement] Switch to pinned image tags for easier upgrades
- 💥[Improvement] Remove the `-y/--yes` option: `tutor config save` is now non-interactive by default. Use `-i/--interactive` to force interactive mode. - 💥[Improvement] Remove the `-y/--yes` option: `tutor config save` is now non-interactive by default. Use `-i/--interactive` to force interactive mode.
- 💥[Improvement] Replace the `databases` command by `init`. - 💥[Improvement] Replace the `databases` command by `init`.

View File

@ -61,13 +61,13 @@ Docker
Custom images Custom images
************* *************
- ``DOCKER_IMAGE_OPENEDX`` (default: ``"regis/openedx:ironwood"``) - ``DOCKER_IMAGE_OPENEDX`` (default: ``"regis/openedx:{{ TUTOR_VERSION }}"``)
- ``DOCKER_IMAGE_ANDROID`` (default: ``"regis/openedx-android:ironwood"``) - ``DOCKER_IMAGE_ANDROID`` (default: ``"regis/openedx-android:{{ TUTOR_VERSION }}"``)
- ``DOCKER_IMAGE_FORUM`` (default: ``"regis/openedx-forum:ironwood"``) - ``DOCKER_IMAGE_FORUM`` (default: ``"regis/openedx-forum:{{ TUTOR_VERSION }}"``)
- ``DOCKER_IMAGE_NOTES`` (default: ``"regis/openedx-notes:ironwood"``) - ``DOCKER_IMAGE_NOTES`` (default: ``"regis/openedx-notes:{{ TUTOR_VERSION }}"``)
- ``DOCKER_IMAGE_XQUEUE`` (default: ``"regis/openedx-xqueue:ironwood"``) - ``DOCKER_IMAGE_XQUEUE`` (default: ``"regis/openedx-xqueue:{{ TUTOR_VERSION }}"``)
These configuration parameters define which image to run for each service. These configuration parameters define which image to run for each service. By default, the docker image tag matches the Tutor version it was built with.
Custom registry Custom registry
*************** ***************

View File

@ -33,11 +33,11 @@ OPENEDX_AWS_SECRET_ACCESS_KEY: ""
ANDROID_RELEASE_STORE_PASSWORD: "android store password" ANDROID_RELEASE_STORE_PASSWORD: "android store password"
ANDROID_RELEASE_KEY_PASSWORD: "android release key password" ANDROID_RELEASE_KEY_PASSWORD: "android release key password"
ANDROID_RELEASE_KEY_ALIAS: "android release key alias" ANDROID_RELEASE_KEY_ALIAS: "android release key alias"
DOCKER_IMAGE_OPENEDX: "regis/openedx:ironwood" DOCKER_IMAGE_OPENEDX: "regis/openedx:{{ TUTOR_VERSION }}"
DOCKER_IMAGE_ANDROID: "regis/openedx-android:ironwood" DOCKER_IMAGE_ANDROID: "regis/openedx-android:{{ TUTOR_VERSION }}"
DOCKER_IMAGE_FORUM: "regis/openedx-forum:ironwood" DOCKER_IMAGE_FORUM: "regis/openedx-forum:{{ TUTOR_VERSION }}"
DOCKER_IMAGE_NOTES: "regis/openedx-notes:ironwood" DOCKER_IMAGE_NOTES: "regis/openedx-notes:{{ TUTOR_VERSION }}"
DOCKER_IMAGE_XQUEUE: "regis/openedx-xqueue:ironwood" DOCKER_IMAGE_XQUEUE: "regis/openedx-xqueue:{{ TUTOR_VERSION }}"
DOCKER_IMAGE_MEMCACHED: "memcached:1.4.38" DOCKER_IMAGE_MEMCACHED: "memcached:1.4.38"
DOCKER_IMAGE_MONGODB: "mongo:3.2.16" DOCKER_IMAGE_MONGODB: "mongo:3.2.16"
DOCKER_IMAGE_MYSQL: "mysql:5.6.36" DOCKER_IMAGE_MYSQL: "mysql:5.6.36"