forked from LaconicNetwork/kompose
Changes to make the tests work with emptyvols
This commit is contained in:
parent
b48b250de2
commit
fb0966f9e3
@ -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 --provider=openshift --emptyvols -f $compose_file up
|
||||
kompose up --provider=openshift --emptyvols -f $compose_file
|
||||
exit_status=$?
|
||||
|
||||
if [ $exit_status -ne 0 ]; then
|
||||
|
||||
@ -30,6 +30,6 @@ convert::kompose_up $docker_compose_file
|
||||
convert::kompose_up_check -p foo
|
||||
|
||||
# Kompose down for buildconfig fails being tracked at #382
|
||||
# convert::kompose_down $docker_compose_file
|
||||
convert::kompose_down $docker_compose_file
|
||||
|
||||
# convert::kompose_down_check 2
|
||||
convert::kompose_down_check 2
|
||||
|
||||
@ -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 --provider=openshift --emptyvols --replicas 2 -f ${KOMPOSE_ROOT}/examples/docker-compose-counter.yaml up; exit_status=$?
|
||||
kompose up --provider=openshift --emptyvols --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"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user