Closed acka47 closed 4 years ago
Apparently there was a problem after having deployed some changes to production:
https://skohub.io/build/?id=3cf02780-c406-429f-b12f-f5b303edcaaa#10
"Payload was invalid, build not triggered" is misleading, but please try to trigger the hook again anyways.
I triggered the build again:
{
"ref": "refs/heads/master",
"before": "021c4ea3ba6a42805b2a7f2c308ae52fef3fe2a6",
"after": "079e80e6ff8dbe6a296134433a93ad0e39f07fb9",
"repository": {
"id": 222911839,
"node_id": "MDEwOlJlcG9zaXRvcnkyMjI5MTE4Mzk=",
"name": "hochschulfaechersystematik",
"full_name": "dini-ag-kim/hochschulfaechersystematik",
"private": false,
"owner": {
"name": "dini-ag-kim",
"email": null,
"login": "dini-ag-kim",
"id": 4964810,
"node_id": "MDEyOk9yZ2FuaXphdGlvbjQ5NjQ4MTA=",
"avatar_url": "https://avatars1.githubusercontent.com/u/4964810?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dini-ag-kim",
"html_url": "https://github.com/dini-ag-kim",
"followers_url": "https://api.github.com/users/dini-ag-kim/followers",
"following_url": "https://api.github.com/users/dini-ag-kim/following{/other_user}",
"gists_url": "https://api.github.com/users/dini-ag-kim/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dini-ag-kim/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dini-ag-kim/subscriptions",
"organizations_url": "https://api.github.com/users/dini-ag-kim/orgs",
"repos_url": "https://api.github.com/users/dini-ag-kim/repos",
"events_url": "https://api.github.com/users/dini-ag-kim/events{/privacy}",
"received_events_url": "https://api.github.com/users/dini-ag-kim/received_events",
"type": "Organization",
"site_admin": false
},
"html_url": "https://github.com/dini-ag-kim/hochschulfaechersystematik",
"description": "SKOS-Version der Destatis-Systematik der Fächergruppen, Studienbereiche und Studienfächer",
"fork": false,
"url": "https://github.com/dini-ag-kim/hochschulfaechersystematik",
"forks_url": "https://api.github.com/repos/dini-ag-kim/hochschulfaechersystematik/forks",
"keys_url": "https://api.github.com/repos/dini-ag-kim/hochschulfaechersystematik/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/dini-ag-kim/hochschulfaechersystematik/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/dini-ag-kim/hochschulfaechersystematik/teams",
"hooks_url": "https://api.github.com/repos/dini-ag-kim/hochschulfaechersystematik/hooks",
"issue_events_url": "https://api.github.com/repos/dini-ag-kim/hochschulfaechersystematik/issues/events{/number}",
"events_url": "https://api.github.com/repos/dini-ag-kim/hochschulfaechersystematik/events",
"assignees_url": "https://api.github.com/repos/dini-ag-kim/hochschulfaechersystematik/assignees{/user}",
"branches_url": "https://api.github.com/repos/dini-ag-kim/hochschulfaechersystematik/branches{/branch}",
"tags_url": "https://api.github.com/repos/dini-ag-kim/hochschulfaechersystematik/tags",
"blobs_url": "https://api.github.com/repos/dini-ag-kim/hochschulfaechersystematik/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/dini-ag-kim/hochschulfaechersystematik/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/dini-ag-kim/hochschulfaechersystematik/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/dini-ag-kim/hochschulfaechersystematik/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/dini-ag-kim/hochschulfaechersystematik/statuses/{sha}",
"languages_url": "https://api.github.com/repos/dini-ag-kim/hochschulfaechersystematik/languages",
"stargazers_url": "https://api.github.com/repos/dini-ag-kim/hochschulfaechersystematik/stargazers",
"contributors_url": "https://api.github.com/repos/dini-ag-kim/hochschulfaechersystematik/contributors",
"subscribers_url": "https://api.github.com/repos/dini-ag-kim/hochschulfaechersystematik/subscribers",
"subscription_url": "https://api.github.com/repos/dini-ag-kim/hochschulfaechersystematik/subscription",
"commits_url": "https://api.github.com/repos/dini-ag-kim/hochschulfaechersystematik/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/dini-ag-kim/hochschulfaechersystematik/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/dini-ag-kim/hochschulfaechersystematik/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/dini-ag-kim/hochschulfaechersystematik/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/dini-ag-kim/hochschulfaechersystematik/contents/{+path}",
"compare_url": "https://api.github.com/repos/dini-ag-kim/hochschulfaechersystematik/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/dini-ag-kim/hochschulfaechersystematik/merges",
"archive_url": "https://api.github.com/repos/dini-ag-kim/hochschulfaechersystematik/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/dini-ag-kim/hochschulfaechersystematik/downloads",
"issues_url": "https://api.github.com/repos/dini-ag-kim/hochschulfaechersystematik/issues{/number}",
"pulls_url": "https://api.github.com/repos/dini-ag-kim/hochschulfaechersystematik/pulls{/number}",
"milestones_url": "https://api.github.com/repos/dini-ag-kim/hochschulfaechersystematik/milestones{/number}",
"notifications_url": "https://api.github.com/repos/dini-ag-kim/hochschulfaechersystematik/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/dini-ag-kim/hochschulfaechersystematik/labels{/name}",
"releases_url": "https://api.github.com/repos/dini-ag-kim/hochschulfaechersystematik/releases{/id}",
"deployments_url": "https://api.github.com/repos/dini-ag-kim/hochschulfaechersystematik/deployments",
"created_at": 1574245790,
"updated_at": "2020-01-07T12:43:39Z",
"pushed_at": 1578474423,
"git_url": "git://github.com/dini-ag-kim/hochschulfaechersystematik.git",
"ssh_url": "git@github.com:dini-ag-kim/hochschulfaechersystematik.git",
"clone_url": "https://github.com/dini-ag-kim/hochschulfaechersystematik.git",
"svn_url": "https://github.com/dini-ag-kim/hochschulfaechersystematik",
"homepage": null,
"size": 93,
"stargazers_count": 0,
"watchers_count": 0,
"language": "JavaScript",
"has_issues": true,
"has_projects": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": false,
"forks_count": 1,
"mirror_url": null,
"archived": false,
"disabled": false,
"open_issues_count": 1,
"license": null,
"forks": 1,
"open_issues": 1,
"watchers": 0,
"default_branch": "master",
"stargazers": 0,
"master_branch": "master",
"organization": "dini-ag-kim"
},
"pusher": {
"name": "acka47",
"email": "acka47@users.noreply.github.com"
},
"organization": {
"login": "dini-ag-kim",
"id": 4964810,
"node_id": "MDEyOk9yZ2FuaXphdGlvbjQ5NjQ4MTA=",
"url": "https://api.github.com/orgs/dini-ag-kim",
"repos_url": "https://api.github.com/orgs/dini-ag-kim/repos",
"events_url": "https://api.github.com/orgs/dini-ag-kim/events",
"hooks_url": "https://api.github.com/orgs/dini-ag-kim/hooks",
"issues_url": "https://api.github.com/orgs/dini-ag-kim/issues",
"members_url": "https://api.github.com/orgs/dini-ag-kim/members{/member}",
"public_members_url": "https://api.github.com/orgs/dini-ag-kim/public_members{/member}",
"avatar_url": "https://avatars1.githubusercontent.com/u/4964810?v=4",
"description": null
},
"sender": {
"login": "acka47",
"id": 160292,
"node_id": "MDQ6VXNlcjE2MDI5Mg==",
"avatar_url": "https://avatars2.githubusercontent.com/u/160292?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/acka47",
"html_url": "https://github.com/acka47",
"followers_url": "https://api.github.com/users/acka47/followers",
"following_url": "https://api.github.com/users/acka47/following{/other_user}",
"gists_url": "https://api.github.com/users/acka47/gists{/gist_id}",
"starred_url": "https://api.github.com/users/acka47/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/acka47/subscriptions",
"organizations_url": "https://api.github.com/users/acka47/orgs",
"repos_url": "https://api.github.com/users/acka47/repos",
"events_url": "https://api.github.com/users/acka47/events{/privacy}",
"received_events_url": "https://api.github.com/users/acka47/received_events",
"type": "User",
"site_admin": false
},
"created": false,
"deleted": false,
"forced": false,
"base_ref": null,
"compare": "https://github.com/dini-ag-kim/hochschulfaechersystematik/compare/021c4ea3ba6a...079e80e6ff8d",
"commits": [
{
"id": "079e80e6ff8dbe6a296134433a93ad0e39f07fb9",
"tree_id": "eab740908a172e9825e1a4e65d8fd42638af6da8",
"distinct": true,
"message": "Trigger SkoHub build",
"timestamp": "2020-01-08T10:06:51+01:00",
"url": "https://github.com/dini-ag-kim/hochschulfaechersystematik/commit/079e80e6ff8dbe6a296134433a93ad0e39f07fb9",
"author": {
"name": "Adrian Pohl",
"email": "pohl@hbz-nrw.de",
"username": "acka47"
},
"committer": {
"name": "Adrian Pohl",
"email": "pohl@hbz-nrw.de",
"username": "acka47"
},
"added": [
],
"removed": [
],
"modified": [
]
}
],
"head_commit": {
"id": "079e80e6ff8dbe6a296134433a93ad0e39f07fb9",
"tree_id": "eab740908a172e9825e1a4e65d8fd42638af6da8",
"distinct": true,
"message": "Trigger SkoHub build",
"timestamp": "2020-01-08T10:06:51+01:00",
"url": "https://github.com/dini-ag-kim/hochschulfaechersystematik/commit/079e80e6ff8dbe6a296134433a93ad0e39f07fb9",
"author": {
"name": "Adrian Pohl",
"email": "pohl@hbz-nrw.de",
"username": "acka47"
},
"committer": {
"name": "Adrian Pohl",
"email": "pohl@hbz-nrw.de",
"username": "acka47"
},
"added": [
],
"removed": [
],
"modified": [
]
}
}
Headers
Connection: close
Content-Length: 40
Content-Type: text/plain; charset=utf-8
Date: Wed, 08 Jan 2020 09:07:04 GMT
Server: Apache/2.4.18 (Ubuntu)
Body
Payload was invalid, build not triggered
For reviewing I triggered new builds for test an production at https://github.com/dini-ag-kim/hochschulfaechersystematik/settings/hooks (I made you admin so you can take a look at the webhooks). The test system had a direct response 400 with "Payload was invalid, build not triggered" and production had problems building the page based on the payload, see https://skohub.io/build/?id=3cf02780-c406-429f-b12f-f5b303edcaaa. This is strange (at least for production) as it was build before on both systems (see production and test) and I did not change the file.