Merge pull request #815 from ashetty1/fix_pr_811

Fix reference to emptyDir in OpenShift test scripts
This commit is contained in:
Charlie Drage 2017-09-26 15:27:13 -04:00 committed by GitHub
commit 8efe274474
2 changed files with 2 additions and 2 deletions

View File

@ -192,7 +192,7 @@ function convert::kompose_up () {
# Usage: convert::kompose_up <docker_compose_file>
local compose_file=$1
convert::print_msg "Running kompose up ..."
./kompose up --provider=openshift --volumes empty -f $compose_file
./kompose up --provider=openshift --volumes emptyDir -f $compose_file
exit_status=$?
if [ $exit_status -ne 0 ]; then

View File

@ -23,7 +23,7 @@ source $KOMPOSE_ROOT/script/test_in_openshift/lib.sh
convert::print_msg "Running tests for replica option"
# Run kompose up
./kompose up --provider=openshift --volumes empty --replicas 2 -f ${KOMPOSE_ROOT}/examples/docker-compose-counter.yaml; exit_status=$?
./kompose up --provider=openshift --volumes emptyDir --replicas 2 -f ${KOMPOSE_ROOT}/examples/docker-compose-counter.yaml; exit_status=$?
if [ $exit_status -ne 0 ]; then
convert::print_fail "kompose up has failed"