Skip to content

Instantly share code, notes, and snippets.

@naaman
Last active August 29, 2015 13:56
Show Gist options
  • Save naaman/9262637 to your computer and use it in GitHub Desktop.
Save naaman/9262637 to your computer and use it in GitHub Desktop.
$ curl https://api.heroku.com/apps/naaman-iter/builds -n -k -H 'Accept: application/vnd.heroku+json; version=3' -d '{"source_blob":{"url":"http://github.com/naaman/barebones-jetty/archive/master.tar.gz"}}' -X POST -H 'Content-Type: application/json'
{
"id": "e2ee83c8-7c28-499d-bbe3-9249e2ec7b96",
"status": "started",
"created_at": "2014-02-28 00:19:19 +0000",
"source_blob": {
"url": "http://github.com/naaman/barebones-jetty/archive/master.tar.gz"
}
}%
$ curl https://api.heroku.com/apps/naaman-iter/builds/e2ee83c8-7c28-499d-bbe3-9249e2ec7b96/result -n -k -H 'Accept: application/vnd.heroku+json; version=3'
{
"build": {
"id": "e2ee83c8-7c28-499d-bbe3-9249e2ec7b96"
},
"status": 0,
"lines": [
{
"stream": "STDOUT",
"line": "\n"
},
{
"stream": "STDOUT",
"line": "-----> Fetching custom git buildpack... done\n"
},
{
"stream": "STDOUT",
"line": "-----> Null app detected\n"
},
{
"stream": "STDOUT",
"line": "-----> Nothing to do.\n"
},
{
"stream": "STDOUT",
"line": "-----> Discovering process types\n"
},
{
"stream": "STDOUT",
"line": " Procfile declares types -> web\n"
},
{
"stream": "STDOUT",
"line": "\n"
},
{
"stream": "STDOUT",
"line": "-----> Compressing... done, 4K\n"
},
{
"stream": "STDOUT",
"line": "-----> Launching... done, v51\n"
},
{
"stream": "STDOUT",
"line": " http://naaman-iter.herokuapp.com/ deployed to Heroku\n"
},
{
"stream": "STDOUT",
"line": "\n"
}
]
}%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment