Created
January 14, 2015 20:45
-
-
Save smarterclayton/c137e1f77000b67cff6e to your computer and use it in GitHub Desktop.
osc example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ osc new-app openshift/ruby-20-centos~git://github.com/mfojtik/sinatra-app-example --build=source | |
{ | |
"kind": "List", | |
"creationTimestamp": null, | |
"apiVersion": "v1beta1", | |
"items": [ | |
{ | |
"kind": "ImageRepository", | |
"apiVersion": "v1beta1", | |
"metadata": { | |
"name": "ruby-20-centos", | |
"creationTimestamp": null | |
}, | |
"dockerImageRepository": "openshift/ruby-20-centos:latest", | |
"status": {} | |
}, | |
{ | |
"kind": "ImageRepository", | |
"apiVersion": "v1beta1", | |
"metadata": { | |
"name": "sinatra-app-example", | |
"creationTimestamp": null | |
}, | |
"status": {} | |
}, | |
{ | |
"kind": "BuildConfig", | |
"apiVersion": "v1beta1", | |
"metadata": { | |
"name": "sinatra-app-example", | |
"creationTimestamp": null | |
}, | |
"triggers": [ | |
{ | |
"type": "github", | |
"github": { | |
"secret": "616eccd8-215a-4e03-aaf6-af46b4a1e634" | |
} | |
}, | |
{ | |
"type": "generic", | |
"generic": { | |
"secret": "4ce00c05-b3df-4ba8-b70c-fef905740df7" | |
} | |
} | |
], | |
"parameters": { | |
"source": { | |
"type": "Git", | |
"git": { | |
"uri": "git://github.com/mfojtik/sinatra-app-example" | |
} | |
}, | |
"strategy": { | |
"type": "STI", | |
"stiStrategy": { | |
"builderImage": "openshift/ruby-20-centos:latest", | |
"image": "openshift/ruby-20-centos:latest" | |
} | |
}, | |
"output": { | |
"imageTag": "sinatra-app-example:latest" | |
} | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment