test for entrypoint and command

This commit is contained in:
Tomas Kral
2016-09-05 10:40:50 +02:00
parent cc4f162cea
commit e127ce17bd
4 changed files with 114 additions and 0 deletions
@@ -0,0 +1,7 @@
version: '2'
services:
base:
image: busybox
entrypoint: echo
command: foo
+44
View File
@@ -0,0 +1,44 @@
{
"kind": "List",
"apiVersion": "v1",
"metadata": {},
"items": [
{
"kind": "Deployment",
"apiVersion": "extensions/v1beta1",
"metadata": {
"name": "base",
"creationTimestamp": null
},
"spec": {
"replicas": 1,
"template": {
"metadata": {
"creationTimestamp": null,
"labels": {
"service": "base"
}
},
"spec": {
"containers": [
{
"name": "base",
"image": "busybox",
"command": [
"echo"
],
"args": [
"foo"
],
"resources": {}
}
],
"restartPolicy": "Always"
}
},
"strategy": {}
},
"status": {}
}
]
}
+54
View File
@@ -0,0 +1,54 @@
{
"kind": "List",
"apiVersion": "v1",
"metadata": {},
"items": [
{
"kind": "DeploymentConfig",
"apiVersion": "v1",
"metadata": {
"name": "base",
"creationTimestamp": null,
"labels": {
"service": "base"
}
},
"spec": {
"strategy": {
"resources": {}
},
"triggers": null,
"replicas": 1,
"test": false,
"selector": {
"service": "base"
},
"template": {
"metadata": {
"creationTimestamp": null,
"labels": {
"service": "base"
}
},
"spec": {
"containers": [
{
"name": "base",
"image": "busybox",
"command": [
"echo"
],
"args": [
"foo"
],
"resources": {}
}
],
"restartPolicy": "Always"
}
}
},
"status": {}
}
]
}