Adding tests for kompose-specific labels and buildconfig dockerfile construct

* Two new scripts testing kompose-specific labels have been added:
	script/test_in_openshift/tests/routes-service-expose-hostname.sh
	script/test_in_openshift/tests/routes-service-expose-true.sh

* Tests for buildconfig dockerfile construct has been added:
	script/test_in_openshift/tests/buildconfig_dockerfile.sh

* Tests for restart option:
	script/test_in_openshift/tests/restart-options.sh

* Ability to run individual scripts: Changes have been made to script/test_in_openshift/run.sh
  for running individual scripts:

	Eg. ./script/test_in_openshift/run.sh script/test_in_openshift/tests/routes-service-expose-true.sh
This commit is contained in:
Anush Shetty
2017-05-25 12:04:51 +05:30
parent abf81926c0
commit 43fa4a3fa6
10 changed files with 196 additions and 6 deletions
@@ -0,0 +1,8 @@
version: "2"
services:
foo:
build:
context: "../../../examples/buildconfig/build"
dockerfile: "Dockerfile"
command: "sleep 3600"
@@ -0,0 +1,7 @@
version: '2'
services:
pival:
image: perl
command: ["perl", "-Mbignum=bpi", "-wle", "print bpi(2000)"]
restart: "always"