Validate dockerfilepath in buildconfig

This PR will resolve #594 by validating dockerfilepath based on whether
it is relative path or not.
This commit is contained in:
Suraj Narwade
2017-05-30 16:31:20 +05:30
parent 2a708bcdcf
commit 581e181967
3 changed files with 15 additions and 0 deletions
+2
View File
@@ -197,6 +197,8 @@ convert::expect_success_and_warning "kompose -f $KOMPOSE_ROOT/script/test/fixtur
# Openshift Test
convert::expect_success_and_warning "kompose --provider openshift -f $KOMPOSE_ROOT/script/test/fixtures/service-name-change/docker-compose.yml convert --stdout -j" "$KOMPOSE_ROOT/script/test/fixtures/service-name-change/output-os.json" "Unsupported root level volumes key - ignoring"
# Test regarding validating dockerfilepath
convert::expect_failure "kompose -f $KOMPOSE_ROOT/script/test/fixtures/dockerfilepath/docker-compose.yml convert --stdout"
######
# Test the output file behavior of kompose convert