More deploy stuff

This commit is contained in:
Wilhelm Westermark
2018-11-11 17:24:57 +01:00
parent 839d2f87f5
commit 706038bf09
112 changed files with 10585 additions and 1 deletions
@@ -0,0 +1,210 @@
{
"config": {
"branch": "master",
"deploy": "echo test!",
"remote": "origin",
"url": "https://bitbucket.org/oliverpoignant/test-hook.git",
"header-filter": {
"x-event-key": "pullrequest:merged"
}
},
"expected": {
"status": 200,
"data": []
},
"headers": {
"accept": "*/*",
"accept-encoding": "gzip, deflate",
"connection": "keep-alive",
"content-length": "4248",
"content-type": "application/json",
"host": "narpau.se:8001",
"user-agent": "Bitbucket-Webhooks/2.0",
"x-attempt-number": "1",
"x-event-key": "pullrequest:created",
"x-hook-uuid": "1f813038-7b26-4d08-9b80-ee76eeb53d93",
"x-request-uuid": "2e6626d9-effe-46f7-8bfd-e9dee9a58920"
},
"payload": {
"actor": {
"display_name": "Oliver Poignant",
"links": {
"avatar": {
"href": "https://bitbucket.org/account/oliverpoignant/avatar/32/"
},
"html": {
"href": "https://bitbucket.org/oliverpoignant/"
},
"self": {
"href": "https://api.bitbucket.org/2.0/users/oliverpoignant"
}
},
"type": "user",
"username": "oliverpoignant",
"uuid": "{d628d18b-5fe4-4f45-b34f-cc1a20073194}"
},
"pullrequest": {
"author": {
"display_name": "Oliver Poignant",
"links": {
"avatar": {
"href": "https://bitbucket.org/account/oliverpoignant/avatar/32/"
},
"html": {
"href": "https://bitbucket.org/oliverpoignant/"
},
"self": {
"href": "https://api.bitbucket.org/2.0/users/oliverpoignant"
}
},
"type": "user",
"username": "oliverpoignant",
"uuid": "{d628d18b-5fe4-4f45-b34f-cc1a20073194}"
},
"close_source_branch": false,
"closed_by": null,
"comment_count": 0,
"created_on": "2016-12-08T19:30:52.967233+00:00",
"description": "",
"destination": {
"branch": {
"name": "master"
},
"commit": {
"hash": "04dad24aa44d",
"links": {
"self": {
"href": "https://api.bitbucket.org/2.0/repositories/oliverpoignant/test-hook/commit/04dad24aa44d"
}
}
},
"repository": {
"full_name": "oliverpoignant/test-hook",
"links": {
"avatar": {
"href": "https://bitbucket.org/oliverpoignant/test-hook/avatar/32/"
},
"html": {
"href": "https://bitbucket.org/oliverpoignant/test-hook"
},
"self": {
"href": "https://api.bitbucket.org/2.0/repositories/oliverpoignant/test-hook"
}
},
"name": "test-hook",
"type": "repository",
"uuid": "{88ad4da3-6e3e-41ad-9aef-f3a26731d913}"
}
},
"id": 1,
"links": {
"activity": {
"href": "https://api.bitbucket.org/2.0/repositories/oliverpoignant/test-hook/pullrequests/1/activity"
},
"approve": {
"href": "https://api.bitbucket.org/2.0/repositories/oliverpoignant/test-hook/pullrequests/1/approve"
},
"comments": {
"href": "https://api.bitbucket.org/2.0/repositories/oliverpoignant/test-hook/pullrequests/1/comments"
},
"commits": {
"href": "https://api.bitbucket.org/2.0/repositories/oliverpoignant/test-hook/pullrequests/1/commits"
},
"decline": {
"href": "https://api.bitbucket.org/2.0/repositories/oliverpoignant/test-hook/pullrequests/1/decline"
},
"diff": {
"href": "https://api.bitbucket.org/2.0/repositories/oliverpoignant/test-hook/pullrequests/1/diff"
},
"html": {
"href": "https://bitbucket.org/oliverpoignant/test-hook/pull-requests/1"
},
"merge": {
"href": "https://api.bitbucket.org/2.0/repositories/oliverpoignant/test-hook/pullrequests/1/merge"
},
"self": {
"href": "https://api.bitbucket.org/2.0/repositories/oliverpoignant/test-hook/pullrequests/1"
},
"statuses": {
"href": "https://api.bitbucket.org/2.0/repositories/oliverpoignant/test-hook/pullrequests/1/statuses"
}
},
"merge_commit": null,
"participants": [],
"reason": "",
"reviewers": [],
"source": {
"branch": {
"name": "development"
},
"commit": {
"hash": "198a37b77185",
"links": {
"self": {
"href": "https://api.bitbucket.org/2.0/repositories/oliverpoignant/test-hook/commit/198a37b77185"
}
}
},
"repository": {
"full_name": "oliverpoignant/test-hook",
"links": {
"avatar": {
"href": "https://bitbucket.org/oliverpoignant/test-hook/avatar/32/"
},
"html": {
"href": "https://bitbucket.org/oliverpoignant/test-hook"
},
"self": {
"href": "https://api.bitbucket.org/2.0/repositories/oliverpoignant/test-hook"
}
},
"name": "test-hook",
"type": "repository",
"uuid": "{88ad4da3-6e3e-41ad-9aef-f3a26731d913}"
}
},
"state": "OPEN",
"task_count": 0,
"title": "ahhha edited online with Bitbucket",
"type": "pullrequest",
"updated_on": "2016-12-08T19:30:52.984875+00:00"
},
"repository": {
"full_name": "oliverpoignant/test-hook",
"is_private": true,
"links": {
"avatar": {
"href": "https://bitbucket.org/oliverpoignant/test-hook/avatar/32/"
},
"html": {
"href": "https://bitbucket.org/oliverpoignant/test-hook"
},
"self": {
"href": "https://api.bitbucket.org/2.0/repositories/oliverpoignant/test-hook"
}
},
"name": "test-hook",
"owner": {
"display_name": "Oliver Poignant",
"links": {
"avatar": {
"href": "https://bitbucket.org/account/oliverpoignant/avatar/32/"
},
"html": {
"href": "https://bitbucket.org/oliverpoignant/"
},
"self": {
"href": "https://api.bitbucket.org/2.0/users/oliverpoignant"
}
},
"type": "user",
"username": "oliverpoignant",
"uuid": "{d628d18b-5fe4-4f45-b34f-cc1a20073194}"
},
"scm": "git",
"type": "repository",
"uuid": "{88ad4da3-6e3e-41ad-9aef-f3a26731d913}",
"website": ""
}
}
}
@@ -0,0 +1,214 @@
{
"config": {
"branch": "master",
"deploy": "echo test!",
"remote": "origin",
"url": "https://bitbucket.org/oliverpoignant/test-hook.git",
"header-filter": {
"x-event-key": "pullrequest:created"
}
},
"expected": {
"status": 200,
"data": [
{
"deploy": 0
}
]
},
"headers": {
"accept": "*/*",
"accept-encoding": "gzip, deflate",
"connection": "keep-alive",
"content-length": "4248",
"content-type": "application/json",
"host": "narpau.se:8001",
"user-agent": "Bitbucket-Webhooks/2.0",
"x-attempt-number": "1",
"x-event-key": "pullrequest:created",
"x-hook-uuid": "1f813038-7b26-4d08-9b80-ee76eeb53d93",
"x-request-uuid": "2e6626d9-effe-46f7-8bfd-e9dee9a58920"
},
"payload": {
"actor": {
"display_name": "Oliver Poignant",
"links": {
"avatar": {
"href": "https://bitbucket.org/account/oliverpoignant/avatar/32/"
},
"html": {
"href": "https://bitbucket.org/oliverpoignant/"
},
"self": {
"href": "https://api.bitbucket.org/2.0/users/oliverpoignant"
}
},
"type": "user",
"username": "oliverpoignant",
"uuid": "{d628d18b-5fe4-4f45-b34f-cc1a20073194}"
},
"pullrequest": {
"author": {
"display_name": "Oliver Poignant",
"links": {
"avatar": {
"href": "https://bitbucket.org/account/oliverpoignant/avatar/32/"
},
"html": {
"href": "https://bitbucket.org/oliverpoignant/"
},
"self": {
"href": "https://api.bitbucket.org/2.0/users/oliverpoignant"
}
},
"type": "user",
"username": "oliverpoignant",
"uuid": "{d628d18b-5fe4-4f45-b34f-cc1a20073194}"
},
"close_source_branch": false,
"closed_by": null,
"comment_count": 0,
"created_on": "2016-12-08T19:30:52.967233+00:00",
"description": "",
"destination": {
"branch": {
"name": "master"
},
"commit": {
"hash": "04dad24aa44d",
"links": {
"self": {
"href": "https://api.bitbucket.org/2.0/repositories/oliverpoignant/test-hook/commit/04dad24aa44d"
}
}
},
"repository": {
"full_name": "oliverpoignant/test-hook",
"links": {
"avatar": {
"href": "https://bitbucket.org/oliverpoignant/test-hook/avatar/32/"
},
"html": {
"href": "https://bitbucket.org/oliverpoignant/test-hook"
},
"self": {
"href": "https://api.bitbucket.org/2.0/repositories/oliverpoignant/test-hook"
}
},
"name": "test-hook",
"type": "repository",
"uuid": "{88ad4da3-6e3e-41ad-9aef-f3a26731d913}"
}
},
"id": 1,
"links": {
"activity": {
"href": "https://api.bitbucket.org/2.0/repositories/oliverpoignant/test-hook/pullrequests/1/activity"
},
"approve": {
"href": "https://api.bitbucket.org/2.0/repositories/oliverpoignant/test-hook/pullrequests/1/approve"
},
"comments": {
"href": "https://api.bitbucket.org/2.0/repositories/oliverpoignant/test-hook/pullrequests/1/comments"
},
"commits": {
"href": "https://api.bitbucket.org/2.0/repositories/oliverpoignant/test-hook/pullrequests/1/commits"
},
"decline": {
"href": "https://api.bitbucket.org/2.0/repositories/oliverpoignant/test-hook/pullrequests/1/decline"
},
"diff": {
"href": "https://api.bitbucket.org/2.0/repositories/oliverpoignant/test-hook/pullrequests/1/diff"
},
"html": {
"href": "https://bitbucket.org/oliverpoignant/test-hook/pull-requests/1"
},
"merge": {
"href": "https://api.bitbucket.org/2.0/repositories/oliverpoignant/test-hook/pullrequests/1/merge"
},
"self": {
"href": "https://api.bitbucket.org/2.0/repositories/oliverpoignant/test-hook/pullrequests/1"
},
"statuses": {
"href": "https://api.bitbucket.org/2.0/repositories/oliverpoignant/test-hook/pullrequests/1/statuses"
}
},
"merge_commit": null,
"participants": [],
"reason": "",
"reviewers": [],
"source": {
"branch": {
"name": "development"
},
"commit": {
"hash": "198a37b77185",
"links": {
"self": {
"href": "https://api.bitbucket.org/2.0/repositories/oliverpoignant/test-hook/commit/198a37b77185"
}
}
},
"repository": {
"full_name": "oliverpoignant/test-hook",
"links": {
"avatar": {
"href": "https://bitbucket.org/oliverpoignant/test-hook/avatar/32/"
},
"html": {
"href": "https://bitbucket.org/oliverpoignant/test-hook"
},
"self": {
"href": "https://api.bitbucket.org/2.0/repositories/oliverpoignant/test-hook"
}
},
"name": "test-hook",
"type": "repository",
"uuid": "{88ad4da3-6e3e-41ad-9aef-f3a26731d913}"
}
},
"state": "OPEN",
"task_count": 0,
"title": "ahhha edited online with Bitbucket",
"type": "pullrequest",
"updated_on": "2016-12-08T19:30:52.984875+00:00"
},
"repository": {
"full_name": "oliverpoignant/test-hook",
"is_private": true,
"links": {
"avatar": {
"href": "https://bitbucket.org/oliverpoignant/test-hook/avatar/32/"
},
"html": {
"href": "https://bitbucket.org/oliverpoignant/test-hook"
},
"self": {
"href": "https://api.bitbucket.org/2.0/repositories/oliverpoignant/test-hook"
}
},
"name": "test-hook",
"owner": {
"display_name": "Oliver Poignant",
"links": {
"avatar": {
"href": "https://bitbucket.org/account/oliverpoignant/avatar/32/"
},
"html": {
"href": "https://bitbucket.org/oliverpoignant/"
},
"self": {
"href": "https://api.bitbucket.org/2.0/users/oliverpoignant"
}
},
"type": "user",
"username": "oliverpoignant",
"uuid": "{d628d18b-5fe4-4f45-b34f-cc1a20073194}"
},
"scm": "git",
"type": "repository",
"uuid": "{88ad4da3-6e3e-41ad-9aef-f3a26731d913}",
"website": ""
}
}
}
@@ -0,0 +1,131 @@
{
"config": {
"branch": "master",
"deploy": "echo test!",
"remote": "origin",
"url": "https://bitbucket.example.com/scm/PROJ_KEY/test-hook.git",
"match-url": "PROJ_KEY/test-hook",
"header-filter": {
"x-event-key": "pullrequest:merged"
}
},
"expected": {
"status": 200,
"data": []
},
"headers": {
"accept": "*/*",
"accept-encoding": "gzip, deflate",
"connection": "keep-alive",
"content-length": "4248",
"content-type": "application/json",
"host": "narpau.se:8001",
"user-agent": "Bitbucket-Webhooks/2.0",
"x-attempt-number": "1",
"x-event-key": "pullrequest:created",
"x-hook-uuid": "1f813038-7b26-4d08-9b80-ee76eeb53d93",
"x-request-uuid": "2e6626d9-effe-46f7-8bfd-e9dee9a58920"
},
"payload": {
"actor": {
"username": "username",
"displayName": "User Name"
},
"pullrequest": {
"id": "1",
"title": "Pull request title",
"link": "https://bitbucket.example.com/projects/PROJ_KEY/repos/test-hook/pull-requests/1",
"authorLogin": "User Name",
"fromRef": {
"repository": {
"scmId": "git",
"project": {
"key": "PROJ_KEY",
"name": "Project Key"
},
"slug": "test-hook",
"links": {
"self": [
{
"href": "https://bitbucket.example.com/projects/PROJ_KEY/repos/test-hook/browse"
}
]
},
"public": false,
"owner": {
"username": "PROJ_KEY",
"displayName": "PROJ_KEY"
},
"fullName": "PROJ_KEY/test-hook",
"ownerName": "PROJ_KEY"
},
"branch": {
"name": "test",
"rawNode": "4f430da32d7bea2ea13fb8e564267758bce84801"
},
"commit": {
"message": null,
"date": null,
"hash": "4f430da32d7bea2ea13fb8e564267758bce84801",
"authorTimestamp": 0
}
},
"toRef": {
"repository": {
"scmId": "git",
"project": {
"key": "PROJ_KEY",
"name": "Project Key"
},
"slug": "test-hook",
"links": {
"self": [
{
"href": "https://bitbucket.example.com/projects/PROJ_KEY/repos/test-hook/browse"
}
]
},
"public": false,
"owner": {
"username": "PROJ_KEY",
"displayName": "PROJ_KEY"
},
"fullName": "PROJ_KEY/test-hook",
"ownerName": "PROJ_KEY"
},
"branch": {
"name": "develop",
"rawNode": "82f42b549b35a42626df183003f84db6d896209d"
},
"commit": {
"message": null,
"date": null,
"hash": "82f42b549b35a42626df183003f84db6d896209d",
"authorTimestamp": 0
}
}
},
"repository": {
"scmId": "git",
"project": {
"key": "PROJ_KEY",
"name": "Project Key"
},
"slug": "test-hook",
"links": {
"self": [
{
"href": "https://bitbucket.example.com/projects/PROJ_KEY/repos/test-hook/browse"
}
]
},
"public": false,
"owner": {
"username": "PROJ_KEY",
"displayName": "PROJ_KEY"
},
"fullName": "PROJ_KEY/test-hook",
"ownerName": "PROJ_KEY"
}
}
}
@@ -0,0 +1,135 @@
{
"config": {
"branch": "master",
"deploy": "echo test!",
"remote": "origin",
"url": "https://bitbucket.example.com/scm/PROJ_KEY/test-hook.git",
"match-url": "PROJ_KEY/test-hook",
"header-filter": {
"x-event-key": "pullrequest:created"
}
},
"expected": {
"status": 200,
"data": [
{
"deploy": 0
}
]
},
"headers": {
"accept": "*/*",
"accept-encoding": "gzip, deflate",
"connection": "keep-alive",
"content-length": "4248",
"content-type": "application/json",
"host": "narpau.se:8001",
"user-agent": "Bitbucket-Webhooks/2.0",
"x-attempt-number": "1",
"x-event-key": "pullrequest:created",
"x-hook-uuid": "1f813038-7b26-4d08-9b80-ee76eeb53d93",
"x-request-uuid": "2e6626d9-effe-46f7-8bfd-e9dee9a58920"
},
"payload": {
"actor": {
"username": "username",
"displayName": "User Name"
},
"pullrequest": {
"id": "1",
"title": "Pull request title",
"link": "https://bitbucket.example.com/projects/PROJ_KEY/repos/test-hook/pull-requests/1",
"authorLogin": "User Name",
"fromRef": {
"repository": {
"scmId": "git",
"project": {
"key": "PROJ_KEY",
"name": "Project Key"
},
"slug": "test-hook",
"links": {
"self": [
{
"href": "https://bitbucket.example.com/projects/PROJ_KEY/repos/test-hook/browse"
}
]
},
"public": false,
"owner": {
"username": "PROJ_KEY",
"displayName": "PROJ_KEY"
},
"fullName": "PROJ_KEY/test-hook",
"ownerName": "PROJ_KEY"
},
"branch": {
"name": "test",
"rawNode": "4f430da32d7bea2ea13fb8e564267758bce84801"
},
"commit": {
"message": null,
"date": null,
"hash": "4f430da32d7bea2ea13fb8e564267758bce84801",
"authorTimestamp": 0
}
},
"toRef": {
"repository": {
"scmId": "git",
"project": {
"key": "PROJ_KEY",
"name": "Project Key"
},
"slug": "test-hook",
"links": {
"self": [
{
"href": "https://bitbucket.example.com/projects/PROJ_KEY/repos/test-hook/browse"
}
]
},
"public": false,
"owner": {
"username": "PROJ_KEY",
"displayName": "PROJ_KEY"
},
"fullName": "PROJ_KEY/test-hook",
"ownerName": "PROJ_KEY"
},
"branch": {
"name": "develop",
"rawNode": "82f42b549b35a42626df183003f84db6d896209d"
},
"commit": {
"message": null,
"date": null,
"hash": "82f42b549b35a42626df183003f84db6d896209d",
"authorTimestamp": 0
}
}
},
"repository": {
"scmId": "git",
"project": {
"key": "PROJ_KEY",
"name": "Project Key"
},
"slug": "test-hook",
"links": {
"self": [
{
"href": "https://bitbucket.example.com/projects/PROJ_KEY/repos/test-hook/browse"
}
]
},
"public": false,
"owner": {
"username": "PROJ_KEY",
"displayName": "PROJ_KEY"
},
"fullName": "PROJ_KEY/test-hook",
"ownerName": "PROJ_KEY"
}
}
}
@@ -0,0 +1,249 @@
{
"config": {
"branch": "master",
"deploy": "echo test!",
"remote": "origin",
"url": "https://bitbucket.org/team/repository.git",
"header-filter": {
"x-event-key": "pullrequest:fulfilled"
}
},
"expected": {
"status": 200,
"data": [
{
"deploy": 0
}
]
},
"headers": {
"X-Request-UUID": "78b41616-e3b4-4f18-b911-4ba3baf5fec5",
"X-Event-Key": "pullrequest:fulfilled",
"User-Agent": "Bitbucket-Webhooks/2.0",
"X-Attempt-Number": "3",
"X-Hook-UUID": "07a11b9b-d82a-4558-a903-8b76e2b541f5",
"Content-Type": "application/json"
},
"payload": {
"pullrequest": {
"merge_commit": {
"hash": "4ea4f3f317a6",
"links": {
"self": {
"href": "https://api.bitbucket.org/2.0/repositories/team/repository/commit/4ea4f3f317a6"
}
}
},
"description": "",
"links": {
"decline": {
"href": "https://api.bitbucket.org/2.0/repositories/team/repository/pullrequests/156/decline"
},
"commits": {
"href": "https://api.bitbucket.org/2.0/repositories/team/repository/pullrequests/156/commits"
},
"self": {
"href": "https://api.bitbucket.org/2.0/repositories/team/repository/pullrequests/156"
},
"comments": {
"href": "https://api.bitbucket.org/2.0/repositories/team/repository/pullrequests/156/comments"
},
"merge": {
"href": "https://api.bitbucket.org/2.0/repositories/team/repository/pullrequests/156/merge"
},
"html": {
"href": "https://bitbucket.org/team/repository/pull-requests/156"
},
"activity": {
"href": "https://api.bitbucket.org/2.0/repositories/team/repository/pullrequests/156/activity"
},
"diff": {
"href": "https://api.bitbucket.org/2.0/repositories/team/repository/pullrequests/156/diff"
},
"approve": {
"href": "https://api.bitbucket.org/2.0/repositories/team/repository/pullrequests/156/approve"
},
"statuses": {
"href": "https://api.bitbucket.org/2.0/repositories/team/repository/pullrequests/156/statuses"
}
},
"author": {
"username": "User",
"display_name": "User",
"type": "user",
"uuid": "{59f0a5d6-47ab-4f00-899d-efc81e98dba1}",
"links": {
"self": {
"href": "https://api.bitbucket.org/2.0/users/User"
},
"html": {
"href": "https://bitbucket.org/User/"
},
"avatar": {
"href": "https://bitbucket.org/account/User/avatar/32/"
}
}
},
"close_source_branch": false,
"reviewers": [],
"destination": {
"commit": {
"hash": "095aa224e257",
"links": {
"self": {
"href": "https://api.bitbucket.org/2.0/repositories/team/repository/commit/095aa224e257"
}
}
},
"branch": {
"name": "master"
},
"repository": {
"full_name": "team/repository",
"type": "repository",
"uuid": "{a064b276-e793-42a5-8b27-050056718971}",
"links": {
"self": {
"href": "https://api.bitbucket.org/2.0/repositories/team/repository"
},
"html": {
"href": "https://bitbucket.org/team/repository"
},
"avatar": {
"href": "https://bitbucket.org/team/repository/avatar/32/"
}
},
"name": "Repository Name"
}
},
"comment_count": 0,
"id": 156,
"source": {
"commit": {
"hash": "d41c93cba906",
"links": {
"self": {
"href": "https://api.bitbucket.org/2.0/repositories/team/repository/commit/d41c93cba906"
}
}
},
"branch": {
"name": "develop"
},
"repository": {
"full_name": "team/repository",
"type": "repository",
"uuid": "{a064b276-e793-42a5-8b27-050056718971}",
"links": {
"self": {
"href": "https://api.bitbucket.org/2.0/repositories/team/repository"
},
"html": {
"href": "https://bitbucket.org/team/repository"
},
"avatar": {
"href": "https://bitbucket.org/team/repository/avatar/32/"
}
},
"name": "Repository Name"
}
},
"participants": [],
"state": "MERGED",
"task_count": 0,
"created_on": "2016-12-02T19:13:24.073024+00:00",
"updated_on": "2016-12-02T19:13:47.132095+00:00",
"reason": "",
"title": "Pull request title.",
"type": "pullrequest",
"closed_by": {
"username": "User",
"display_name": "User",
"type": "user",
"uuid": "{59f0a5d6-47ab-4f00-899d-efc81e98dba1}",
"links": {
"self": {
"href": "https://api.bitbucket.org/2.0/users/User"
},
"html": {
"href": "https://bitbucket.org/User/"
},
"avatar": {
"href": "https://bitbucket.org/account/User/avatar/32/"
}
}
}
},
"repository": {
"website": "",
"scm": "git",
"uuid": "{a064b276-e793-42a5-8b27-050056718971}",
"links": {
"self": {
"href": "https://api.bitbucket.org/2.0/repositories/team/repository"
},
"html": {
"href": "https://bitbucket.org/team/repository"
},
"avatar": {
"href": "https://bitbucket.org/team/repository/avatar/32/"
}
},
"project": {
"links": {
"self": {
"href": "https://api.bitbucket.org/2.0/teams/team/projects/PROJ"
},
"html": {
"href": "https://bitbucket.org/account/user/team/projects/PROJ"
},
"avatar": {
"href": "https://bitbucket.org/account/user/team/projects/PROJ/avatar/32"
}
},
"type": "project",
"uuid": "{0b88330f-47da-4fa8-9a61-dc8e0dae21f1}",
"key": "PROJ",
"name": "Repository Name"
},
"full_name": "team/repository",
"owner": {
"username": "team",
"display_name": "Repository Name ",
"type": "team",
"uuid": "{1ac257f7-39d5-49b4-acbd-21def2e164fc}",
"links": {
"self": {
"href": "https://api.bitbucket.org/2.0/teams/team"
},
"html": {
"href": "https://bitbucket.org/team/"
},
"avatar": {
"href": "https://bitbucket.org/account/team/avatar/32/"
}
}
},
"type": "repository",
"is_private": true,
"name": "Repository Name"
},
"actor": {
"username": "User",
"display_name": "User",
"type": "user",
"uuid": "{59f0a5d6-47ab-4f00-899d-efc81e98dba1}",
"links": {
"self": {
"href": "https://api.bitbucket.org/2.0/users/User"
},
"html": {
"href": "https://bitbucket.org/User/"
},
"avatar": {
"href": "https://bitbucket.org/account/User/avatar/32/"
}
}
}
}
}
@@ -0,0 +1,245 @@
{
"config": {
"branch": "master",
"deploy": "echo test!",
"remote": "origin",
"url": "https://bitbucket.org/team/repository.git",
"header-filter": {
"x-event-key": "pullrequest:created"
}
},
"expected": {
"status": 200,
"data": []
},
"headers": {
"X-Request-UUID": "78b41616-e3b4-4f18-b911-4ba3baf5fec5",
"X-Event-Key": "pullrequest:fulfilled",
"User-Agent": "Bitbucket-Webhooks/2.0",
"X-Attempt-Number": "3",
"X-Hook-UUID": "07a11b9b-d82a-4558-a903-8b76e2b541f5",
"Content-Type": "application/json"
},
"payload": {
"pullrequest": {
"merge_commit": {
"hash": "4ea4f3f317a6",
"links": {
"self": {
"href": "https://api.bitbucket.org/2.0/repositories/team/repository/commit/4ea4f3f317a6"
}
}
},
"description": "",
"links": {
"decline": {
"href": "https://api.bitbucket.org/2.0/repositories/team/repository/pullrequests/156/decline"
},
"commits": {
"href": "https://api.bitbucket.org/2.0/repositories/team/repository/pullrequests/156/commits"
},
"self": {
"href": "https://api.bitbucket.org/2.0/repositories/team/repository/pullrequests/156"
},
"comments": {
"href": "https://api.bitbucket.org/2.0/repositories/team/repository/pullrequests/156/comments"
},
"merge": {
"href": "https://api.bitbucket.org/2.0/repositories/team/repository/pullrequests/156/merge"
},
"html": {
"href": "https://bitbucket.org/team/repository/pull-requests/156"
},
"activity": {
"href": "https://api.bitbucket.org/2.0/repositories/team/repository/pullrequests/156/activity"
},
"diff": {
"href": "https://api.bitbucket.org/2.0/repositories/team/repository/pullrequests/156/diff"
},
"approve": {
"href": "https://api.bitbucket.org/2.0/repositories/team/repository/pullrequests/156/approve"
},
"statuses": {
"href": "https://api.bitbucket.org/2.0/repositories/team/repository/pullrequests/156/statuses"
}
},
"author": {
"username": "User",
"display_name": "User",
"type": "user",
"uuid": "{59f0a5d6-47ab-4f00-899d-efc81e98dba1}",
"links": {
"self": {
"href": "https://api.bitbucket.org/2.0/users/User"
},
"html": {
"href": "https://bitbucket.org/User/"
},
"avatar": {
"href": "https://bitbucket.org/account/User/avatar/32/"
}
}
},
"close_source_branch": false,
"reviewers": [],
"destination": {
"commit": {
"hash": "095aa224e257",
"links": {
"self": {
"href": "https://api.bitbucket.org/2.0/repositories/team/repository/commit/095aa224e257"
}
}
},
"branch": {
"name": "master"
},
"repository": {
"full_name": "team/repository",
"type": "repository",
"uuid": "{a064b276-e793-42a5-8b27-050056718971}",
"links": {
"self": {
"href": "https://api.bitbucket.org/2.0/repositories/team/repository"
},
"html": {
"href": "https://bitbucket.org/team/repository"
},
"avatar": {
"href": "https://bitbucket.org/team/repository/avatar/32/"
}
},
"name": "Repository Name"
}
},
"comment_count": 0,
"id": 156,
"source": {
"commit": {
"hash": "d41c93cba906",
"links": {
"self": {
"href": "https://api.bitbucket.org/2.0/repositories/team/repository/commit/d41c93cba906"
}
}
},
"branch": {
"name": "develop"
},
"repository": {
"full_name": "team/repository",
"type": "repository",
"uuid": "{a064b276-e793-42a5-8b27-050056718971}",
"links": {
"self": {
"href": "https://api.bitbucket.org/2.0/repositories/team/repository"
},
"html": {
"href": "https://bitbucket.org/team/repository"
},
"avatar": {
"href": "https://bitbucket.org/team/repository/avatar/32/"
}
},
"name": "Repository Name"
}
},
"participants": [],
"state": "MERGED",
"task_count": 0,
"created_on": "2016-12-02T19:13:24.073024+00:00",
"updated_on": "2016-12-02T19:13:47.132095+00:00",
"reason": "",
"title": "Pull request title.",
"type": "pullrequest",
"closed_by": {
"username": "User",
"display_name": "User",
"type": "user",
"uuid": "{59f0a5d6-47ab-4f00-899d-efc81e98dba1}",
"links": {
"self": {
"href": "https://api.bitbucket.org/2.0/users/User"
},
"html": {
"href": "https://bitbucket.org/User/"
},
"avatar": {
"href": "https://bitbucket.org/account/User/avatar/32/"
}
}
}
},
"repository": {
"website": "",
"scm": "git",
"uuid": "{a064b276-e793-42a5-8b27-050056718971}",
"links": {
"self": {
"href": "https://api.bitbucket.org/2.0/repositories/team/repository"
},
"html": {
"href": "https://bitbucket.org/team/repository"
},
"avatar": {
"href": "https://bitbucket.org/team/repository/avatar/32/"
}
},
"project": {
"links": {
"self": {
"href": "https://api.bitbucket.org/2.0/teams/team/projects/PROJ"
},
"html": {
"href": "https://bitbucket.org/account/user/team/projects/PROJ"
},
"avatar": {
"href": "https://bitbucket.org/account/user/team/projects/PROJ/avatar/32"
}
},
"type": "project",
"uuid": "{0b88330f-47da-4fa8-9a61-dc8e0dae21f1}",
"key": "PROJ",
"name": "Repository Name"
},
"full_name": "team/repository",
"owner": {
"username": "team",
"display_name": "Repository Name ",
"type": "team",
"uuid": "{1ac257f7-39d5-49b4-acbd-21def2e164fc}",
"links": {
"self": {
"href": "https://api.bitbucket.org/2.0/teams/team"
},
"html": {
"href": "https://bitbucket.org/team/"
},
"avatar": {
"href": "https://bitbucket.org/account/team/avatar/32/"
}
}
},
"type": "repository",
"is_private": true,
"name": "Repository Name"
},
"actor": {
"username": "User",
"display_name": "User",
"type": "user",
"uuid": "{59f0a5d6-47ab-4f00-899d-efc81e98dba1}",
"links": {
"self": {
"href": "https://api.bitbucket.org/2.0/users/User"
},
"html": {
"href": "https://bitbucket.org/User/"
},
"avatar": {
"href": "https://bitbucket.org/account/User/avatar/32/"
}
}
}
}
}
@@ -0,0 +1,462 @@
{
"config": {
"branch": "master",
"deploy": "echo test!",
"remote": "origin",
"url": "https://github.com/olipo186/Git-Auto-Deploy.git",
"filters": [
{
"type": "pull-request-filter",
"action": "opened",
"ref": "master"
}
]
},
"expected": {
"status": 200,
"data": []
},
"headers": {
"accept": "*/*",
"content-length": "6602",
"content-type": "application/json",
"host": "host:8001",
"user-agent": "GitHub-Hookshot/e4028f5",
"x-github-delivery": "xxx",
"x-github-event": "pull_request",
"x-hub-signature": "xxx"
},
"payload": {
"action": "closed",
"number": 69,
"pull_request": {
"url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/pulls/69",
"id": 61793882,
"html_url": "https://github.com/olipo186/Git-Auto-Deploy/pull/69",
"diff_url": "https://github.com/olipo186/Git-Auto-Deploy/pull/69.diff",
"patch_url": "https://github.com/olipo186/Git-Auto-Deploy/pull/69.patch",
"issue_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues/69",
"number": 69,
"state": "closed",
"locked": false,
"title": "Refactoring. Fixed some imminent issues.",
"user": {
"login": "olipo186",
"id": 1056476,
"avatar_url": "https://avatars.githubusercontent.com/u/1056476?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/olipo186",
"html_url": "https://github.com/olipo186",
"followers_url": "https://api.github.com/users/olipo186/followers",
"following_url": "https://api.github.com/users/olipo186/following{/other_user}",
"gists_url": "https://api.github.com/users/olipo186/gists{/gist_id}",
"starred_url": "https://api.github.com/users/olipo186/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/olipo186/subscriptions",
"organizations_url": "https://api.github.com/users/olipo186/orgs",
"repos_url": "https://api.github.com/users/olipo186/repos",
"events_url": "https://api.github.com/users/olipo186/events{/privacy}",
"received_events_url": "https://api.github.com/users/olipo186/received_events",
"type": "User",
"site_admin": false
},
"body": "",
"created_at": "2016-03-05T01:05:00Z",
"updated_at": "2016-03-05T01:05:15Z",
"closed_at": "2016-03-05T01:05:15Z",
"merged_at": "2016-03-05T01:05:15Z",
"merge_commit_sha": "eac02076546716660d7b9ad7a354172257012035",
"assignee": null,
"milestone": null,
"commits_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/pulls/69/commits",
"review_comments_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/pulls/69/comments",
"review_comment_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/pulls/comments{/number}",
"comments_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues/69/comments",
"statuses_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/statuses/fd16c583425112d8d3be350fe40de5cae17f35c6",
"head": {
"label": "olipo186:development",
"ref": "development",
"sha": "fd16c583425112d8d3be350fe40de5cae17f35c6",
"user": {
"login": "olipo186",
"id": 1056476,
"avatar_url": "https://avatars.githubusercontent.com/u/1056476?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/olipo186",
"html_url": "https://github.com/olipo186",
"followers_url": "https://api.github.com/users/olipo186/followers",
"following_url": "https://api.github.com/users/olipo186/following{/other_user}",
"gists_url": "https://api.github.com/users/olipo186/gists{/gist_id}",
"starred_url": "https://api.github.com/users/olipo186/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/olipo186/subscriptions",
"organizations_url": "https://api.github.com/users/olipo186/orgs",
"repos_url": "https://api.github.com/users/olipo186/repos",
"events_url": "https://api.github.com/users/olipo186/events{/privacy}",
"received_events_url": "https://api.github.com/users/olipo186/received_events",
"type": "User",
"site_admin": false
},
"repo": {
"id": 10534595,
"name": "Git-Auto-Deploy",
"full_name": "olipo186/Git-Auto-Deploy",
"owner": {
"login": "olipo186",
"id": 1056476,
"avatar_url": "https://avatars.githubusercontent.com/u/1056476?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/olipo186",
"html_url": "https://github.com/olipo186",
"followers_url": "https://api.github.com/users/olipo186/followers",
"following_url": "https://api.github.com/users/olipo186/following{/other_user}",
"gists_url": "https://api.github.com/users/olipo186/gists{/gist_id}",
"starred_url": "https://api.github.com/users/olipo186/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/olipo186/subscriptions",
"organizations_url": "https://api.github.com/users/olipo186/orgs",
"repos_url": "https://api.github.com/users/olipo186/repos",
"events_url": "https://api.github.com/users/olipo186/events{/privacy}",
"received_events_url": "https://api.github.com/users/olipo186/received_events",
"type": "User",
"site_admin": false
},
"private": false,
"html_url": "https://github.com/olipo186/Git-Auto-Deploy",
"description": "Deploy your GitHub, GitLab or Bitbucket projects automatically on Git push events or webhooks using this small HTTP server written in Python. Continuous deployment in it's most simple form.",
"fork": false,
"url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy",
"forks_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/forks",
"keys_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/teams",
"hooks_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/hooks",
"issue_events_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues/events{/number}",
"events_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/events",
"assignees_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/assignees{/user}",
"branches_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/branches{/branch}",
"tags_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/tags",
"blobs_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/statuses/{sha}",
"languages_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/languages",
"stargazers_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/stargazers",
"contributors_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/contributors",
"subscribers_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/subscribers",
"subscription_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/subscription",
"commits_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/contents/{+path}",
"compare_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/merges",
"archive_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/downloads",
"issues_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues{/number}",
"pulls_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/pulls{/number}",
"milestones_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/milestones{/number}",
"notifications_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/labels{/name}",
"releases_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/releases{/id}",
"deployments_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/deployments",
"created_at": "2013-06-06T19:25:38Z",
"updated_at": "2016-03-04T15:08:35Z",
"pushed_at": "2016-03-05T01:05:16Z",
"git_url": "git://github.com/olipo186/Git-Auto-Deploy.git",
"ssh_url": "git@github.com:olipo186/Git-Auto-Deploy.git",
"clone_url": "https://github.com/olipo186/Git-Auto-Deploy.git",
"svn_url": "https://github.com/olipo186/Git-Auto-Deploy",
"homepage": "http://olipo186.github.io/Git-Auto-Deploy/",
"size": 365,
"stargazers_count": 204,
"watchers_count": 204,
"language": "Python",
"has_issues": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": true,
"forks_count": 58,
"mirror_url": null,
"open_issues_count": 11,
"forks": 58,
"open_issues": 11,
"watchers": 204,
"default_branch": "master"
}
},
"base": {
"label": "olipo186:master",
"ref": "master",
"sha": "5b525b98a9226e1232e233fcbaea684a49c52255",
"user": {
"login": "olipo186",
"id": 1056476,
"avatar_url": "https://avatars.githubusercontent.com/u/1056476?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/olipo186",
"html_url": "https://github.com/olipo186",
"followers_url": "https://api.github.com/users/olipo186/followers",
"following_url": "https://api.github.com/users/olipo186/following{/other_user}",
"gists_url": "https://api.github.com/users/olipo186/gists{/gist_id}",
"starred_url": "https://api.github.com/users/olipo186/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/olipo186/subscriptions",
"organizations_url": "https://api.github.com/users/olipo186/orgs",
"repos_url": "https://api.github.com/users/olipo186/repos",
"events_url": "https://api.github.com/users/olipo186/events{/privacy}",
"received_events_url": "https://api.github.com/users/olipo186/received_events",
"type": "User",
"site_admin": false
},
"repo": {
"id": 10534595,
"name": "Git-Auto-Deploy",
"full_name": "olipo186/Git-Auto-Deploy",
"owner": {
"login": "olipo186",
"id": 1056476,
"avatar_url": "https://avatars.githubusercontent.com/u/1056476?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/olipo186",
"html_url": "https://github.com/olipo186",
"followers_url": "https://api.github.com/users/olipo186/followers",
"following_url": "https://api.github.com/users/olipo186/following{/other_user}",
"gists_url": "https://api.github.com/users/olipo186/gists{/gist_id}",
"starred_url": "https://api.github.com/users/olipo186/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/olipo186/subscriptions",
"organizations_url": "https://api.github.com/users/olipo186/orgs",
"repos_url": "https://api.github.com/users/olipo186/repos",
"events_url": "https://api.github.com/users/olipo186/events{/privacy}",
"received_events_url": "https://api.github.com/users/olipo186/received_events",
"type": "User",
"site_admin": false
},
"private": false,
"html_url": "https://github.com/olipo186/Git-Auto-Deploy",
"description": "Deploy your GitHub, GitLab or Bitbucket projects automatically on Git push events or webhooks using this small HTTP server written in Python. Continuous deployment in it's most simple form.",
"fork": false,
"url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy",
"forks_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/forks",
"keys_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/teams",
"hooks_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/hooks",
"issue_events_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues/events{/number}",
"events_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/events",
"assignees_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/assignees{/user}",
"branches_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/branches{/branch}",
"tags_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/tags",
"blobs_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/statuses/{sha}",
"languages_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/languages",
"stargazers_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/stargazers",
"contributors_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/contributors",
"subscribers_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/subscribers",
"subscription_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/subscription",
"commits_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/contents/{+path}",
"compare_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/merges",
"archive_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/downloads",
"issues_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues{/number}",
"pulls_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/pulls{/number}",
"milestones_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/milestones{/number}",
"notifications_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/labels{/name}",
"releases_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/releases{/id}",
"deployments_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/deployments",
"created_at": "2013-06-06T19:25:38Z",
"updated_at": "2016-03-04T15:08:35Z",
"pushed_at": "2016-03-05T01:05:16Z",
"git_url": "git://github.com/olipo186/Git-Auto-Deploy.git",
"ssh_url": "git@github.com:olipo186/Git-Auto-Deploy.git",
"clone_url": "https://github.com/olipo186/Git-Auto-Deploy.git",
"svn_url": "https://github.com/olipo186/Git-Auto-Deploy",
"homepage": "http://olipo186.github.io/Git-Auto-Deploy/",
"size": 365,
"stargazers_count": 204,
"watchers_count": 204,
"language": "Python",
"has_issues": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": true,
"forks_count": 58,
"mirror_url": null,
"open_issues_count": 11,
"forks": 58,
"open_issues": 11,
"watchers": 204,
"default_branch": "master"
}
},
"_links": {
"self": {
"href": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/pulls/69"
},
"html": {
"href": "https://github.com/olipo186/Git-Auto-Deploy/pull/69"
},
"issue": {
"href": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues/69"
},
"comments": {
"href": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues/69/comments"
},
"review_comments": {
"href": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/pulls/69/comments"
},
"review_comment": {
"href": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/pulls/comments{/number}"
},
"commits": {
"href": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/pulls/69/commits"
},
"statuses": {
"href": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/statuses/fd16c583425112d8d3be350fe40de5cae17f35c6"
}
},
"merged": true,
"mergeable": null,
"mergeable_state": "unknown",
"merged_by": {
"login": "olipo186",
"id": 1056476,
"avatar_url": "https://avatars.githubusercontent.com/u/1056476?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/olipo186",
"html_url": "https://github.com/olipo186",
"followers_url": "https://api.github.com/users/olipo186/followers",
"following_url": "https://api.github.com/users/olipo186/following{/other_user}",
"gists_url": "https://api.github.com/users/olipo186/gists{/gist_id}",
"starred_url": "https://api.github.com/users/olipo186/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/olipo186/subscriptions",
"organizations_url": "https://api.github.com/users/olipo186/orgs",
"repos_url": "https://api.github.com/users/olipo186/repos",
"events_url": "https://api.github.com/users/olipo186/events{/privacy}",
"received_events_url": "https://api.github.com/users/olipo186/received_events",
"type": "User",
"site_admin": false
},
"comments": 0,
"review_comments": 0,
"commits": 2,
"additions": 139,
"deletions": 88,
"changed_files": 5
},
"repository": {
"id": 10534595,
"name": "Git-Auto-Deploy",
"full_name": "olipo186/Git-Auto-Deploy",
"owner": {
"login": "olipo186",
"id": 1056476,
"avatar_url": "https://avatars.githubusercontent.com/u/1056476?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/olipo186",
"html_url": "https://github.com/olipo186",
"followers_url": "https://api.github.com/users/olipo186/followers",
"following_url": "https://api.github.com/users/olipo186/following{/other_user}",
"gists_url": "https://api.github.com/users/olipo186/gists{/gist_id}",
"starred_url": "https://api.github.com/users/olipo186/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/olipo186/subscriptions",
"organizations_url": "https://api.github.com/users/olipo186/orgs",
"repos_url": "https://api.github.com/users/olipo186/repos",
"events_url": "https://api.github.com/users/olipo186/events{/privacy}",
"received_events_url": "https://api.github.com/users/olipo186/received_events",
"type": "User",
"site_admin": false
},
"private": false,
"html_url": "https://github.com/olipo186/Git-Auto-Deploy",
"description": "Deploy your GitHub, GitLab or Bitbucket projects automatically on Git push events or webhooks using this small HTTP server written in Python. Continuous deployment in it's most simple form.",
"fork": false,
"url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy",
"forks_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/forks",
"keys_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/teams",
"hooks_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/hooks",
"issue_events_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues/events{/number}",
"events_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/events",
"assignees_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/assignees{/user}",
"branches_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/branches{/branch}",
"tags_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/tags",
"blobs_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/statuses/{sha}",
"languages_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/languages",
"stargazers_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/stargazers",
"contributors_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/contributors",
"subscribers_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/subscribers",
"subscription_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/subscription",
"commits_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/contents/{+path}",
"compare_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/merges",
"archive_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/downloads",
"issues_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues{/number}",
"pulls_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/pulls{/number}",
"milestones_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/milestones{/number}",
"notifications_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/labels{/name}",
"releases_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/releases{/id}",
"deployments_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/deployments",
"created_at": "2013-06-06T19:25:38Z",
"updated_at": "2016-03-04T15:08:35Z",
"pushed_at": "2016-03-05T01:05:16Z",
"git_url": "git://github.com/olipo186/Git-Auto-Deploy.git",
"ssh_url": "git@github.com:olipo186/Git-Auto-Deploy.git",
"clone_url": "https://github.com/olipo186/Git-Auto-Deploy.git",
"svn_url": "https://github.com/olipo186/Git-Auto-Deploy",
"homepage": "http://olipo186.github.io/Git-Auto-Deploy/",
"size": 365,
"stargazers_count": 204,
"watchers_count": 204,
"language": "Python",
"has_issues": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": true,
"forks_count": 58,
"mirror_url": null,
"open_issues_count": 11,
"forks": 58,
"open_issues": 11,
"watchers": 204,
"default_branch": "master"
},
"sender": {
"login": "olipo186",
"id": 1056476,
"avatar_url": "https://avatars.githubusercontent.com/u/1056476?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/olipo186",
"html_url": "https://github.com/olipo186",
"followers_url": "https://api.github.com/users/olipo186/followers",
"following_url": "https://api.github.com/users/olipo186/following{/other_user}",
"gists_url": "https://api.github.com/users/olipo186/gists{/gist_id}",
"starred_url": "https://api.github.com/users/olipo186/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/olipo186/subscriptions",
"organizations_url": "https://api.github.com/users/olipo186/orgs",
"repos_url": "https://api.github.com/users/olipo186/repos",
"events_url": "https://api.github.com/users/olipo186/events{/privacy}",
"received_events_url": "https://api.github.com/users/olipo186/received_events",
"type": "User",
"site_admin": false
}
}
}
@@ -0,0 +1,466 @@
{
"config": {
"branch": "master",
"deploy": "echo test!",
"remote": "origin",
"url": "https://github.com/olipo186/Git-Auto-Deploy.git",
"filters": [
{
"type": "pull-request-filter",
"action": "closed",
"ref": "master"
}
]
},
"expected": {
"status": 200,
"data": [
{
"deploy": 0
}
]
},
"headers": {
"accept": "*/*",
"content-length": "6602",
"content-type": "application/json",
"host": "host:8001",
"user-agent": "GitHub-Hookshot/e4028f5",
"x-github-delivery": "xxx",
"x-github-event": "pull_request",
"x-hub-signature": "xxx"
},
"payload": {
"action": "closed",
"number": 69,
"pull_request": {
"url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/pulls/69",
"id": 61793882,
"html_url": "https://github.com/olipo186/Git-Auto-Deploy/pull/69",
"diff_url": "https://github.com/olipo186/Git-Auto-Deploy/pull/69.diff",
"patch_url": "https://github.com/olipo186/Git-Auto-Deploy/pull/69.patch",
"issue_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues/69",
"number": 69,
"state": "closed",
"locked": false,
"title": "Refactoring. Fixed some imminent issues.",
"user": {
"login": "olipo186",
"id": 1056476,
"avatar_url": "https://avatars.githubusercontent.com/u/1056476?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/olipo186",
"html_url": "https://github.com/olipo186",
"followers_url": "https://api.github.com/users/olipo186/followers",
"following_url": "https://api.github.com/users/olipo186/following{/other_user}",
"gists_url": "https://api.github.com/users/olipo186/gists{/gist_id}",
"starred_url": "https://api.github.com/users/olipo186/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/olipo186/subscriptions",
"organizations_url": "https://api.github.com/users/olipo186/orgs",
"repos_url": "https://api.github.com/users/olipo186/repos",
"events_url": "https://api.github.com/users/olipo186/events{/privacy}",
"received_events_url": "https://api.github.com/users/olipo186/received_events",
"type": "User",
"site_admin": false
},
"body": "",
"created_at": "2016-03-05T01:05:00Z",
"updated_at": "2016-03-05T01:05:15Z",
"closed_at": "2016-03-05T01:05:15Z",
"merged_at": "2016-03-05T01:05:15Z",
"merge_commit_sha": "eac02076546716660d7b9ad7a354172257012035",
"assignee": null,
"milestone": null,
"commits_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/pulls/69/commits",
"review_comments_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/pulls/69/comments",
"review_comment_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/pulls/comments{/number}",
"comments_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues/69/comments",
"statuses_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/statuses/fd16c583425112d8d3be350fe40de5cae17f35c6",
"head": {
"label": "olipo186:development",
"ref": "development",
"sha": "fd16c583425112d8d3be350fe40de5cae17f35c6",
"user": {
"login": "olipo186",
"id": 1056476,
"avatar_url": "https://avatars.githubusercontent.com/u/1056476?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/olipo186",
"html_url": "https://github.com/olipo186",
"followers_url": "https://api.github.com/users/olipo186/followers",
"following_url": "https://api.github.com/users/olipo186/following{/other_user}",
"gists_url": "https://api.github.com/users/olipo186/gists{/gist_id}",
"starred_url": "https://api.github.com/users/olipo186/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/olipo186/subscriptions",
"organizations_url": "https://api.github.com/users/olipo186/orgs",
"repos_url": "https://api.github.com/users/olipo186/repos",
"events_url": "https://api.github.com/users/olipo186/events{/privacy}",
"received_events_url": "https://api.github.com/users/olipo186/received_events",
"type": "User",
"site_admin": false
},
"repo": {
"id": 10534595,
"name": "Git-Auto-Deploy",
"full_name": "olipo186/Git-Auto-Deploy",
"owner": {
"login": "olipo186",
"id": 1056476,
"avatar_url": "https://avatars.githubusercontent.com/u/1056476?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/olipo186",
"html_url": "https://github.com/olipo186",
"followers_url": "https://api.github.com/users/olipo186/followers",
"following_url": "https://api.github.com/users/olipo186/following{/other_user}",
"gists_url": "https://api.github.com/users/olipo186/gists{/gist_id}",
"starred_url": "https://api.github.com/users/olipo186/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/olipo186/subscriptions",
"organizations_url": "https://api.github.com/users/olipo186/orgs",
"repos_url": "https://api.github.com/users/olipo186/repos",
"events_url": "https://api.github.com/users/olipo186/events{/privacy}",
"received_events_url": "https://api.github.com/users/olipo186/received_events",
"type": "User",
"site_admin": false
},
"private": false,
"html_url": "https://github.com/olipo186/Git-Auto-Deploy",
"description": "Deploy your GitHub, GitLab or Bitbucket projects automatically on Git push events or webhooks using this small HTTP server written in Python. Continuous deployment in it's most simple form.",
"fork": false,
"url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy",
"forks_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/forks",
"keys_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/teams",
"hooks_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/hooks",
"issue_events_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues/events{/number}",
"events_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/events",
"assignees_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/assignees{/user}",
"branches_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/branches{/branch}",
"tags_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/tags",
"blobs_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/statuses/{sha}",
"languages_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/languages",
"stargazers_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/stargazers",
"contributors_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/contributors",
"subscribers_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/subscribers",
"subscription_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/subscription",
"commits_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/contents/{+path}",
"compare_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/merges",
"archive_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/downloads",
"issues_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues{/number}",
"pulls_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/pulls{/number}",
"milestones_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/milestones{/number}",
"notifications_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/labels{/name}",
"releases_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/releases{/id}",
"deployments_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/deployments",
"created_at": "2013-06-06T19:25:38Z",
"updated_at": "2016-03-04T15:08:35Z",
"pushed_at": "2016-03-05T01:05:16Z",
"git_url": "git://github.com/olipo186/Git-Auto-Deploy.git",
"ssh_url": "git@github.com:olipo186/Git-Auto-Deploy.git",
"clone_url": "https://github.com/olipo186/Git-Auto-Deploy.git",
"svn_url": "https://github.com/olipo186/Git-Auto-Deploy",
"homepage": "http://olipo186.github.io/Git-Auto-Deploy/",
"size": 365,
"stargazers_count": 204,
"watchers_count": 204,
"language": "Python",
"has_issues": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": true,
"forks_count": 58,
"mirror_url": null,
"open_issues_count": 11,
"forks": 58,
"open_issues": 11,
"watchers": 204,
"default_branch": "master"
}
},
"base": {
"label": "olipo186:master",
"ref": "master",
"sha": "5b525b98a9226e1232e233fcbaea684a49c52255",
"user": {
"login": "olipo186",
"id": 1056476,
"avatar_url": "https://avatars.githubusercontent.com/u/1056476?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/olipo186",
"html_url": "https://github.com/olipo186",
"followers_url": "https://api.github.com/users/olipo186/followers",
"following_url": "https://api.github.com/users/olipo186/following{/other_user}",
"gists_url": "https://api.github.com/users/olipo186/gists{/gist_id}",
"starred_url": "https://api.github.com/users/olipo186/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/olipo186/subscriptions",
"organizations_url": "https://api.github.com/users/olipo186/orgs",
"repos_url": "https://api.github.com/users/olipo186/repos",
"events_url": "https://api.github.com/users/olipo186/events{/privacy}",
"received_events_url": "https://api.github.com/users/olipo186/received_events",
"type": "User",
"site_admin": false
},
"repo": {
"id": 10534595,
"name": "Git-Auto-Deploy",
"full_name": "olipo186/Git-Auto-Deploy",
"owner": {
"login": "olipo186",
"id": 1056476,
"avatar_url": "https://avatars.githubusercontent.com/u/1056476?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/olipo186",
"html_url": "https://github.com/olipo186",
"followers_url": "https://api.github.com/users/olipo186/followers",
"following_url": "https://api.github.com/users/olipo186/following{/other_user}",
"gists_url": "https://api.github.com/users/olipo186/gists{/gist_id}",
"starred_url": "https://api.github.com/users/olipo186/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/olipo186/subscriptions",
"organizations_url": "https://api.github.com/users/olipo186/orgs",
"repos_url": "https://api.github.com/users/olipo186/repos",
"events_url": "https://api.github.com/users/olipo186/events{/privacy}",
"received_events_url": "https://api.github.com/users/olipo186/received_events",
"type": "User",
"site_admin": false
},
"private": false,
"html_url": "https://github.com/olipo186/Git-Auto-Deploy",
"description": "Deploy your GitHub, GitLab or Bitbucket projects automatically on Git push events or webhooks using this small HTTP server written in Python. Continuous deployment in it's most simple form.",
"fork": false,
"url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy",
"forks_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/forks",
"keys_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/teams",
"hooks_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/hooks",
"issue_events_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues/events{/number}",
"events_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/events",
"assignees_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/assignees{/user}",
"branches_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/branches{/branch}",
"tags_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/tags",
"blobs_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/statuses/{sha}",
"languages_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/languages",
"stargazers_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/stargazers",
"contributors_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/contributors",
"subscribers_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/subscribers",
"subscription_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/subscription",
"commits_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/contents/{+path}",
"compare_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/merges",
"archive_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/downloads",
"issues_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues{/number}",
"pulls_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/pulls{/number}",
"milestones_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/milestones{/number}",
"notifications_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/labels{/name}",
"releases_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/releases{/id}",
"deployments_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/deployments",
"created_at": "2013-06-06T19:25:38Z",
"updated_at": "2016-03-04T15:08:35Z",
"pushed_at": "2016-03-05T01:05:16Z",
"git_url": "git://github.com/olipo186/Git-Auto-Deploy.git",
"ssh_url": "git@github.com:olipo186/Git-Auto-Deploy.git",
"clone_url": "https://github.com/olipo186/Git-Auto-Deploy.git",
"svn_url": "https://github.com/olipo186/Git-Auto-Deploy",
"homepage": "http://olipo186.github.io/Git-Auto-Deploy/",
"size": 365,
"stargazers_count": 204,
"watchers_count": 204,
"language": "Python",
"has_issues": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": true,
"forks_count": 58,
"mirror_url": null,
"open_issues_count": 11,
"forks": 58,
"open_issues": 11,
"watchers": 204,
"default_branch": "master"
}
},
"_links": {
"self": {
"href": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/pulls/69"
},
"html": {
"href": "https://github.com/olipo186/Git-Auto-Deploy/pull/69"
},
"issue": {
"href": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues/69"
},
"comments": {
"href": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues/69/comments"
},
"review_comments": {
"href": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/pulls/69/comments"
},
"review_comment": {
"href": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/pulls/comments{/number}"
},
"commits": {
"href": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/pulls/69/commits"
},
"statuses": {
"href": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/statuses/fd16c583425112d8d3be350fe40de5cae17f35c6"
}
},
"merged": true,
"mergeable": null,
"mergeable_state": "unknown",
"merged_by": {
"login": "olipo186",
"id": 1056476,
"avatar_url": "https://avatars.githubusercontent.com/u/1056476?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/olipo186",
"html_url": "https://github.com/olipo186",
"followers_url": "https://api.github.com/users/olipo186/followers",
"following_url": "https://api.github.com/users/olipo186/following{/other_user}",
"gists_url": "https://api.github.com/users/olipo186/gists{/gist_id}",
"starred_url": "https://api.github.com/users/olipo186/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/olipo186/subscriptions",
"organizations_url": "https://api.github.com/users/olipo186/orgs",
"repos_url": "https://api.github.com/users/olipo186/repos",
"events_url": "https://api.github.com/users/olipo186/events{/privacy}",
"received_events_url": "https://api.github.com/users/olipo186/received_events",
"type": "User",
"site_admin": false
},
"comments": 0,
"review_comments": 0,
"commits": 2,
"additions": 139,
"deletions": 88,
"changed_files": 5
},
"repository": {
"id": 10534595,
"name": "Git-Auto-Deploy",
"full_name": "olipo186/Git-Auto-Deploy",
"owner": {
"login": "olipo186",
"id": 1056476,
"avatar_url": "https://avatars.githubusercontent.com/u/1056476?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/olipo186",
"html_url": "https://github.com/olipo186",
"followers_url": "https://api.github.com/users/olipo186/followers",
"following_url": "https://api.github.com/users/olipo186/following{/other_user}",
"gists_url": "https://api.github.com/users/olipo186/gists{/gist_id}",
"starred_url": "https://api.github.com/users/olipo186/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/olipo186/subscriptions",
"organizations_url": "https://api.github.com/users/olipo186/orgs",
"repos_url": "https://api.github.com/users/olipo186/repos",
"events_url": "https://api.github.com/users/olipo186/events{/privacy}",
"received_events_url": "https://api.github.com/users/olipo186/received_events",
"type": "User",
"site_admin": false
},
"private": false,
"html_url": "https://github.com/olipo186/Git-Auto-Deploy",
"description": "Deploy your GitHub, GitLab or Bitbucket projects automatically on Git push events or webhooks using this small HTTP server written in Python. Continuous deployment in it's most simple form.",
"fork": false,
"url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy",
"forks_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/forks",
"keys_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/teams",
"hooks_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/hooks",
"issue_events_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues/events{/number}",
"events_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/events",
"assignees_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/assignees{/user}",
"branches_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/branches{/branch}",
"tags_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/tags",
"blobs_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/statuses/{sha}",
"languages_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/languages",
"stargazers_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/stargazers",
"contributors_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/contributors",
"subscribers_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/subscribers",
"subscription_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/subscription",
"commits_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/contents/{+path}",
"compare_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/merges",
"archive_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/downloads",
"issues_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues{/number}",
"pulls_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/pulls{/number}",
"milestones_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/milestones{/number}",
"notifications_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/labels{/name}",
"releases_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/releases{/id}",
"deployments_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/deployments",
"created_at": "2013-06-06T19:25:38Z",
"updated_at": "2016-03-04T15:08:35Z",
"pushed_at": "2016-03-05T01:05:16Z",
"git_url": "git://github.com/olipo186/Git-Auto-Deploy.git",
"ssh_url": "git@github.com:olipo186/Git-Auto-Deploy.git",
"clone_url": "https://github.com/olipo186/Git-Auto-Deploy.git",
"svn_url": "https://github.com/olipo186/Git-Auto-Deploy",
"homepage": "http://olipo186.github.io/Git-Auto-Deploy/",
"size": 365,
"stargazers_count": 204,
"watchers_count": 204,
"language": "Python",
"has_issues": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": true,
"forks_count": 58,
"mirror_url": null,
"open_issues_count": 11,
"forks": 58,
"open_issues": 11,
"watchers": 204,
"default_branch": "master"
},
"sender": {
"login": "olipo186",
"id": 1056476,
"avatar_url": "https://avatars.githubusercontent.com/u/1056476?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/olipo186",
"html_url": "https://github.com/olipo186",
"followers_url": "https://api.github.com/users/olipo186/followers",
"following_url": "https://api.github.com/users/olipo186/following{/other_user}",
"gists_url": "https://api.github.com/users/olipo186/gists{/gist_id}",
"starred_url": "https://api.github.com/users/olipo186/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/olipo186/subscriptions",
"organizations_url": "https://api.github.com/users/olipo186/orgs",
"repos_url": "https://api.github.com/users/olipo186/repos",
"events_url": "https://api.github.com/users/olipo186/events{/privacy}",
"received_events_url": "https://api.github.com/users/olipo186/received_events",
"type": "User",
"site_admin": false
}
}
}
@@ -0,0 +1,461 @@
{
"config": {
"branch": "master",
"deploy": "echo test!",
"remote": "origin",
"url": "https://github.com/olipo186/Git-Auto-Deploy.git",
"filters": [
{
"pull_request": false,
"action": "closed"
}
]
},
"expected": {
"status": 200,
"data": []
},
"headers": {
"accept": "*/*",
"content-length": "6602",
"content-type": "application/json",
"host": "host:8001",
"user-agent": "GitHub-Hookshot/e4028f5",
"x-github-delivery": "xxx",
"x-github-event": "pull_request",
"x-hub-signature": "xxx"
},
"payload": {
"action": "closed",
"number": 69,
"pull_request": {
"url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/pulls/69",
"id": 61793882,
"html_url": "https://github.com/olipo186/Git-Auto-Deploy/pull/69",
"diff_url": "https://github.com/olipo186/Git-Auto-Deploy/pull/69.diff",
"patch_url": "https://github.com/olipo186/Git-Auto-Deploy/pull/69.patch",
"issue_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues/69",
"number": 69,
"state": "closed",
"locked": false,
"title": "Refactoring. Fixed some imminent issues.",
"user": {
"login": "olipo186",
"id": 1056476,
"avatar_url": "https://avatars.githubusercontent.com/u/1056476?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/olipo186",
"html_url": "https://github.com/olipo186",
"followers_url": "https://api.github.com/users/olipo186/followers",
"following_url": "https://api.github.com/users/olipo186/following{/other_user}",
"gists_url": "https://api.github.com/users/olipo186/gists{/gist_id}",
"starred_url": "https://api.github.com/users/olipo186/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/olipo186/subscriptions",
"organizations_url": "https://api.github.com/users/olipo186/orgs",
"repos_url": "https://api.github.com/users/olipo186/repos",
"events_url": "https://api.github.com/users/olipo186/events{/privacy}",
"received_events_url": "https://api.github.com/users/olipo186/received_events",
"type": "User",
"site_admin": false
},
"body": "",
"created_at": "2016-03-05T01:05:00Z",
"updated_at": "2016-03-05T01:05:15Z",
"closed_at": "2016-03-05T01:05:15Z",
"merged_at": "2016-03-05T01:05:15Z",
"merge_commit_sha": "eac02076546716660d7b9ad7a354172257012035",
"assignee": null,
"milestone": null,
"commits_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/pulls/69/commits",
"review_comments_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/pulls/69/comments",
"review_comment_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/pulls/comments{/number}",
"comments_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues/69/comments",
"statuses_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/statuses/fd16c583425112d8d3be350fe40de5cae17f35c6",
"head": {
"label": "olipo186:development",
"ref": "development",
"sha": "fd16c583425112d8d3be350fe40de5cae17f35c6",
"user": {
"login": "olipo186",
"id": 1056476,
"avatar_url": "https://avatars.githubusercontent.com/u/1056476?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/olipo186",
"html_url": "https://github.com/olipo186",
"followers_url": "https://api.github.com/users/olipo186/followers",
"following_url": "https://api.github.com/users/olipo186/following{/other_user}",
"gists_url": "https://api.github.com/users/olipo186/gists{/gist_id}",
"starred_url": "https://api.github.com/users/olipo186/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/olipo186/subscriptions",
"organizations_url": "https://api.github.com/users/olipo186/orgs",
"repos_url": "https://api.github.com/users/olipo186/repos",
"events_url": "https://api.github.com/users/olipo186/events{/privacy}",
"received_events_url": "https://api.github.com/users/olipo186/received_events",
"type": "User",
"site_admin": false
},
"repo": {
"id": 10534595,
"name": "Git-Auto-Deploy",
"full_name": "olipo186/Git-Auto-Deploy",
"owner": {
"login": "olipo186",
"id": 1056476,
"avatar_url": "https://avatars.githubusercontent.com/u/1056476?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/olipo186",
"html_url": "https://github.com/olipo186",
"followers_url": "https://api.github.com/users/olipo186/followers",
"following_url": "https://api.github.com/users/olipo186/following{/other_user}",
"gists_url": "https://api.github.com/users/olipo186/gists{/gist_id}",
"starred_url": "https://api.github.com/users/olipo186/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/olipo186/subscriptions",
"organizations_url": "https://api.github.com/users/olipo186/orgs",
"repos_url": "https://api.github.com/users/olipo186/repos",
"events_url": "https://api.github.com/users/olipo186/events{/privacy}",
"received_events_url": "https://api.github.com/users/olipo186/received_events",
"type": "User",
"site_admin": false
},
"private": false,
"html_url": "https://github.com/olipo186/Git-Auto-Deploy",
"description": "Deploy your GitHub, GitLab or Bitbucket projects automatically on Git push events or webhooks using this small HTTP server written in Python. Continuous deployment in it's most simple form.",
"fork": false,
"url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy",
"forks_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/forks",
"keys_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/teams",
"hooks_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/hooks",
"issue_events_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues/events{/number}",
"events_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/events",
"assignees_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/assignees{/user}",
"branches_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/branches{/branch}",
"tags_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/tags",
"blobs_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/statuses/{sha}",
"languages_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/languages",
"stargazers_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/stargazers",
"contributors_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/contributors",
"subscribers_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/subscribers",
"subscription_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/subscription",
"commits_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/contents/{+path}",
"compare_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/merges",
"archive_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/downloads",
"issues_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues{/number}",
"pulls_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/pulls{/number}",
"milestones_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/milestones{/number}",
"notifications_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/labels{/name}",
"releases_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/releases{/id}",
"deployments_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/deployments",
"created_at": "2013-06-06T19:25:38Z",
"updated_at": "2016-03-04T15:08:35Z",
"pushed_at": "2016-03-05T01:05:16Z",
"git_url": "git://github.com/olipo186/Git-Auto-Deploy.git",
"ssh_url": "git@github.com:olipo186/Git-Auto-Deploy.git",
"clone_url": "https://github.com/olipo186/Git-Auto-Deploy.git",
"svn_url": "https://github.com/olipo186/Git-Auto-Deploy",
"homepage": "http://olipo186.github.io/Git-Auto-Deploy/",
"size": 365,
"stargazers_count": 204,
"watchers_count": 204,
"language": "Python",
"has_issues": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": true,
"forks_count": 58,
"mirror_url": null,
"open_issues_count": 11,
"forks": 58,
"open_issues": 11,
"watchers": 204,
"default_branch": "master"
}
},
"base": {
"label": "olipo186:master",
"ref": "master",
"sha": "5b525b98a9226e1232e233fcbaea684a49c52255",
"user": {
"login": "olipo186",
"id": 1056476,
"avatar_url": "https://avatars.githubusercontent.com/u/1056476?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/olipo186",
"html_url": "https://github.com/olipo186",
"followers_url": "https://api.github.com/users/olipo186/followers",
"following_url": "https://api.github.com/users/olipo186/following{/other_user}",
"gists_url": "https://api.github.com/users/olipo186/gists{/gist_id}",
"starred_url": "https://api.github.com/users/olipo186/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/olipo186/subscriptions",
"organizations_url": "https://api.github.com/users/olipo186/orgs",
"repos_url": "https://api.github.com/users/olipo186/repos",
"events_url": "https://api.github.com/users/olipo186/events{/privacy}",
"received_events_url": "https://api.github.com/users/olipo186/received_events",
"type": "User",
"site_admin": false
},
"repo": {
"id": 10534595,
"name": "Git-Auto-Deploy",
"full_name": "olipo186/Git-Auto-Deploy",
"owner": {
"login": "olipo186",
"id": 1056476,
"avatar_url": "https://avatars.githubusercontent.com/u/1056476?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/olipo186",
"html_url": "https://github.com/olipo186",
"followers_url": "https://api.github.com/users/olipo186/followers",
"following_url": "https://api.github.com/users/olipo186/following{/other_user}",
"gists_url": "https://api.github.com/users/olipo186/gists{/gist_id}",
"starred_url": "https://api.github.com/users/olipo186/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/olipo186/subscriptions",
"organizations_url": "https://api.github.com/users/olipo186/orgs",
"repos_url": "https://api.github.com/users/olipo186/repos",
"events_url": "https://api.github.com/users/olipo186/events{/privacy}",
"received_events_url": "https://api.github.com/users/olipo186/received_events",
"type": "User",
"site_admin": false
},
"private": false,
"html_url": "https://github.com/olipo186/Git-Auto-Deploy",
"description": "Deploy your GitHub, GitLab or Bitbucket projects automatically on Git push events or webhooks using this small HTTP server written in Python. Continuous deployment in it's most simple form.",
"fork": false,
"url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy",
"forks_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/forks",
"keys_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/teams",
"hooks_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/hooks",
"issue_events_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues/events{/number}",
"events_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/events",
"assignees_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/assignees{/user}",
"branches_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/branches{/branch}",
"tags_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/tags",
"blobs_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/statuses/{sha}",
"languages_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/languages",
"stargazers_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/stargazers",
"contributors_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/contributors",
"subscribers_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/subscribers",
"subscription_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/subscription",
"commits_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/contents/{+path}",
"compare_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/merges",
"archive_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/downloads",
"issues_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues{/number}",
"pulls_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/pulls{/number}",
"milestones_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/milestones{/number}",
"notifications_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/labels{/name}",
"releases_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/releases{/id}",
"deployments_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/deployments",
"created_at": "2013-06-06T19:25:38Z",
"updated_at": "2016-03-04T15:08:35Z",
"pushed_at": "2016-03-05T01:05:16Z",
"git_url": "git://github.com/olipo186/Git-Auto-Deploy.git",
"ssh_url": "git@github.com:olipo186/Git-Auto-Deploy.git",
"clone_url": "https://github.com/olipo186/Git-Auto-Deploy.git",
"svn_url": "https://github.com/olipo186/Git-Auto-Deploy",
"homepage": "http://olipo186.github.io/Git-Auto-Deploy/",
"size": 365,
"stargazers_count": 204,
"watchers_count": 204,
"language": "Python",
"has_issues": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": true,
"forks_count": 58,
"mirror_url": null,
"open_issues_count": 11,
"forks": 58,
"open_issues": 11,
"watchers": 204,
"default_branch": "master"
}
},
"_links": {
"self": {
"href": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/pulls/69"
},
"html": {
"href": "https://github.com/olipo186/Git-Auto-Deploy/pull/69"
},
"issue": {
"href": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues/69"
},
"comments": {
"href": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues/69/comments"
},
"review_comments": {
"href": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/pulls/69/comments"
},
"review_comment": {
"href": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/pulls/comments{/number}"
},
"commits": {
"href": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/pulls/69/commits"
},
"statuses": {
"href": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/statuses/fd16c583425112d8d3be350fe40de5cae17f35c6"
}
},
"merged": true,
"mergeable": null,
"mergeable_state": "unknown",
"merged_by": {
"login": "olipo186",
"id": 1056476,
"avatar_url": "https://avatars.githubusercontent.com/u/1056476?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/olipo186",
"html_url": "https://github.com/olipo186",
"followers_url": "https://api.github.com/users/olipo186/followers",
"following_url": "https://api.github.com/users/olipo186/following{/other_user}",
"gists_url": "https://api.github.com/users/olipo186/gists{/gist_id}",
"starred_url": "https://api.github.com/users/olipo186/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/olipo186/subscriptions",
"organizations_url": "https://api.github.com/users/olipo186/orgs",
"repos_url": "https://api.github.com/users/olipo186/repos",
"events_url": "https://api.github.com/users/olipo186/events{/privacy}",
"received_events_url": "https://api.github.com/users/olipo186/received_events",
"type": "User",
"site_admin": false
},
"comments": 0,
"review_comments": 0,
"commits": 2,
"additions": 139,
"deletions": 88,
"changed_files": 5
},
"repository": {
"id": 10534595,
"name": "Git-Auto-Deploy",
"full_name": "olipo186/Git-Auto-Deploy",
"owner": {
"login": "olipo186",
"id": 1056476,
"avatar_url": "https://avatars.githubusercontent.com/u/1056476?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/olipo186",
"html_url": "https://github.com/olipo186",
"followers_url": "https://api.github.com/users/olipo186/followers",
"following_url": "https://api.github.com/users/olipo186/following{/other_user}",
"gists_url": "https://api.github.com/users/olipo186/gists{/gist_id}",
"starred_url": "https://api.github.com/users/olipo186/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/olipo186/subscriptions",
"organizations_url": "https://api.github.com/users/olipo186/orgs",
"repos_url": "https://api.github.com/users/olipo186/repos",
"events_url": "https://api.github.com/users/olipo186/events{/privacy}",
"received_events_url": "https://api.github.com/users/olipo186/received_events",
"type": "User",
"site_admin": false
},
"private": false,
"html_url": "https://github.com/olipo186/Git-Auto-Deploy",
"description": "Deploy your GitHub, GitLab or Bitbucket projects automatically on Git push events or webhooks using this small HTTP server written in Python. Continuous deployment in it's most simple form.",
"fork": false,
"url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy",
"forks_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/forks",
"keys_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/teams",
"hooks_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/hooks",
"issue_events_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues/events{/number}",
"events_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/events",
"assignees_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/assignees{/user}",
"branches_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/branches{/branch}",
"tags_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/tags",
"blobs_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/statuses/{sha}",
"languages_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/languages",
"stargazers_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/stargazers",
"contributors_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/contributors",
"subscribers_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/subscribers",
"subscription_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/subscription",
"commits_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/contents/{+path}",
"compare_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/merges",
"archive_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/downloads",
"issues_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues{/number}",
"pulls_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/pulls{/number}",
"milestones_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/milestones{/number}",
"notifications_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/labels{/name}",
"releases_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/releases{/id}",
"deployments_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/deployments",
"created_at": "2013-06-06T19:25:38Z",
"updated_at": "2016-03-04T15:08:35Z",
"pushed_at": "2016-03-05T01:05:16Z",
"git_url": "git://github.com/olipo186/Git-Auto-Deploy.git",
"ssh_url": "git@github.com:olipo186/Git-Auto-Deploy.git",
"clone_url": "https://github.com/olipo186/Git-Auto-Deploy.git",
"svn_url": "https://github.com/olipo186/Git-Auto-Deploy",
"homepage": "http://olipo186.github.io/Git-Auto-Deploy/",
"size": 365,
"stargazers_count": 204,
"watchers_count": 204,
"language": "Python",
"has_issues": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": true,
"forks_count": 58,
"mirror_url": null,
"open_issues_count": 11,
"forks": 58,
"open_issues": 11,
"watchers": 204,
"default_branch": "master"
},
"sender": {
"login": "olipo186",
"id": 1056476,
"avatar_url": "https://avatars.githubusercontent.com/u/1056476?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/olipo186",
"html_url": "https://github.com/olipo186",
"followers_url": "https://api.github.com/users/olipo186/followers",
"following_url": "https://api.github.com/users/olipo186/following{/other_user}",
"gists_url": "https://api.github.com/users/olipo186/gists{/gist_id}",
"starred_url": "https://api.github.com/users/olipo186/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/olipo186/subscriptions",
"organizations_url": "https://api.github.com/users/olipo186/orgs",
"repos_url": "https://api.github.com/users/olipo186/repos",
"events_url": "https://api.github.com/users/olipo186/events{/privacy}",
"received_events_url": "https://api.github.com/users/olipo186/received_events",
"type": "User",
"site_admin": false
}
}
}
@@ -0,0 +1,467 @@
{
"config": {
"branch": "master",
"deploy": "echo test!",
"remote": "origin",
"url": "https://github.com/olipo186/Git-Auto-Deploy.git",
"filters": [
{
"pull_request": true,
"action": "closed",
"pull_request.head.ref": "development",
"pull_request.base.ref": "master"
}
]
},
"expected": {
"status": 200,
"data": [
{
"deploy": 0
}
]
},
"headers": {
"accept": "*/*",
"content-length": "6602",
"content-type": "application/json",
"host": "host:8001",
"user-agent": "GitHub-Hookshot/e4028f5",
"x-github-delivery": "xxx",
"x-github-event": "pull_request",
"x-hub-signature": "xxx"
},
"payload": {
"action": "closed",
"number": 69,
"pull_request": {
"url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/pulls/69",
"id": 61793882,
"html_url": "https://github.com/olipo186/Git-Auto-Deploy/pull/69",
"diff_url": "https://github.com/olipo186/Git-Auto-Deploy/pull/69.diff",
"patch_url": "https://github.com/olipo186/Git-Auto-Deploy/pull/69.patch",
"issue_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues/69",
"number": 69,
"state": "closed",
"locked": false,
"title": "Refactoring. Fixed some imminent issues.",
"user": {
"login": "olipo186",
"id": 1056476,
"avatar_url": "https://avatars.githubusercontent.com/u/1056476?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/olipo186",
"html_url": "https://github.com/olipo186",
"followers_url": "https://api.github.com/users/olipo186/followers",
"following_url": "https://api.github.com/users/olipo186/following{/other_user}",
"gists_url": "https://api.github.com/users/olipo186/gists{/gist_id}",
"starred_url": "https://api.github.com/users/olipo186/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/olipo186/subscriptions",
"organizations_url": "https://api.github.com/users/olipo186/orgs",
"repos_url": "https://api.github.com/users/olipo186/repos",
"events_url": "https://api.github.com/users/olipo186/events{/privacy}",
"received_events_url": "https://api.github.com/users/olipo186/received_events",
"type": "User",
"site_admin": false
},
"body": "",
"created_at": "2016-03-05T01:05:00Z",
"updated_at": "2016-03-05T01:05:15Z",
"closed_at": "2016-03-05T01:05:15Z",
"merged_at": "2016-03-05T01:05:15Z",
"merge_commit_sha": "eac02076546716660d7b9ad7a354172257012035",
"assignee": null,
"milestone": null,
"commits_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/pulls/69/commits",
"review_comments_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/pulls/69/comments",
"review_comment_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/pulls/comments{/number}",
"comments_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues/69/comments",
"statuses_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/statuses/fd16c583425112d8d3be350fe40de5cae17f35c6",
"head": {
"label": "olipo186:development",
"ref": "development",
"sha": "fd16c583425112d8d3be350fe40de5cae17f35c6",
"user": {
"login": "olipo186",
"id": 1056476,
"avatar_url": "https://avatars.githubusercontent.com/u/1056476?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/olipo186",
"html_url": "https://github.com/olipo186",
"followers_url": "https://api.github.com/users/olipo186/followers",
"following_url": "https://api.github.com/users/olipo186/following{/other_user}",
"gists_url": "https://api.github.com/users/olipo186/gists{/gist_id}",
"starred_url": "https://api.github.com/users/olipo186/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/olipo186/subscriptions",
"organizations_url": "https://api.github.com/users/olipo186/orgs",
"repos_url": "https://api.github.com/users/olipo186/repos",
"events_url": "https://api.github.com/users/olipo186/events{/privacy}",
"received_events_url": "https://api.github.com/users/olipo186/received_events",
"type": "User",
"site_admin": false
},
"repo": {
"id": 10534595,
"name": "Git-Auto-Deploy",
"full_name": "olipo186/Git-Auto-Deploy",
"owner": {
"login": "olipo186",
"id": 1056476,
"avatar_url": "https://avatars.githubusercontent.com/u/1056476?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/olipo186",
"html_url": "https://github.com/olipo186",
"followers_url": "https://api.github.com/users/olipo186/followers",
"following_url": "https://api.github.com/users/olipo186/following{/other_user}",
"gists_url": "https://api.github.com/users/olipo186/gists{/gist_id}",
"starred_url": "https://api.github.com/users/olipo186/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/olipo186/subscriptions",
"organizations_url": "https://api.github.com/users/olipo186/orgs",
"repos_url": "https://api.github.com/users/olipo186/repos",
"events_url": "https://api.github.com/users/olipo186/events{/privacy}",
"received_events_url": "https://api.github.com/users/olipo186/received_events",
"type": "User",
"site_admin": false
},
"private": false,
"html_url": "https://github.com/olipo186/Git-Auto-Deploy",
"description": "Deploy your GitHub, GitLab or Bitbucket projects automatically on Git push events or webhooks using this small HTTP server written in Python. Continuous deployment in it's most simple form.",
"fork": false,
"url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy",
"forks_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/forks",
"keys_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/teams",
"hooks_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/hooks",
"issue_events_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues/events{/number}",
"events_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/events",
"assignees_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/assignees{/user}",
"branches_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/branches{/branch}",
"tags_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/tags",
"blobs_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/statuses/{sha}",
"languages_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/languages",
"stargazers_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/stargazers",
"contributors_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/contributors",
"subscribers_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/subscribers",
"subscription_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/subscription",
"commits_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/contents/{+path}",
"compare_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/merges",
"archive_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/downloads",
"issues_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues{/number}",
"pulls_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/pulls{/number}",
"milestones_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/milestones{/number}",
"notifications_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/labels{/name}",
"releases_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/releases{/id}",
"deployments_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/deployments",
"created_at": "2013-06-06T19:25:38Z",
"updated_at": "2016-03-04T15:08:35Z",
"pushed_at": "2016-03-05T01:05:16Z",
"git_url": "git://github.com/olipo186/Git-Auto-Deploy.git",
"ssh_url": "git@github.com:olipo186/Git-Auto-Deploy.git",
"clone_url": "https://github.com/olipo186/Git-Auto-Deploy.git",
"svn_url": "https://github.com/olipo186/Git-Auto-Deploy",
"homepage": "http://olipo186.github.io/Git-Auto-Deploy/",
"size": 365,
"stargazers_count": 204,
"watchers_count": 204,
"language": "Python",
"has_issues": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": true,
"forks_count": 58,
"mirror_url": null,
"open_issues_count": 11,
"forks": 58,
"open_issues": 11,
"watchers": 204,
"default_branch": "master"
}
},
"base": {
"label": "olipo186:master",
"ref": "master",
"sha": "5b525b98a9226e1232e233fcbaea684a49c52255",
"user": {
"login": "olipo186",
"id": 1056476,
"avatar_url": "https://avatars.githubusercontent.com/u/1056476?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/olipo186",
"html_url": "https://github.com/olipo186",
"followers_url": "https://api.github.com/users/olipo186/followers",
"following_url": "https://api.github.com/users/olipo186/following{/other_user}",
"gists_url": "https://api.github.com/users/olipo186/gists{/gist_id}",
"starred_url": "https://api.github.com/users/olipo186/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/olipo186/subscriptions",
"organizations_url": "https://api.github.com/users/olipo186/orgs",
"repos_url": "https://api.github.com/users/olipo186/repos",
"events_url": "https://api.github.com/users/olipo186/events{/privacy}",
"received_events_url": "https://api.github.com/users/olipo186/received_events",
"type": "User",
"site_admin": false
},
"repo": {
"id": 10534595,
"name": "Git-Auto-Deploy",
"full_name": "olipo186/Git-Auto-Deploy",
"owner": {
"login": "olipo186",
"id": 1056476,
"avatar_url": "https://avatars.githubusercontent.com/u/1056476?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/olipo186",
"html_url": "https://github.com/olipo186",
"followers_url": "https://api.github.com/users/olipo186/followers",
"following_url": "https://api.github.com/users/olipo186/following{/other_user}",
"gists_url": "https://api.github.com/users/olipo186/gists{/gist_id}",
"starred_url": "https://api.github.com/users/olipo186/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/olipo186/subscriptions",
"organizations_url": "https://api.github.com/users/olipo186/orgs",
"repos_url": "https://api.github.com/users/olipo186/repos",
"events_url": "https://api.github.com/users/olipo186/events{/privacy}",
"received_events_url": "https://api.github.com/users/olipo186/received_events",
"type": "User",
"site_admin": false
},
"private": false,
"html_url": "https://github.com/olipo186/Git-Auto-Deploy",
"description": "Deploy your GitHub, GitLab or Bitbucket projects automatically on Git push events or webhooks using this small HTTP server written in Python. Continuous deployment in it's most simple form.",
"fork": false,
"url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy",
"forks_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/forks",
"keys_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/teams",
"hooks_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/hooks",
"issue_events_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues/events{/number}",
"events_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/events",
"assignees_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/assignees{/user}",
"branches_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/branches{/branch}",
"tags_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/tags",
"blobs_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/statuses/{sha}",
"languages_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/languages",
"stargazers_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/stargazers",
"contributors_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/contributors",
"subscribers_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/subscribers",
"subscription_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/subscription",
"commits_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/contents/{+path}",
"compare_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/merges",
"archive_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/downloads",
"issues_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues{/number}",
"pulls_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/pulls{/number}",
"milestones_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/milestones{/number}",
"notifications_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/labels{/name}",
"releases_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/releases{/id}",
"deployments_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/deployments",
"created_at": "2013-06-06T19:25:38Z",
"updated_at": "2016-03-04T15:08:35Z",
"pushed_at": "2016-03-05T01:05:16Z",
"git_url": "git://github.com/olipo186/Git-Auto-Deploy.git",
"ssh_url": "git@github.com:olipo186/Git-Auto-Deploy.git",
"clone_url": "https://github.com/olipo186/Git-Auto-Deploy.git",
"svn_url": "https://github.com/olipo186/Git-Auto-Deploy",
"homepage": "http://olipo186.github.io/Git-Auto-Deploy/",
"size": 365,
"stargazers_count": 204,
"watchers_count": 204,
"language": "Python",
"has_issues": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": true,
"forks_count": 58,
"mirror_url": null,
"open_issues_count": 11,
"forks": 58,
"open_issues": 11,
"watchers": 204,
"default_branch": "master"
}
},
"_links": {
"self": {
"href": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/pulls/69"
},
"html": {
"href": "https://github.com/olipo186/Git-Auto-Deploy/pull/69"
},
"issue": {
"href": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues/69"
},
"comments": {
"href": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues/69/comments"
},
"review_comments": {
"href": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/pulls/69/comments"
},
"review_comment": {
"href": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/pulls/comments{/number}"
},
"commits": {
"href": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/pulls/69/commits"
},
"statuses": {
"href": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/statuses/fd16c583425112d8d3be350fe40de5cae17f35c6"
}
},
"merged": true,
"mergeable": null,
"mergeable_state": "unknown",
"merged_by": {
"login": "olipo186",
"id": 1056476,
"avatar_url": "https://avatars.githubusercontent.com/u/1056476?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/olipo186",
"html_url": "https://github.com/olipo186",
"followers_url": "https://api.github.com/users/olipo186/followers",
"following_url": "https://api.github.com/users/olipo186/following{/other_user}",
"gists_url": "https://api.github.com/users/olipo186/gists{/gist_id}",
"starred_url": "https://api.github.com/users/olipo186/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/olipo186/subscriptions",
"organizations_url": "https://api.github.com/users/olipo186/orgs",
"repos_url": "https://api.github.com/users/olipo186/repos",
"events_url": "https://api.github.com/users/olipo186/events{/privacy}",
"received_events_url": "https://api.github.com/users/olipo186/received_events",
"type": "User",
"site_admin": false
},
"comments": 0,
"review_comments": 0,
"commits": 2,
"additions": 139,
"deletions": 88,
"changed_files": 5
},
"repository": {
"id": 10534595,
"name": "Git-Auto-Deploy",
"full_name": "olipo186/Git-Auto-Deploy",
"owner": {
"login": "olipo186",
"id": 1056476,
"avatar_url": "https://avatars.githubusercontent.com/u/1056476?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/olipo186",
"html_url": "https://github.com/olipo186",
"followers_url": "https://api.github.com/users/olipo186/followers",
"following_url": "https://api.github.com/users/olipo186/following{/other_user}",
"gists_url": "https://api.github.com/users/olipo186/gists{/gist_id}",
"starred_url": "https://api.github.com/users/olipo186/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/olipo186/subscriptions",
"organizations_url": "https://api.github.com/users/olipo186/orgs",
"repos_url": "https://api.github.com/users/olipo186/repos",
"events_url": "https://api.github.com/users/olipo186/events{/privacy}",
"received_events_url": "https://api.github.com/users/olipo186/received_events",
"type": "User",
"site_admin": false
},
"private": false,
"html_url": "https://github.com/olipo186/Git-Auto-Deploy",
"description": "Deploy your GitHub, GitLab or Bitbucket projects automatically on Git push events or webhooks using this small HTTP server written in Python. Continuous deployment in it's most simple form.",
"fork": false,
"url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy",
"forks_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/forks",
"keys_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/teams",
"hooks_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/hooks",
"issue_events_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues/events{/number}",
"events_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/events",
"assignees_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/assignees{/user}",
"branches_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/branches{/branch}",
"tags_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/tags",
"blobs_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/statuses/{sha}",
"languages_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/languages",
"stargazers_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/stargazers",
"contributors_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/contributors",
"subscribers_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/subscribers",
"subscription_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/subscription",
"commits_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/contents/{+path}",
"compare_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/merges",
"archive_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/downloads",
"issues_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues{/number}",
"pulls_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/pulls{/number}",
"milestones_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/milestones{/number}",
"notifications_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/labels{/name}",
"releases_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/releases{/id}",
"deployments_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/deployments",
"created_at": "2013-06-06T19:25:38Z",
"updated_at": "2016-03-04T15:08:35Z",
"pushed_at": "2016-03-05T01:05:16Z",
"git_url": "git://github.com/olipo186/Git-Auto-Deploy.git",
"ssh_url": "git@github.com:olipo186/Git-Auto-Deploy.git",
"clone_url": "https://github.com/olipo186/Git-Auto-Deploy.git",
"svn_url": "https://github.com/olipo186/Git-Auto-Deploy",
"homepage": "http://olipo186.github.io/Git-Auto-Deploy/",
"size": 365,
"stargazers_count": 204,
"watchers_count": 204,
"language": "Python",
"has_issues": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": true,
"forks_count": 58,
"mirror_url": null,
"open_issues_count": 11,
"forks": 58,
"open_issues": 11,
"watchers": 204,
"default_branch": "master"
},
"sender": {
"login": "olipo186",
"id": 1056476,
"avatar_url": "https://avatars.githubusercontent.com/u/1056476?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/olipo186",
"html_url": "https://github.com/olipo186",
"followers_url": "https://api.github.com/users/olipo186/followers",
"following_url": "https://api.github.com/users/olipo186/following{/other_user}",
"gists_url": "https://api.github.com/users/olipo186/gists{/gist_id}",
"starred_url": "https://api.github.com/users/olipo186/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/olipo186/subscriptions",
"organizations_url": "https://api.github.com/users/olipo186/orgs",
"repos_url": "https://api.github.com/users/olipo186/repos",
"events_url": "https://api.github.com/users/olipo186/events{/privacy}",
"received_events_url": "https://api.github.com/users/olipo186/received_events",
"type": "User",
"site_admin": false
}
}
}
@@ -0,0 +1,447 @@
{
"config": {
"branch": "master",
"deploy": "echo test!",
"remote": "origin",
"url": "https://github.com/olipo186/Git-Auto-Deploy.git",
"payload-filter": [
{
"action": "opened",
"pull_request.user.login": "olipo186"
}
]
},
"expected": {
"status": 200,
"data": [
{
"deploy": 0
}
]
},
"headers": {
"accept": "*/*",
"content-length": "6602",
"content-type": "application/json",
"host": "host:8001",
"user-agent": "GitHub-Hookshot/e4028f5",
"x-github-delivery": "xxx",
"x-github-event": "pull_request",
"x-hub-signature": "xxx"
},
"payload": {
"action": "opened",
"number": 69,
"pull_request": {
"url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/pulls/69",
"id": 61793882,
"html_url": "https://github.com/olipo186/Git-Auto-Deploy/pull/69",
"diff_url": "https://github.com/olipo186/Git-Auto-Deploy/pull/69.diff",
"patch_url": "https://github.com/olipo186/Git-Auto-Deploy/pull/69.patch",
"issue_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues/69",
"number": 69,
"state": "open",
"locked": false,
"title": "Refactoring. Fixed some imminent issues.",
"user": {
"login": "olipo186",
"id": 1056476,
"avatar_url": "https://avatars.githubusercontent.com/u/1056476?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/olipo186",
"html_url": "https://github.com/olipo186",
"followers_url": "https://api.github.com/users/olipo186/followers",
"following_url": "https://api.github.com/users/olipo186/following{/other_user}",
"gists_url": "https://api.github.com/users/olipo186/gists{/gist_id}",
"starred_url": "https://api.github.com/users/olipo186/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/olipo186/subscriptions",
"organizations_url": "https://api.github.com/users/olipo186/orgs",
"repos_url": "https://api.github.com/users/olipo186/repos",
"events_url": "https://api.github.com/users/olipo186/events{/privacy}",
"received_events_url": "https://api.github.com/users/olipo186/received_events",
"type": "User",
"site_admin": false
},
"body": "",
"created_at": "2016-03-05T01:05:00Z",
"updated_at": "2016-03-05T01:05:01Z",
"closed_at": null,
"merged_at": null,
"merge_commit_sha": "eac02076546716660d7b9ad7a354172257012035",
"assignee": null,
"milestone": null,
"commits_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/pulls/69/commits",
"review_comments_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/pulls/69/comments",
"review_comment_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/pulls/comments{/number}",
"comments_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues/69/comments",
"statuses_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/statuses/fd16c583425112d8d3be350fe40de5cae17f35c6",
"head": {
"label": "olipo186:development",
"ref": "development",
"sha": "fd16c583425112d8d3be350fe40de5cae17f35c6",
"user": {
"login": "olipo186",
"id": 1056476,
"avatar_url": "https://avatars.githubusercontent.com/u/1056476?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/olipo186",
"html_url": "https://github.com/olipo186",
"followers_url": "https://api.github.com/users/olipo186/followers",
"following_url": "https://api.github.com/users/olipo186/following{/other_user}",
"gists_url": "https://api.github.com/users/olipo186/gists{/gist_id}",
"starred_url": "https://api.github.com/users/olipo186/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/olipo186/subscriptions",
"organizations_url": "https://api.github.com/users/olipo186/orgs",
"repos_url": "https://api.github.com/users/olipo186/repos",
"events_url": "https://api.github.com/users/olipo186/events{/privacy}",
"received_events_url": "https://api.github.com/users/olipo186/received_events",
"type": "User",
"site_admin": false
},
"repo": {
"id": 10534595,
"name": "Git-Auto-Deploy",
"full_name": "olipo186/Git-Auto-Deploy",
"owner": {
"login": "olipo186",
"id": 1056476,
"avatar_url": "https://avatars.githubusercontent.com/u/1056476?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/olipo186",
"html_url": "https://github.com/olipo186",
"followers_url": "https://api.github.com/users/olipo186/followers",
"following_url": "https://api.github.com/users/olipo186/following{/other_user}",
"gists_url": "https://api.github.com/users/olipo186/gists{/gist_id}",
"starred_url": "https://api.github.com/users/olipo186/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/olipo186/subscriptions",
"organizations_url": "https://api.github.com/users/olipo186/orgs",
"repos_url": "https://api.github.com/users/olipo186/repos",
"events_url": "https://api.github.com/users/olipo186/events{/privacy}",
"received_events_url": "https://api.github.com/users/olipo186/received_events",
"type": "User",
"site_admin": false
},
"private": false,
"html_url": "https://github.com/olipo186/Git-Auto-Deploy",
"description": "Deploy your GitHub, GitLab or Bitbucket projects automatically on Git push events or webhooks using this small HTTP server written in Python. Continuous deployment in it's most simple form.",
"fork": false,
"url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy",
"forks_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/forks",
"keys_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/teams",
"hooks_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/hooks",
"issue_events_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues/events{/number}",
"events_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/events",
"assignees_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/assignees{/user}",
"branches_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/branches{/branch}",
"tags_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/tags",
"blobs_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/statuses/{sha}",
"languages_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/languages",
"stargazers_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/stargazers",
"contributors_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/contributors",
"subscribers_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/subscribers",
"subscription_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/subscription",
"commits_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/contents/{+path}",
"compare_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/merges",
"archive_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/downloads",
"issues_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues{/number}",
"pulls_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/pulls{/number}",
"milestones_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/milestones{/number}",
"notifications_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/labels{/name}",
"releases_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/releases{/id}",
"deployments_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/deployments",
"created_at": "2013-06-06T19:25:38Z",
"updated_at": "2016-03-04T15:08:35Z",
"pushed_at": "2016-03-05T01:05:01Z",
"git_url": "git://github.com/olipo186/Git-Auto-Deploy.git",
"ssh_url": "git@github.com:olipo186/Git-Auto-Deploy.git",
"clone_url": "https://github.com/olipo186/Git-Auto-Deploy.git",
"svn_url": "https://github.com/olipo186/Git-Auto-Deploy",
"homepage": "http://olipo186.github.io/Git-Auto-Deploy/",
"size": 365,
"stargazers_count": 204,
"watchers_count": 204,
"language": "Python",
"has_issues": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": true,
"forks_count": 58,
"mirror_url": null,
"open_issues_count": 12,
"forks": 58,
"open_issues": 12,
"watchers": 204,
"default_branch": "master"
}
},
"base": {
"label": "olipo186:master",
"ref": "master",
"sha": "5b525b98a9226e1232e233fcbaea684a49c52255",
"user": {
"login": "olipo186",
"id": 1056476,
"avatar_url": "https://avatars.githubusercontent.com/u/1056476?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/olipo186",
"html_url": "https://github.com/olipo186",
"followers_url": "https://api.github.com/users/olipo186/followers",
"following_url": "https://api.github.com/users/olipo186/following{/other_user}",
"gists_url": "https://api.github.com/users/olipo186/gists{/gist_id}",
"starred_url": "https://api.github.com/users/olipo186/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/olipo186/subscriptions",
"organizations_url": "https://api.github.com/users/olipo186/orgs",
"repos_url": "https://api.github.com/users/olipo186/repos",
"events_url": "https://api.github.com/users/olipo186/events{/privacy}",
"received_events_url": "https://api.github.com/users/olipo186/received_events",
"type": "User",
"site_admin": false
},
"repo": {
"id": 10534595,
"name": "Git-Auto-Deploy",
"full_name": "olipo186/Git-Auto-Deploy",
"owner": {
"login": "olipo186",
"id": 1056476,
"avatar_url": "https://avatars.githubusercontent.com/u/1056476?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/olipo186",
"html_url": "https://github.com/olipo186",
"followers_url": "https://api.github.com/users/olipo186/followers",
"following_url": "https://api.github.com/users/olipo186/following{/other_user}",
"gists_url": "https://api.github.com/users/olipo186/gists{/gist_id}",
"starred_url": "https://api.github.com/users/olipo186/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/olipo186/subscriptions",
"organizations_url": "https://api.github.com/users/olipo186/orgs",
"repos_url": "https://api.github.com/users/olipo186/repos",
"events_url": "https://api.github.com/users/olipo186/events{/privacy}",
"received_events_url": "https://api.github.com/users/olipo186/received_events",
"type": "User",
"site_admin": false
},
"private": false,
"html_url": "https://github.com/olipo186/Git-Auto-Deploy",
"description": "Deploy your GitHub, GitLab or Bitbucket projects automatically on Git push events or webhooks using this small HTTP server written in Python. Continuous deployment in it's most simple form.",
"fork": false,
"url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy",
"forks_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/forks",
"keys_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/teams",
"hooks_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/hooks",
"issue_events_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues/events{/number}",
"events_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/events",
"assignees_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/assignees{/user}",
"branches_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/branches{/branch}",
"tags_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/tags",
"blobs_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/statuses/{sha}",
"languages_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/languages",
"stargazers_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/stargazers",
"contributors_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/contributors",
"subscribers_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/subscribers",
"subscription_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/subscription",
"commits_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/contents/{+path}",
"compare_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/merges",
"archive_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/downloads",
"issues_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues{/number}",
"pulls_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/pulls{/number}",
"milestones_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/milestones{/number}",
"notifications_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/labels{/name}",
"releases_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/releases{/id}",
"deployments_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/deployments",
"created_at": "2013-06-06T19:25:38Z",
"updated_at": "2016-03-04T15:08:35Z",
"pushed_at": "2016-03-05T01:05:01Z",
"git_url": "git://github.com/olipo186/Git-Auto-Deploy.git",
"ssh_url": "git@github.com:olipo186/Git-Auto-Deploy.git",
"clone_url": "https://github.com/olipo186/Git-Auto-Deploy.git",
"svn_url": "https://github.com/olipo186/Git-Auto-Deploy",
"homepage": "http://olipo186.github.io/Git-Auto-Deploy/",
"size": 365,
"stargazers_count": 204,
"watchers_count": 204,
"language": "Python",
"has_issues": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": true,
"forks_count": 58,
"mirror_url": null,
"open_issues_count": 12,
"forks": 58,
"open_issues": 12,
"watchers": 204,
"default_branch": "master"
}
},
"_links": {
"self": {
"href": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/pulls/69"
},
"html": {
"href": "https://github.com/olipo186/Git-Auto-Deploy/pull/69"
},
"issue": {
"href": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues/69"
},
"comments": {
"href": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues/69/comments"
},
"review_comments": {
"href": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/pulls/69/comments"
},
"review_comment": {
"href": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/pulls/comments{/number}"
},
"commits": {
"href": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/pulls/69/commits"
},
"statuses": {
"href": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/statuses/fd16c583425112d8d3be350fe40de5cae17f35c6"
}
},
"merged": false,
"mergeable": true,
"mergeable_state": "clean",
"merged_by": null,
"comments": 0,
"review_comments": 0,
"commits": 2,
"additions": 139,
"deletions": 88,
"changed_files": 5
},
"repository": {
"id": 10534595,
"name": "Git-Auto-Deploy",
"full_name": "olipo186/Git-Auto-Deploy",
"owner": {
"login": "olipo186",
"id": 1056476,
"avatar_url": "https://avatars.githubusercontent.com/u/1056476?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/olipo186",
"html_url": "https://github.com/olipo186",
"followers_url": "https://api.github.com/users/olipo186/followers",
"following_url": "https://api.github.com/users/olipo186/following{/other_user}",
"gists_url": "https://api.github.com/users/olipo186/gists{/gist_id}",
"starred_url": "https://api.github.com/users/olipo186/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/olipo186/subscriptions",
"organizations_url": "https://api.github.com/users/olipo186/orgs",
"repos_url": "https://api.github.com/users/olipo186/repos",
"events_url": "https://api.github.com/users/olipo186/events{/privacy}",
"received_events_url": "https://api.github.com/users/olipo186/received_events",
"type": "User",
"site_admin": false
},
"private": false,
"html_url": "https://github.com/olipo186/Git-Auto-Deploy",
"description": "Deploy your GitHub, GitLab or Bitbucket projects automatically on Git push events or webhooks using this small HTTP server written in Python. Continuous deployment in it's most simple form.",
"fork": false,
"url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy",
"forks_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/forks",
"keys_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/teams",
"hooks_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/hooks",
"issue_events_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues/events{/number}",
"events_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/events",
"assignees_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/assignees{/user}",
"branches_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/branches{/branch}",
"tags_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/tags",
"blobs_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/statuses/{sha}",
"languages_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/languages",
"stargazers_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/stargazers",
"contributors_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/contributors",
"subscribers_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/subscribers",
"subscription_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/subscription",
"commits_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/contents/{+path}",
"compare_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/merges",
"archive_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/downloads",
"issues_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues{/number}",
"pulls_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/pulls{/number}",
"milestones_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/milestones{/number}",
"notifications_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/labels{/name}",
"releases_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/releases{/id}",
"deployments_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/deployments",
"created_at": "2013-06-06T19:25:38Z",
"updated_at": "2016-03-04T15:08:35Z",
"pushed_at": "2016-03-05T01:05:01Z",
"git_url": "git://github.com/olipo186/Git-Auto-Deploy.git",
"ssh_url": "git@github.com:olipo186/Git-Auto-Deploy.git",
"clone_url": "https://github.com/olipo186/Git-Auto-Deploy.git",
"svn_url": "https://github.com/olipo186/Git-Auto-Deploy",
"homepage": "http://olipo186.github.io/Git-Auto-Deploy/",
"size": 365,
"stargazers_count": 204,
"watchers_count": 204,
"language": "Python",
"has_issues": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": true,
"forks_count": 58,
"mirror_url": null,
"open_issues_count": 12,
"forks": 58,
"open_issues": 12,
"watchers": 204,
"default_branch": "master"
},
"sender": {
"login": "olipo186",
"id": 1056476,
"avatar_url": "https://avatars.githubusercontent.com/u/1056476?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/olipo186",
"html_url": "https://github.com/olipo186",
"followers_url": "https://api.github.com/users/olipo186/followers",
"following_url": "https://api.github.com/users/olipo186/following{/other_user}",
"gists_url": "https://api.github.com/users/olipo186/gists{/gist_id}",
"starred_url": "https://api.github.com/users/olipo186/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/olipo186/subscriptions",
"organizations_url": "https://api.github.com/users/olipo186/orgs",
"repos_url": "https://api.github.com/users/olipo186/repos",
"events_url": "https://api.github.com/users/olipo186/events{/privacy}",
"received_events_url": "https://api.github.com/users/olipo186/received_events",
"type": "User",
"site_admin": false
}
}
}
@@ -0,0 +1,182 @@
{
"config": {
"branch": "master",
"deploy": "echo test!",
"remote": "origin",
"url": "https://github.com/olipo186/Git-Auto-Deploy.git"
},
"expected": {
"status": 200,
"data": [
{
"deploy": 0
}
]
},
"headers": {
"accept": "*/*",
"content-length": "6602",
"content-type": "application/json",
"host": "host:8001",
"user-agent": "GitHub-Hookshot/e4028f5",
"x-github-delivery": "xxx",
"x-github-event": "push",
"x-hub-signature": "xxx"
},
"payload": {
"after": "b60ff44438d884b200d70de9c45fec5a15f2c0fa",
"base_ref": null,
"before": "6aa6dd514d5b80c9f36fec6c56d4094fd182de61",
"commits": [
{
"added": [],
"author": {
"email": "oliver@poignant.se",
"name": "Oliver Poignant",
"username": "olipo186"
},
"committer": {
"email": "oliver@poignant.se",
"name": "Oliver Poignant",
"username": "olipo186"
},
"distinct": true,
"id": "b60ff44438d884b200d70de9c45fec5a15f2c0fa",
"message": "Updated docs",
"modified": [
"gitautodeploy/httpserver.py"
],
"removed": [],
"timestamp": "2016-05-08T00:08:09+02:00",
"tree_id": "af9230d6223d6f6849b0f86ff7b5bef8b777a85b",
"url": "https://github.com/olipo186/Git-Auto-Deploy/commit/b60ff44438d884b200d70de9c45fec5a15f2c0fa"
}
],
"compare": "https://github.com/olipo186/Git-Auto-Deploy/compare/6aa6dd514d5b...b60ff44438d8",
"created": false,
"deleted": false,
"forced": false,
"head_commit": {
"added": [],
"author": {
"email": "oliver@poignant.se",
"name": "Oliver Poignant",
"username": "olipo186"
},
"committer": {
"email": "oliver@poignant.se",
"name": "Oliver Poignant",
"username": "olipo186"
},
"distinct": true,
"id": "b60ff44438d884b200d70de9c45fec5a15f2c0fa",
"message": "Updated docs",
"modified": [
"gitautodeploy/httpserver.py"
],
"removed": [],
"timestamp": "2016-05-08T00:08:09+02:00",
"tree_id": "af9230d6223d6f6849b0f86ff7b5bef8b777a85b",
"url": "https://github.com/olipo186/Git-Auto-Deploy/commit/b60ff44438d884b200d70de9c45fec5a15f2c0fa"
},
"pusher": {
"email": "oliver@poignant.se",
"name": "olipo186"
},
"ref": "refs/heads/master",
"repository": {
"archive_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/{archive_format}{/ref}",
"assignees_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/assignees{/user}",
"blobs_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/blobs{/sha}",
"branches_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/branches{/branch}",
"clone_url": "https://github.com/olipo186/Git-Auto-Deploy.git",
"collaborators_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/collaborators{/collaborator}",
"comments_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/comments{/number}",
"commits_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/commits{/sha}",
"compare_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/compare/{base}...{head}",
"contents_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/contents/{+path}",
"contributors_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/contributors",
"created_at": 1370546738,
"default_branch": "master",
"deployments_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/deployments",
"description": "Deploy your GitHub, GitLab or Bitbucket projects automatically on Git push events or webhooks using this small HTTP server written in Python. Continuous deployment in it's most simple form.",
"downloads_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/downloads",
"events_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/events",
"fork": false,
"forks": 71,
"forks_count": 71,
"forks_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/forks",
"full_name": "olipo186/Git-Auto-Deploy",
"git_commits_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/commits{/sha}",
"git_refs_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/refs{/sha}",
"git_tags_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/tags{/sha}",
"git_url": "git://github.com/olipo186/Git-Auto-Deploy.git",
"has_downloads": true,
"has_issues": true,
"has_pages": true,
"has_wiki": true,
"homepage": "http://olipo186.github.io/Git-Auto-Deploy/",
"hooks_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/hooks",
"html_url": "https://github.com/olipo186/Git-Auto-Deploy",
"id": 10534595,
"issue_comment_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues/comments{/number}",
"issue_events_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues/events{/number}",
"issues_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues{/number}",
"keys_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/keys{/key_id}",
"labels_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/labels{/name}",
"language": "Python",
"languages_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/languages",
"master_branch": "master",
"merges_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/merges",
"milestones_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/milestones{/number}",
"mirror_url": null,
"name": "Git-Auto-Deploy",
"notifications_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/notifications{?since,all,participating}",
"open_issues": 9,
"open_issues_count": 9,
"owner": {
"email": "oliver@poignant.se",
"name": "olipo186"
},
"private": false,
"pulls_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/pulls{/number}",
"pushed_at": 1462658898,
"releases_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/releases{/id}",
"size": 502,
"ssh_url": "git@github.com:olipo186/Git-Auto-Deploy.git",
"stargazers": 259,
"stargazers_count": 259,
"stargazers_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/stargazers",
"statuses_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/statuses/{sha}",
"subscribers_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/subscribers",
"subscription_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/subscription",
"svn_url": "https://github.com/olipo186/Git-Auto-Deploy",
"tags_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/tags",
"teams_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/teams",
"trees_url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy/git/trees{/sha}",
"updated_at": "2016-05-07T11:10:07Z",
"url": "https://github.com/olipo186/Git-Auto-Deploy",
"watchers": 259,
"watchers_count": 259
},
"sender": {
"avatar_url": "https://avatars.githubusercontent.com/u/1056476?v=3",
"events_url": "https://api.github.com/users/olipo186/events{/privacy}",
"followers_url": "https://api.github.com/users/olipo186/followers",
"following_url": "https://api.github.com/users/olipo186/following{/other_user}",
"gists_url": "https://api.github.com/users/olipo186/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/olipo186",
"id": 1056476,
"login": "olipo186",
"organizations_url": "https://api.github.com/users/olipo186/orgs",
"received_events_url": "https://api.github.com/users/olipo186/received_events",
"repos_url": "https://api.github.com/users/olipo186/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/olipo186/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/olipo186/subscriptions",
"type": "User",
"url": "https://api.github.com/users/olipo186"
}
}
}
@@ -0,0 +1,110 @@
{
"config": {
"branch": "master",
"deploy": "echo test!",
"remote": "origin",
"url": "http://gitlab.example.com/oliver/poignant-se.git"
},
"expected": {
"status": 200,
"data": [
{
"deploy": 0
}
]
},
"headers": {
"connection": "close",
"content-length": "2336",
"content-type": "application/json",
"host": "example.com:8001",
"x-gitlab-event": "Push Hook"
},
"payload": {
"after": "bb26e21adb5a97d3f7b45d0c29506d52793c8f3b",
"before": "fdd525130a91991648783608f9d55c359ed41abf",
"checkout_sha": "bb26e21adb5a97d3f7b45d0c29506d52793c8f3b",
"commits": [
{
"added": [],
"author": {
"email": "oliver@poignant.se",
"name": "Oliver Poignant"
},
"id": "bb26e21adb5a97d3f7b45d0c29506d52793c8f3b",
"message": "aa",
"modified": [
"README.md"
],
"removed": [],
"timestamp": "2016-04-14T00:19:23+02:00",
"url": "http://gitlab.example.com/oliver/poignant-se/commit/bb26e21adb5a97d3f7b45d0c29506d52793c8f3b"
},
{
"added": [],
"author": {
"email": "oliver@poignant.se",
"name": "Oliver Poignant"
},
"id": "dcfccd6cb19ef50c6b7e27a657f9e37bd041a913",
"message": "ss",
"modified": [
"README.md"
],
"removed": [],
"timestamp": "2016-04-14T00:18:53+02:00",
"url": "http://gitlab.example.com/oliver/poignant-se/commit/dcfccd6cb19ef50c6b7e27a657f9e37bd041a913"
},
{
"added": [],
"author": {
"email": "oliver@poignant.se",
"name": "Oliver Poignant"
},
"id": "fdd525130a91991648783608f9d55c359ed41abf",
"message": "aa",
"modified": [
"README.md"
],
"removed": [],
"timestamp": "2016-04-14T00:08:43+02:00",
"url": "http://gitlab.example.com/oliver/poignant-se/commit/fdd525130a91991648783608f9d55c359ed41abf"
}
],
"event_name": "push",
"message": null,
"object_kind": "push",
"project": {
"avatar_url": null,
"default_branch": "master",
"description": "",
"git_http_url": "http://gitlab.example.com/oliver/poignant-se.git",
"git_ssh_url": "ssh://git@example.com/oliver/poignant-se.git",
"homepage": "http://gitlab.example.com/oliver/poignant-se",
"http_url": "http://gitlab.example.com/oliver/poignant-se.git",
"name": "poignant-se",
"namespace": "oliver",
"path_with_namespace": "oliver/poignant-se",
"ssh_url": "ssh://git@example.com/oliver/poignant-se.git",
"url": "ssh://git@example.com/oliver/poignant-se.git",
"visibility_level": 0,
"web_url": "http://gitlab.example.com/oliver/poignant-se"
},
"project_id": 28,
"ref": "refs/heads/master",
"repository": {
"description": "",
"git_http_url": "http://gitlab.example.com/oliver/poignant-se.git",
"git_ssh_url": "ssh://git@example.com/oliver/poignant-se.git",
"homepage": "http://gitlab.example.com/oliver/poignant-se",
"name": "poignant-se",
"url": "ssh://git@example.com/oliver/poignant-se.git",
"visibility_level": 0
},
"total_commits_count": 3,
"user_avatar": "http://www.gravatar.com/avatar/bdf723d6a6f847ec075a6809aa4808fb?s=80&d=identicon",
"user_email": "oliver@poignant.se",
"user_id": 7,
"user_name": "Oliver Poignant"
}
}
@@ -0,0 +1,108 @@
{
"config": {
"branch": "master",
"deploy": "echo test!",
"remote": "origin",
"url": "http://gitlab.local/oliver/poignant-se.git",
"secret-token": "wrong-token"
},
"expected": {
"status": 400
},
"headers": {
"connection": "close",
"content-length": "2384",
"content-type": "application/json",
"host": "local:8001",
"x-gitlab-event": "Push Hook",
"x-gitlab-token": "my-secret-token"
},
"payload": {
"after": "d8f7e6c7a7bcdac418fac7aebb9e5c38aefca14c",
"before": "4a2f7017bbba0719158102884b88d12d0f98359d",
"checkout_sha": "d8f7e6c7a7bcdac418fac7aebb9e5c38aefca14c",
"commits": [
{
"added": [
"asjhadsjdsasssaasdsd",
"npm-debug.log"
],
"author": {
"email": "oliver@poignant.se",
"name": "Oliver Poignant"
},
"id": "d8f7e6c7a7bcdac418fac7aebb9e5c38aefca14c",
"message": "fix\n",
"modified": [],
"removed": [],
"timestamp": "2016-09-03T13:21:18+02:00",
"url": "http://gitlab.local/oliver/poignant-se/commit/d8f7e6c7a7bcdac418fac7aebb9e5c38aefca14c"
},
{
"added": [
"asjhadsjdsasssaa"
],
"author": {
"email": "oliver@poignant.se",
"name": "Oliver Poignant"
},
"id": "7948359a6837d690cadb1d9cf10d503ba6e7d85f",
"message": "fix\n",
"modified": [],
"removed": [],
"timestamp": "2016-09-03T13:19:39+02:00",
"url": "http://gitlab.local/oliver/poignant-se/commit/7948359a6837d690cadb1d9cf10d503ba6e7d85f"
},
{
"added": [
"asjhadsjdsasss"
],
"author": {
"email": "oliver@poignant.se",
"name": "Oliver Poignant"
},
"id": "4a2f7017bbba0719158102884b88d12d0f98359d",
"message": "fix\n",
"modified": [],
"removed": [],
"timestamp": "2016-09-03T13:17:43+02:00",
"url": "http://gitlab.local/oliver/poignant-se/commit/4a2f7017bbba0719158102884b88d12d0f98359d"
}
],
"event_name": "push",
"message": null,
"object_kind": "push",
"project": {
"avatar_url": null,
"default_branch": "master",
"description": "",
"git_http_url": "http://gitlab.local/oliver/poignant-se.git",
"git_ssh_url": "ssh://git@local:8810/oliver/poignant-se.git",
"homepage": "http://gitlab.local/oliver/poignant-se",
"http_url": "http://gitlab.local/oliver/poignant-se.git",
"name": "poignant-se",
"namespace": "oliver",
"path_with_namespace": "oliver/poignant-se",
"ssh_url": "ssh://git@local:8810/oliver/poignant-se.git",
"url": "ssh://git@local:8810/oliver/poignant-se.git",
"visibility_level": 0,
"web_url": "http://gitlab.local/oliver/poignant-se"
},
"project_id": 28,
"ref": "refs/heads/master",
"repository": {
"description": "",
"git_http_url": "http://gitlab.local/oliver/poignant-se.git",
"git_ssh_url": "ssh://git@local:8810/oliver/poignant-se.git",
"homepage": "http://gitlab.local/oliver/poignant-se",
"name": "poignant-se",
"url": "ssh://git@local:8810/oliver/poignant-se.git",
"visibility_level": 0
},
"total_commits_count": 3,
"user_avatar": "http://www.gravatar.com/avatar/bdf723d6a6f847ec075a6809aa4808fb?s=80&d=identicon",
"user_email": "oliver@poignant.se",
"user_id": 7,
"user_name": "Oliver Poignant"
}
}
@@ -0,0 +1,113 @@
{
"config": {
"branch": "master",
"deploy": "echo test!",
"remote": "origin",
"url": "http://gitlab.local/oliver/poignant-se.git",
"secret-token": "my-secret-token"
},
"expected": {
"status": 200,
"data": [
{
"deploy": 0
}
]
},
"headers": {
"connection": "close",
"content-length": "2384",
"content-type": "application/json",
"host": "local:8001",
"x-gitlab-event": "Push Hook",
"x-gitlab-token": "my-secret-token"
},
"payload": {
"after": "d8f7e6c7a7bcdac418fac7aebb9e5c38aefca14c",
"before": "4a2f7017bbba0719158102884b88d12d0f98359d",
"checkout_sha": "d8f7e6c7a7bcdac418fac7aebb9e5c38aefca14c",
"commits": [
{
"added": [
"asjhadsjdsasssaasdsd",
"npm-debug.log"
],
"author": {
"email": "oliver@poignant.se",
"name": "Oliver Poignant"
},
"id": "d8f7e6c7a7bcdac418fac7aebb9e5c38aefca14c",
"message": "fix\n",
"modified": [],
"removed": [],
"timestamp": "2016-09-03T13:21:18+02:00",
"url": "http://gitlab.local/oliver/poignant-se/commit/d8f7e6c7a7bcdac418fac7aebb9e5c38aefca14c"
},
{
"added": [
"asjhadsjdsasssaa"
],
"author": {
"email": "oliver@poignant.se",
"name": "Oliver Poignant"
},
"id": "7948359a6837d690cadb1d9cf10d503ba6e7d85f",
"message": "fix\n",
"modified": [],
"removed": [],
"timestamp": "2016-09-03T13:19:39+02:00",
"url": "http://gitlab.local/oliver/poignant-se/commit/7948359a6837d690cadb1d9cf10d503ba6e7d85f"
},
{
"added": [
"asjhadsjdsasss"
],
"author": {
"email": "oliver@poignant.se",
"name": "Oliver Poignant"
},
"id": "4a2f7017bbba0719158102884b88d12d0f98359d",
"message": "fix\n",
"modified": [],
"removed": [],
"timestamp": "2016-09-03T13:17:43+02:00",
"url": "http://gitlab.local/oliver/poignant-se/commit/4a2f7017bbba0719158102884b88d12d0f98359d"
}
],
"event_name": "push",
"message": null,
"object_kind": "push",
"project": {
"avatar_url": null,
"default_branch": "master",
"description": "",
"git_http_url": "http://gitlab.local/oliver/poignant-se.git",
"git_ssh_url": "ssh://git@local:8810/oliver/poignant-se.git",
"homepage": "http://gitlab.local/oliver/poignant-se",
"http_url": "http://gitlab.local/oliver/poignant-se.git",
"name": "poignant-se",
"namespace": "oliver",
"path_with_namespace": "oliver/poignant-se",
"ssh_url": "ssh://git@local:8810/oliver/poignant-se.git",
"url": "ssh://git@local:8810/oliver/poignant-se.git",
"visibility_level": 0,
"web_url": "http://gitlab.local/oliver/poignant-se"
},
"project_id": 28,
"ref": "refs/heads/master",
"repository": {
"description": "",
"git_http_url": "http://gitlab.local/oliver/poignant-se.git",
"git_ssh_url": "ssh://git@local:8810/oliver/poignant-se.git",
"homepage": "http://gitlab.local/oliver/poignant-se",
"name": "poignant-se",
"url": "ssh://git@local:8810/oliver/poignant-se.git",
"visibility_level": 0
},
"total_commits_count": 3,
"user_avatar": "http://www.gravatar.com/avatar/bdf723d6a6f847ec075a6809aa4808fb?s=80&d=identicon",
"user_email": "oliver@poignant.se",
"user_id": 7,
"user_name": "Oliver Poignant"
}
}