hubot-deploy
Version:
hubot script for GitHub Flow
166 lines (165 loc) • 8.25 kB
JSON
{
"id": 12345,
"state": "failure",
"deployment": {
"url": "https://api.github.com/repos/atmos/my-robot/deployments/123456",
"id": 123456,
"sha": "daf81923c94f7513ac840fa4fcc0dfcc11f32f74",
"ref": "break-up-notifiers",
"payload": {
"name": "my-robot",
"task": "deploy",
"hosts": "",
"notify": {
"room": "danger",
"user": "atmos",
"adapter": "slack"
},
"config": {
"provider": "heroku",
"repository": "atmos/my-robot",
"environments": [
"production"
],
"heroku_production_name": "zero-fucks-my-robot"
}
},
"environment": "production",
"description": "Deploying from hubot-deploy-v0.6.0",
"creator": {
"login": "fakeatmos",
"id": 704696,
"avatar_url": "https://avatars.githubusercontent.com/u/704696?",
"gravatar_id": "7310f196129141a0517f1fe8f0689472",
"url": "https://api.github.com/users/fakeatmos",
"html_url": "https://github.com/fakeatmos",
"followers_url": "https://api.github.com/users/fakeatmos/followers",
"following_url": "https://api.github.com/users/fakeatmos/following{/other_user}",
"gists_url": "https://api.github.com/users/fakeatmos/gists{/gist_id}",
"starred_url": "https://api.github.com/users/fakeatmos/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fakeatmos/subscriptions",
"organizations_url": "https://api.github.com/users/fakeatmos/orgs",
"repos_url": "https://api.github.com/users/fakeatmos/repos",
"events_url": "https://api.github.com/users/fakeatmos/events{/privacy}",
"received_events_url": "https://api.github.com/users/fakeatmos/received_events",
"type": "User",
"site_admin": false
},
"created_at": "2014-05-20T08:07:39Z",
"updated_at": "2014-05-20T08:07:39Z",
"statuses_url": "https://api.github.com/repos/atmos/my-robot/deployments/123456/statuses"
},
"target_url": "https://gist.github.com/fa77d9fb1fe41c3bb3a3ffb2c",
"description": "Deploying from Heaven v0.5.5",
"deployment_status": {
"id": 12345,
"state": "failure",
"target_url": "https://gist.github.com/fa77d9fb1fe41c3bb3a3ffb2c",
"description": "Deploying from Heaven v0.5.5"
},
"repository": {
"id": 1749093424,
"name": "my-robot",
"full_name": "atmos/my-robot",
"owner": {
"login": "atmos",
"id": 6626297,
"avatar_url": "https://avatars.githubusercontent.com/u/6626297?",
"gravatar_id": null,
"url": "https://api.github.com/users/atmos",
"html_url": "https://github.com/atmos",
"followers_url": "https://api.github.com/users/atmos/followers",
"following_url": "https://api.github.com/users/atmos/following{/other_user}",
"gists_url": "https://api.github.com/users/atmos/gists{/gist_id}",
"starred_url": "https://api.github.com/users/atmos/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/atmos/subscriptions",
"organizations_url": "https://api.github.com/users/atmos/orgs",
"repos_url": "https://api.github.com/users/atmos/repos",
"events_url": "https://api.github.com/users/atmos/events{/privacy}",
"received_events_url": "https://api.github.com/users/atmos/received_events",
"type": "Organization",
"site_admin": false
},
"private": false,
"html_url": "https://github.com/atmos/my-robot",
"description": "Rails app for GitHub Flow Notifications - :walking: :tada:",
"fork": true,
"url": "https://api.github.com/repos/atmos/my-robot",
"forks_url": "https://api.github.com/repos/atmos/my-robot/forks",
"keys_url": "https://api.github.com/repos/atmos/my-robot/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/atmos/my-robot/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/atmos/my-robot/teams",
"hooks_url": "https://api.github.com/repos/atmos/my-robot/hooks",
"issue_events_url": "https://api.github.com/repos/atmos/my-robot/issues/events{/number}",
"events_url": "https://api.github.com/repos/atmos/my-robot/events",
"assignees_url": "https://api.github.com/repos/atmos/my-robot/assignees{/user}",
"branches_url": "https://api.github.com/repos/atmos/my-robot/branches{/branch}",
"tags_url": "https://api.github.com/repos/atmos/my-robot/tags",
"blobs_url": "https://api.github.com/repos/atmos/my-robot/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/atmos/my-robot/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/atmos/my-robot/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/atmos/my-robot/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/atmos/my-robot/statuses/{sha}",
"languages_url": "https://api.github.com/repos/atmos/my-robot/languages",
"stargazers_url": "https://api.github.com/repos/atmos/my-robot/stargazers",
"contributors_url": "https://api.github.com/repos/atmos/my-robot/contributors",
"subscribers_url": "https://api.github.com/repos/atmos/my-robot/subscribers",
"subscription_url": "https://api.github.com/repos/atmos/my-robot/subscription",
"commits_url": "https://api.github.com/repos/atmos/my-robot/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/atmos/my-robot/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/atmos/my-robot/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/atmos/my-robot/issues/comments/{number}",
"contents_url": "https://api.github.com/repos/atmos/my-robot/contents/{+path}",
"compare_url": "https://api.github.com/repos/atmos/my-robot/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/atmos/my-robot/merges",
"archive_url": "https://api.github.com/repos/atmos/my-robot/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/atmos/my-robot/downloads",
"issues_url": "https://api.github.com/repos/atmos/my-robot/issues{/number}",
"pulls_url": "https://api.github.com/repos/atmos/my-robot/pulls{/number}",
"milestones_url": "https://api.github.com/repos/atmos/my-robot/milestones{/number}",
"notifications_url": "https://api.github.com/repos/atmos/my-robot/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/atmos/my-robot/labels{/name}",
"releases_url": "https://api.github.com/repos/atmos/my-robot/releases{/id}",
"created_at": "2014-02-26T07:43:34Z",
"updated_at": "2014-05-20T08:04:10Z",
"pushed_at": "2014-05-20T08:04:10Z",
"git_url": "git://github.com/atmos/my-robot.git",
"ssh_url": "git@github.com:atmos/my-robot.git",
"clone_url": "https://github.com/atmos/my-robot.git",
"svn_url": "https://github.com/atmos/my-robot",
"homepage": "",
"size": 15649,
"stargazers_count": 0,
"watchers_count": 0,
"language": "Ruby",
"has_issues": false,
"has_downloads": true,
"has_wiki": false,
"forks_count": 0,
"mirror_url": null,
"open_issues_count": 0,
"forks": 0,
"open_issues": 0,
"watchers": 0,
"default_branch": "master"
},
"sender": {
"login": "fakeatmos",
"id": 704696,
"avatar_url": "https://avatars.githubusercontent.com/u/704696?",
"gravatar_id": "7310f196129141a0517f1fe8f0689472",
"url": "https://api.github.com/users/fakeatmos",
"html_url": "https://github.com/fakeatmos",
"followers_url": "https://api.github.com/users/fakeatmos/followers",
"following_url": "https://api.github.com/users/fakeatmos/following{/other_user}",
"gists_url": "https://api.github.com/users/fakeatmos/gists{/gist_id}",
"starred_url": "https://api.github.com/users/fakeatmos/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fakeatmos/subscriptions",
"organizations_url": "https://api.github.com/users/fakeatmos/orgs",
"repos_url": "https://api.github.com/users/fakeatmos/repos",
"events_url": "https://api.github.com/users/fakeatmos/events{/privacy}",
"received_events_url": "https://api.github.com/users/fakeatmos/received_events",
"type": "User",
"site_admin": false
}
}