forked from LaconicNetwork/kompose
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:
@@ -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"
|
||||
Reference in New Issue
Block a user