{"action":"created","comment":{"url":"https://api.github.com/repos/resin-os/resin-raspberrypi/pulls/comments/107131870","pull_request_review_id":28083871,"id":107131870,"diff_hunk":"@@ -0,0 +1,38 @@\n+#!/bin/bash\n+\n+set -e\n+\n+git submodule update --init autohat\n+cd autohat\n+export application_name=`echo $testNode | tr '[:upper:]' '[:lower:]'`","path":"tests/boardtest.sh","position":null,"original_position":7,"commit_id":"058921bd55859992ec409266d494fb61cdeb46c1","original_commit_id":"6282d48cd396a25616d48815aaf37347d6810f3c","user":{"login":"lifeeth","id":19370,"avatar_url":"https://avatars0.githubusercontent.com/u/19370?v=3","gravatar_id":"","url":"https://api.github.com/users/lifeeth","html_url":"https://github.com/lifeeth","followers_url":"https://api.github.com/users/lifeeth/followers","following_url":"https://api.github.com/users/lifeeth/following{/other_user}","gists_url":"https://api.github.com/users/lifeeth/gists{/gist_id}","starred_url":"https://api.github.com/users/lifeeth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lifeeth/subscriptions","organizations_url":"https://api.github.com/users/lifeeth/orgs","repos_url":"https://api.github.com/users/lifeeth/repos","events_url":"https://api.github.com/users/lifeeth/events{/privacy}","received_events_url":"https://api.github.com/users/lifeeth/received_events","type":"User","site_admin":false},"body":"Done!","created_at":"2017-03-21T11:33:45Z","updated_at":"2017-03-21T11:33:45Z","html_url":"https://github.com/resin-os/resin-raspberrypi/pull/85#discussion_r107131870","pull_request_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/pulls/85","_links":{"self":{"href":"https://api.github.com/repos/resin-os/resin-raspberrypi/pulls/comments/107131870"},"html":{"href":"https://github.com/resin-os/resin-raspberrypi/pull/85#discussion_r107131870"},"pull_request":{"href":"https://api.github.com/repos/resin-os/resin-raspberrypi/pulls/85"}}},"pull_request":{"url":"https://api.github.com/repos/resin-os/resin-raspberrypi/pulls/85","id":111503292,"html_url":"https://github.com/resin-os/resin-raspberrypi/pull/85","diff_url":"https://github.com/resin-os/resin-raspberrypi/pull/85.diff","patch_url":"https://github.com/resin-os/resin-raspberrypi/pull/85.patch","issue_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/issues/85","number":85,"state":"open","locked":false,"title":"tests: Enable AutoHAT tests through Jenkins","user":{"login":"lifeeth","id":19370,"avatar_url":"https://avatars0.githubusercontent.com/u/19370?v=3","gravatar_id":"","url":"https://api.github.com/users/lifeeth","html_url":"https://github.com/lifeeth","followers_url":"https://api.github.com/users/lifeeth/followers","following_url":"https://api.github.com/users/lifeeth/following{/other_user}","gists_url":"https://api.github.com/users/lifeeth/gists{/gist_id}","starred_url":"https://api.github.com/users/lifeeth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lifeeth/subscriptions","organizations_url":"https://api.github.com/users/lifeeth/orgs","repos_url":"https://api.github.com/users/lifeeth/repos","events_url":"https://api.github.com/users/lifeeth/events{/privacy}","received_events_url":"https://api.github.com/users/lifeeth/received_events","type":"User","site_admin":false},"body":"This PR adds the AutoHAT repo for automated testing on resin-raspberrypi PRs. I have currently set this up for Raspberrypi3 with Jenkins. After this PR the control on whether or not to test lies with Jenkins where testing can be enabled/disabled. Below you can see a sample run with 2 checks - One AutoHAT and then Jenkins. We can make the AutoHAT tests as required in this repo after ensuring that the infrastructure is solid.\r\n\r\nThe variables used in the script are populated from the Jenkins Job and from Jenkins AutoHAT test rig slaves ( https://github.com/resin-io/autohat-resin-jenkins/blob/master/services/run_slave.sh )\r\n\r\nThe script is meant to be run from a Jenkins Job which populates the variables needed - https://jenkins.dev.resin.io/view/Yocto/job/AutoHAT-board-Tests/\r\n\r\nCloses: https://github.com/resin-os/resinos/issues/240","created_at":"2017-03-20T08:08:02Z","updated_at":"2017-03-21T11:33:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"58a23cc0bb7d5b2e76ef9a8ad7035ecc662fdffd","assignee":{"login":"lifeeth","id":19370,"avatar_url":"https://avatars0.githubusercontent.com/u/19370?v=3","gravatar_id":"","url":"https://api.github.com/users/lifeeth","html_url":"https://github.com/lifeeth","followers_url":"https://api.github.com/users/lifeeth/followers","following_url":"https://api.github.com/users/lifeeth/following{/other_user}","gists_url":"https://api.github.com/users/lifeeth/gists{/gist_id}","starred_url":"https://api.github.com/users/lifeeth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lifeeth/subscriptions","organizations_url":"https://api.github.com/users/lifeeth/orgs","repos_url":"https://api.github.com/users/lifeeth/repos","events_url":"https://api.github.com/users/lifeeth/events{/privacy}","received_events_url":"https://api.github.com/users/lifeeth/received_events","type":"User","site_admin":false},"assignees":[{"login":"lifeeth","id":19370,"avatar_url":"https://avatars0.githubusercontent.com/u/19370?v=3","gravatar_id":"","url":"https://api.github.com/users/lifeeth","html_url":"https://github.com/lifeeth","followers_url":"https://api.github.com/users/lifeeth/followers","following_url":"https://api.github.com/users/lifeeth/following{/other_user}","gists_url":"https://api.github.com/users/lifeeth/gists{/gist_id}","starred_url":"https://api.github.com/users/lifeeth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lifeeth/subscriptions","organizations_url":"https://api.github.com/users/lifeeth/orgs","repos_url":"https://api.github.com/users/lifeeth/repos","events_url":"https://api.github.com/users/lifeeth/events{/privacy}","received_events_url":"https://api.github.com/users/lifeeth/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/pulls/85/commits","review_comments_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/pulls/85/comments","review_comment_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/issues/85/comments","statuses_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/statuses/058921bd55859992ec409266d494fb61cdeb46c1","head":{"label":"resin-os:enable_autohat_tests","ref":"enable_autohat_tests","sha":"058921bd55859992ec409266d494fb61cdeb46c1","user":{"login":"resin-os","id":16914061,"avatar_url":"https://avatars1.githubusercontent.com/u/16914061?v=3","gravatar_id":"","url":"https://api.github.com/users/resin-os","html_url":"https://github.com/resin-os","followers_url":"https://api.github.com/users/resin-os/followers","following_url":"https://api.github.com/users/resin-os/following{/other_user}","gists_url":"https://api.github.com/users/resin-os/gists{/gist_id}","starred_url":"https://api.github.com/users/resin-os/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/resin-os/subscriptions","organizations_url":"https://api.github.com/users/resin-os/orgs","repos_url":"https://api.github.com/users/resin-os/repos","events_url":"https://api.github.com/users/resin-os/events{/privacy}","received_events_url":"https://api.github.com/users/resin-os/received_events","type":"Organization","site_admin":false},"repo":{"id":49586280,"name":"resin-raspberrypi","full_name":"resin-os/resin-raspberrypi","owner":{"login":"resin-os","id":16914061,"avatar_url":"https://avatars1.githubusercontent.com/u/16914061?v=3","gravatar_id":"","url":"https://api.github.com/users/resin-os","html_url":"https://github.com/resin-os","followers_url":"https://api.github.com/users/resin-os/followers","following_url":"https://api.github.com/users/resin-os/following{/other_user}","gists_url":"https://api.github.com/users/resin-os/gists{/gist_id}","starred_url":"https://api.github.com/users/resin-os/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/resin-os/subscriptions","organizations_url":"https://api.github.com/users/resin-os/orgs","repos_url":"https://api.github.com/users/resin-os/repos","events_url":"https://api.github.com/users/resin-os/events{/privacy}","received_events_url":"https://api.github.com/users/resin-os/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/resin-os/resin-raspberrypi","description":"Resin support for RaspberryPI boards","fork":false,"url":"https://api.github.com/repos/resin-os/resin-raspberrypi","forks_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/forks","keys_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/teams","hooks_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/hooks","issue_events_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/issues/events{/number}","events_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/events","assignees_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/assignees{/user}","branches_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/branches{/branch}","tags_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/tags","blobs_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/git/refs{/sha}","trees_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/statuses/{sha}","languages_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/languages","stargazers_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/stargazers","contributors_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/contributors","subscribers_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/subscribers","subscription_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/subscription","commits_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/commits{/sha}","git_commits_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/git/commits{/sha}","comments_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/comments{/number}","issue_comment_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/issues/comments{/number}","contents_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/contents/{+path}","compare_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/merges","archive_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/downloads","issues_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/issues{/number}","pulls_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/pulls{/number}","milestones_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/milestones{/number}","notifications_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/labels{/name}","releases_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/releases{/id}","deployments_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/deployments","created_at":"2016-01-13T16:29:46Z","updated_at":"2017-03-13T18:36:40Z","pushed_at":"2017-03-21T11:31:57Z","git_url":"git://github.com/resin-os/resin-raspberrypi.git","ssh_url":"git@github.com:resin-os/resin-raspberrypi.git","clone_url":"https://github.com/resin-os/resin-raspberrypi.git","svn_url":"https://github.com/resin-os/resin-raspberrypi","homepage":null,"size":425,"stargazers_count":19,"watchers_count":19,"language":"CoffeeScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":1,"forks":5,"open_issues":1,"watchers":19,"default_branch":"master"}},"base":{"label":"resin-os:master","ref":"master","sha":"58ada1034aaa891e13e1bdd7e3b70e89b4d85300","user":{"login":"resin-os","id":16914061,"avatar_url":"https://avatars1.githubusercontent.com/u/16914061?v=3","gravatar_id":"","url":"https://api.github.com/users/resin-os","html_url":"https://github.com/resin-os","followers_url":"https://api.github.com/users/resin-os/followers","following_url":"https://api.github.com/users/resin-os/following{/other_user}","gists_url":"https://api.github.com/users/resin-os/gists{/gist_id}","starred_url":"https://api.github.com/users/resin-os/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/resin-os/subscriptions","organizations_url":"https://api.github.com/users/resin-os/orgs","repos_url":"https://api.github.com/users/resin-os/repos","events_url":"https://api.github.com/users/resin-os/events{/privacy}","received_events_url":"https://api.github.com/users/resin-os/received_events","type":"Organization","site_admin":false},"repo":{"id":49586280,"name":"resin-raspberrypi","full_name":"resin-os/resin-raspberrypi","owner":{"login":"resin-os","id":16914061,"avatar_url":"https://avatars1.githubusercontent.com/u/16914061?v=3","gravatar_id":"","url":"https://api.github.com/users/resin-os","html_url":"https://github.com/resin-os","followers_url":"https://api.github.com/users/resin-os/followers","following_url":"https://api.github.com/users/resin-os/following{/other_user}","gists_url":"https://api.github.com/users/resin-os/gists{/gist_id}","starred_url":"https://api.github.com/users/resin-os/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/resin-os/subscriptions","organizations_url":"https://api.github.com/users/resin-os/orgs","repos_url":"https://api.github.com/users/resin-os/repos","events_url":"https://api.github.com/users/resin-os/events{/privacy}","received_events_url":"https://api.github.com/users/resin-os/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/resin-os/resin-raspberrypi","description":"Resin support for RaspberryPI boards","fork":false,"url":"https://api.github.com/repos/resin-os/resin-raspberrypi","forks_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/forks","keys_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/teams","hooks_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/hooks","issue_events_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/issues/events{/number}","events_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/events","assignees_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/assignees{/user}","branches_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/branches{/branch}","tags_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/tags","blobs_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/git/refs{/sha}","trees_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/statuses/{sha}","languages_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/languages","stargazers_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/stargazers","contributors_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/contributors","subscribers_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/subscribers","subscription_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/subscription","commits_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/commits{/sha}","git_commits_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/git/commits{/sha}","comments_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/comments{/number}","issue_comment_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/issues/comments{/number}","contents_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/contents/{+path}","compare_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/merges","archive_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/downloads","issues_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/issues{/number}","pulls_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/pulls{/number}","milestones_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/milestones{/number}","notifications_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/labels{/name}","releases_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/releases{/id}","deployments_url":"https://api.github.com/repos/resin-os/resin-raspberrypi/deployments","created_at":"2016-01-13T16:29:46Z","updated_at":"2017-03-13T18:36:40Z","pushed_at":"2017-03-21T11:31:57Z","git_url":"git://github.com/resin-os/resin-raspberrypi.git","ssh_url":"git@github.com:resin-os/resin-raspberrypi.git","clone_url":"https://github.com/resin-os/resin-raspberrypi.git","svn_url":"https://github.com/resin-os/resin-raspberrypi","homepage":null,"size":425,"stargazers_count":19,"watchers_count":19,"language":"CoffeeScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":1,"forks":5,"open_issues":1,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/resin-os/resin-raspberrypi/pulls/85"},"html":{"href":"https://github.com/resin-os/resin-raspberrypi/pull/85"},"issue":{"href":"https://api.github.com/repos/resin-os/resin-raspberrypi/issues/85"},"comments":{"href":"https://api.github.com/repos/resin-os/resin-raspberrypi/issues/85/comments"},"review_comments":{"href":"https://api.github.com/repos/resin-os/resin-raspberrypi/pulls/85/comments"},"review_comment":{"href":"https://api.github.com/repos/resin-os/resin-raspberrypi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/resin-os/resin-raspberrypi/pulls/85/commits"},"statuses":{"href":"https://api.github.com/repos/resin-os/resin-raspberrypi/statuses/058921bd55859992ec409266d494fb61cdeb46c1"}}}}
{"actor":{"display_login":"lifeeth"}}