{
"kind": "Template",
"apiVersion": "v1",
"metadata": {
"name": "push-pull-builder",
"creationTimestamp": null,
"annotations": {
"description": "This defines a build which pulls from and pushes to the internal registry",
"iconClass": "icon-ruby",
"tags": "instant-app,ruby,mysql"
}
},
"objects": [
{
"kind": "ImageStream",
"apiVersion": "v1",
"metadata": {
"name": "internal-image",
"creationTimestamp": null
},
"spec": {}
},
{
"kind": "BuildConfig",
"apiVersion": "v1",
"metadata": {
"name": "initial-build",
"creationTimestamp": null,
"labels": {
"name": "initial-build"
}
},
"spec": {
"source": {
"type": "Git",
"git": {
"uri": "https://github.com/bparees/incremental-app.git"
}
},
"strategy": {
"type": "Source",
"sourceStrategy": {
"env": [
{
"name": "BUILD_LOGLEVEL",
"value": "5"
}
],
"from": {
"kind": "DockerImage",
"name": "centos/ruby-22-centos7:latest"
}
}
},
"output": {
"to": {
"kind": "ImageStreamTag",
"name": "internal-image:latest"
}
},
"resources": {}
},
"status": {
"lastVersion": 0
}
},
{
"kind": "BuildConfig",
"apiVersion": "v1",
"metadata": {
"name": "internal-build",
"creationTimestamp": null,
"labels": {
"name": "internal-build"
}
},
"spec": {
"source": {
"type": "Git",
"git": {
"uri": "https://github.com/bparees/incremental-app.git"
}
},
"strategy": {
"type": "Source",
"sourceStrategy": {
"env": [
{
"name": "BUILD_LOGLEVEL",
"value": "5"
}
],
"from": {
"kind": "ImageStreamTag",
"name": "internal-image:latest"
},
"incremental": true
}
},
"output": {
"to": {
"kind": "ImageStreamTag",
"name": "internal-image:latest"
}
}
}
}
],
"parameters": [],
"labels": {
"template": "application-template-stibuild"
}
}