Skip to content

Instantly share code, notes, and snippets.

@chunyunchen
Forked from mfojtik/gist:fd4d7b0b287ef608fa20
Last active August 29, 2015 14:16
Show Gist options
  • Save chunyunchen/c047395e49123b40a141 to your computer and use it in GitHub Desktop.
Save chunyunchen/c047395e49123b40a141 to your computer and use it in GitHub Desktop.
{
"apiVersion": "v1beta1",
"kind": "Config",
"items":[
{
"apiVersion": "v1beta1",
"kind": "BuildConfig",
"metadata": {
"name": "nodejs-test-build",
"labels": {
"name": "nodejs-test-build"
}
},
"parameters": {
"output": {
"imageTag": "openshift/nodejs-sample-app:latest",
"registry": "172.30.17.3:5001"
},
"source": {
"git": {
"uri": "https://github.com/openshift/sti-nodejs.git"
},
"contextDir": "0.10/test/test-app",
"type": "Git"
},
"strategy": {
"type": "STI",
"stiStrategy": {
"image": "node:0.10-onbuild",
"scripts": "https://github.com/openshift/sti-nodejs/blob/master/0.10/.sti/bin"
}
}
}
},
{
"apiVersion": "v1beta1",
"dockerImageRepository": "172.30.17.3:5001/openshift/nodejs-sample-app",
"kind": "ImageRepository",
"metadata": {
"name": "nodejs-sample-app",
"labels": {
"name": "nodejs-sample-app"
}
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment