Fix docker local build (#1212)

This commit is contained in:
Hang Yan
2019-12-27 10:26:42 +08:00
committed by GitHub
parent 1f0a097836
commit dd28e9220b
5 changed files with 34 additions and 19 deletions
+8
View File
@@ -537,6 +537,14 @@ cd $CURRENT_DIR
#### Test docker build feature
cmd="kompose convert -f $KOMPOSE_ROOT/script/test/fixtures/buildconfig/docker-compose-dockerfile.yml --stdout -j --build=local"
convert::expect_cmd_success "$cmd"
cmd="kompose convert --provider openshift -f $KOMPOSE_ROOT/script/test/fixtures/buildconfig/docker-compose-dockerfile.yml --stdout -j --build=local"
convert::expect_cmd_success "$cmd"
# Test the presence of build args in buildconfig
# Replacing variables with current branch and uri
# Test BuildConfig