Merge pull request #460 from ashetty1/openshift_up_down_test

Adding kompose up/down tests for openshift
This commit is contained in:
Tomas Kral
2017-05-02 13:35:55 +02:00
committed by GitHub
9 changed files with 431 additions and 3 deletions
+7 -1
View File
@@ -55,6 +55,12 @@ test-unit-cover:
# generate go test commands using go list and run go test for every package separately
go list -f '"go test -race -cover -v -coverprofile={{.Dir}}/.coverprofile {{.ImportPath}}"' github.com/kubernetes-incubator/kompose/... | grep -v "vendor" | xargs -L 1 -P4 sh -c
# run openshift up/down tests
.PHONY: test-openshift
test-openshift:
./script/test_in_openshift/run.sh
# run commandline tests
.PHONY: test-cmd
test-cmd:
@@ -98,7 +104,7 @@ test-dep:
.PHONY: test-image
test-image:
docker build -t $(TEST_IMAGE) -f script/test_in_container/Dockerfile script/test_in_container/
# run all test localy in docker image (image can be build by by build-test-image target)
.PHONY: test-container
test-container: