Merge pull request #2 from bitnami/3.0.5-0

Bump version 3.0.5
This commit is contained in:
Miguel Ángel Martínez Triviño 2015-08-14 17:07:48 -07:00
commit e5800c2fd1
2 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@ MAINTAINER Bitnami <containers@bitnami.com>
ENV BITNAMI_APP_NAME=mongodb \
BITNAMI_APP_USER=mongodb \
BITNAMI_APP_VERSION=3.0.5-0
BITNAMI_APP_VERSION=3.0.5-0-r01
ENV BITNAMI_APP_DIR=$BITNAMI_PREFIX/$BITNAMI_APP_NAME \
BITNAMI_APP_VOL_PREFIX=/bitnami/$BITNAMI_APP_NAME

View File

@ -84,17 +84,17 @@ create_full_container_mounted(){
}
@test "Can't create root user without password" {
run create_container -it -e MONGODB_USER=$MONGODB_ROOT_USER
run create_container -e MONGODB_USER=$MONGODB_ROOT_USER
[[ "$output" =~ "you need to provide the MONGODB_PASSWORD" ]]
}
@test "Can't create a custom user without password" {
run create_container -it -e MONGODB_USER=$MONGODB_USER
run create_container -e MONGODB_USER=$MONGODB_USER
[[ "$output" =~ "you need to provide the MONGODB_PASSWORD" ]]
}
@test "Can't create a custom user without database" {
run create_container -it -e MONGODB_USER=$MONGODB_USER -e MONGODB_PASSWORD=$MONGODB_PASSWORD
run create_container -e MONGODB_USER=$MONGODB_USER -e MONGODB_PASSWORD=$MONGODB_PASSWORD
[[ "$output" =~ "you need to provide the MONGODB_DATABASE" ]]
}