commit
e5800c2fd1
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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" ]]
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue