Adds Kubernetes cluster tests

This adds cluster tests for "kompose up" and "kompose down" for
Kubernetes. At the moment this checks that they are deployable to a
single-node Kubernetes cluster.

More proficient tests such as testing if the pods are actually up will
be added in the future.

You can test this by running: `make test-ci` on your local-machine.

Furthermore, we'll eventually have this enabled on Fabric8 / CentOS CI /
Semaphore (whatever comes first) so we can have a full end-to-end
testing environment.
This commit is contained in:
Charlie Drage
2017-07-28 10:39:27 -04:00
parent be17e101b9
commit 21fefaed0c
3 changed files with 160 additions and 1 deletions
+3 -1
View File
@@ -110,4 +110,6 @@ test-image:
test-container:
docker run -v `pwd`:/opt/tmp/kompose:ro -it $(TEST_IMAGE)
.PHONE: test-ci
test-ci:
./script/test_ci/test.sh