From 856dbcb93df85833319bae594ce71329d41dea96 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Fri, 19 Apr 2019 12:48:07 -0400 Subject: [PATCH] feat: upgrade image version in use --- README.md | 2 +- config | 2 +- tests/service_list.bats | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index e00820b..c04d56b 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # dokku mongo [![Build Status](https://img.shields.io/travis/dokku/dokku-mongo.svg?branch=master "Build Status")](https://travis-ci.org/dokku/dokku-mongo) [![IRC Network](https://img.shields.io/badge/irc-freenode-blue.svg "IRC Freenode")](https://webchat.freenode.net/?channels=dokku) -Official mongo plugin for dokku. Currently defaults to installing [mongo 3.4.9](https://hub.docker.com/_/mongo/). +Official mongo plugin for dokku. Currently defaults to installing [mongo 3.4.20](https://hub.docker.com/_/mongo/). ## requirements diff --git a/config b/config index ca8bacb..0dd3bd0 100644 --- a/config +++ b/config @@ -1,6 +1,6 @@ #!/usr/bin/env bash export MONGO_IMAGE=${MONGO_IMAGE:="mongo"} -export MONGO_IMAGE_VERSION=${MONGO_IMAGE_VERSION:="3.4.9"} +export MONGO_IMAGE_VERSION=${MONGO_IMAGE_VERSION:="3.4.20"} export MONGO_ROOT=${MONGO_ROOT:="$DOKKU_LIB_ROOT/services/mongo"} export MONGO_HOST_ROOT=${MONGO_HOST_ROOT:=$MONGO_ROOT} diff --git a/tests/service_list.bats b/tests/service_list.bats index e12c546..900fbd4 100755 --- a/tests/service_list.bats +++ b/tests/service_list.bats @@ -11,20 +11,20 @@ teardown() { @test "($PLUGIN_COMMAND_PREFIX:list) with no exposed ports, no linked apps" { run dokku "$PLUGIN_COMMAND_PREFIX:list" - assert_contains "${lines[*]}" "l mongo:3.4.9 running - -" + assert_contains "${lines[*]}" "l mongo:3.4.20 running - -" } @test "($PLUGIN_COMMAND_PREFIX:list) with exposed ports" { dokku "$PLUGIN_COMMAND_PREFIX:expose" l 4242 4243 4244 4245 run dokku "$PLUGIN_COMMAND_PREFIX:list" - assert_contains "${lines[*]}" "l mongo:3.4.9 running 27017->4242 27018->4243 27019->4244 28017->4245 -" + assert_contains "${lines[*]}" "l mongo:3.4.20 running 27017->4242 27018->4243 27019->4244 28017->4245 -" } @test "($PLUGIN_COMMAND_PREFIX:list) with linked app" { dokku apps:create my_app dokku "$PLUGIN_COMMAND_PREFIX:link" l my_app run dokku "$PLUGIN_COMMAND_PREFIX:list" - assert_contains "${lines[*]}" "l mongo:3.4.9 running - my_app" + assert_contains "${lines[*]}" "l mongo:3.4.20 running - my_app" dokku --force apps:destroy my_app }