{"action":"opened","number":583,"pull_request":{"url":"https://api.github.com/repos/interbit/interbit/pulls/583","id":205847051,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA1ODQ3MDUx","html_url":"https://github.com/interbit/interbit/pull/583","diff_url":"https://github.com/interbit/interbit/pull/583.diff","patch_url":"https://github.com/interbit/interbit/pull/583.patch","issue_url":"https://api.github.com/repos/interbit/interbit/issues/583","number":583,"state":"open","locked":false,"title":"Integration tests","user":{"login":"nicholeous","id":3279736,"node_id":"MDQ6VXNlcjMyNzk3MzY=","avatar_url":"https://avatars1.githubusercontent.com/u/3279736?v=4","gravatar_id":"","url":"https://api.github.com/users/nicholeous","html_url":"https://github.com/nicholeous","followers_url":"https://api.github.com/users/nicholeous/followers","following_url":"https://api.github.com/users/nicholeous/following{/other_user}","gists_url":"https://api.github.com/users/nicholeous/gists{/gist_id}","starred_url":"https://api.github.com/users/nicholeous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicholeous/subscriptions","organizations_url":"https://api.github.com/users/nicholeous/orgs","repos_url":"https://api.github.com/users/nicholeous/repos","events_url":"https://api.github.com/users/nicholeous/events{/privacy}","received_events_url":"https://api.github.com/users/nicholeous/received_events","type":"User","site_admin":false},"body":"Added a set of tests that use interbit scripts programmatically. Hits most of the functionality in interbit + supporting code repos and tests our whole happy path.\r\n\r\nKept it simple and did all the file work in a tmp dir that is deleted only if all tests pass. The failing tests leave behind their failed builds/keys so we can inspect and debug. Did not docker isolate as it turned out to be unnecessary without parallelized test runs and with the local tmp dir/uuid file isolation.\r\n\r\nSingle script tests:\r\n- start\r\n- build\r\n- keys\r\n\r\nThe Happy Path\r\n- Generate a key pair\r\n  - use keyPair in config\r\n- Build the config\r\n- Use the built manifest to deploy\r\n- Verify the live chains have been configured according to the initial config file\r\n\r\nCloses #366 ","created_at":"2018-08-02T20:09:01Z","updated_at":"2018-08-02T20:09:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"nicholeous","id":3279736,"node_id":"MDQ6VXNlcjMyNzk3MzY=","avatar_url":"https://avatars1.githubusercontent.com/u/3279736?v=4","gravatar_id":"","url":"https://api.github.com/users/nicholeous","html_url":"https://github.com/nicholeous","followers_url":"https://api.github.com/users/nicholeous/followers","following_url":"https://api.github.com/users/nicholeous/following{/other_user}","gists_url":"https://api.github.com/users/nicholeous/gists{/gist_id}","starred_url":"https://api.github.com/users/nicholeous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicholeous/subscriptions","organizations_url":"https://api.github.com/users/nicholeous/orgs","repos_url":"https://api.github.com/users/nicholeous/repos","events_url":"https://api.github.com/users/nicholeous/events{/privacy}","received_events_url":"https://api.github.com/users/nicholeous/received_events","type":"User","site_admin":false},"assignees":[{"login":"nicholeous","id":3279736,"node_id":"MDQ6VXNlcjMyNzk3MzY=","avatar_url":"https://avatars1.githubusercontent.com/u/3279736?v=4","gravatar_id":"","url":"https://api.github.com/users/nicholeous","html_url":"https://github.com/nicholeous","followers_url":"https://api.github.com/users/nicholeous/followers","following_url":"https://api.github.com/users/nicholeous/following{/other_user}","gists_url":"https://api.github.com/users/nicholeous/gists{/gist_id}","starred_url":"https://api.github.com/users/nicholeous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicholeous/subscriptions","organizations_url":"https://api.github.com/users/nicholeous/orgs","repos_url":"https://api.github.com/users/nicholeous/repos","events_url":"https://api.github.com/users/nicholeous/events{/privacy}","received_events_url":"https://api.github.com/users/nicholeous/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":913896054,"node_id":"MDU6TGFiZWw5MTM4OTYwNTQ=","url":"https://api.github.com/repos/interbit/interbit/labels/infrastructure","name":"infrastructure","color":"71c2ce","default":false}],"milestone":{"url":"https://api.github.com/repos/interbit/interbit/milestones/2","html_url":"https://github.com/interbit/interbit/milestone/2","labels_url":"https://api.github.com/repos/interbit/interbit/milestones/2/labels","id":3523906,"node_id":"MDk6TWlsZXN0b25lMzUyMzkwNg==","number":2,"title":"Sprint Jul 25-Aug 7","description":"","creator":{"login":"brentbenton","id":27188364,"node_id":"MDQ6VXNlcjI3MTg4MzY0","avatar_url":"https://avatars3.githubusercontent.com/u/27188364?v=4","gravatar_id":"","url":"https://api.github.com/users/brentbenton","html_url":"https://github.com/brentbenton","followers_url":"https://api.github.com/users/brentbenton/followers","following_url":"https://api.github.com/users/brentbenton/following{/other_user}","gists_url":"https://api.github.com/users/brentbenton/gists{/gist_id}","starred_url":"https://api.github.com/users/brentbenton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brentbenton/subscriptions","organizations_url":"https://api.github.com/users/brentbenton/orgs","repos_url":"https://api.github.com/users/brentbenton/repos","events_url":"https://api.github.com/users/brentbenton/events{/privacy}","received_events_url":"https://api.github.com/users/brentbenton/received_events","type":"User","site_admin":false},"open_issues":18,"closed_issues":5,"state":"open","created_at":"2018-07-25T20:52:59Z","updated_at":"2018-08-02T20:09:01Z","due_on":"2018-08-07T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/interbit/interbit/pulls/583/commits","review_comments_url":"https://api.github.com/repos/interbit/interbit/pulls/583/comments","review_comment_url":"https://api.github.com/repos/interbit/interbit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/interbit/interbit/issues/583/comments","statuses_url":"https://api.github.com/repos/interbit/interbit/statuses/c7bb4d883c6fbbecffd68f6fdcf9e48e3dd6a6f3","head":{"label":"interbit:integration-tests","ref":"integration-tests","sha":"c7bb4d883c6fbbecffd68f6fdcf9e48e3dd6a6f3","user":{"login":"interbit","id":34113067,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0MTEzMDY3","avatar_url":"https://avatars1.githubusercontent.com/u/34113067?v=4","gravatar_id":"","url":"https://api.github.com/users/interbit","html_url":"https://github.com/interbit","followers_url":"https://api.github.com/users/interbit/followers","following_url":"https://api.github.com/users/interbit/following{/other_user}","gists_url":"https://api.github.com/users/interbit/gists{/gist_id}","starred_url":"https://api.github.com/users/interbit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/interbit/subscriptions","organizations_url":"https://api.github.com/users/interbit/orgs","repos_url":"https://api.github.com/users/interbit/repos","events_url":"https://api.github.com/users/interbit/events{/privacy}","received_events_url":"https://api.github.com/users/interbit/received_events","type":"Organization","site_admin":false},"repo":{"id":130395351,"node_id":"MDEwOlJlcG9zaXRvcnkxMzAzOTUzNTE=","name":"interbit","full_name":"interbit/interbit","owner":{"login":"interbit","id":34113067,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0MTEzMDY3","avatar_url":"https://avatars1.githubusercontent.com/u/34113067?v=4","gravatar_id":"","url":"https://api.github.com/users/interbit","html_url":"https://github.com/interbit","followers_url":"https://api.github.com/users/interbit/followers","following_url":"https://api.github.com/users/interbit/following{/other_user}","gists_url":"https://api.github.com/users/interbit/gists{/gist_id}","starred_url":"https://api.github.com/users/interbit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/interbit/subscriptions","organizations_url":"https://api.github.com/users/interbit/orgs","repos_url":"https://api.github.com/users/interbit/repos","events_url":"https://api.github.com/users/interbit/events{/privacy}","received_events_url":"https://api.github.com/users/interbit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/interbit/interbit","description":"To the end of servers","fork":false,"url":"https://api.github.com/repos/interbit/interbit","forks_url":"https://api.github.com/repos/interbit/interbit/forks","keys_url":"https://api.github.com/repos/interbit/interbit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/interbit/interbit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/interbit/interbit/teams","hooks_url":"https://api.github.com/repos/interbit/interbit/hooks","issue_events_url":"https://api.github.com/repos/interbit/interbit/issues/events{/number}","events_url":"https://api.github.com/repos/interbit/interbit/events","assignees_url":"https://api.github.com/repos/interbit/interbit/assignees{/user}","branches_url":"https://api.github.com/repos/interbit/interbit/branches{/branch}","tags_url":"https://api.github.com/repos/interbit/interbit/tags","blobs_url":"https://api.github.com/repos/interbit/interbit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/interbit/interbit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/interbit/interbit/git/refs{/sha}","trees_url":"https://api.github.com/repos/interbit/interbit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/interbit/interbit/statuses/{sha}","languages_url":"https://api.github.com/repos/interbit/interbit/languages","stargazers_url":"https://api.github.com/repos/interbit/interbit/stargazers","contributors_url":"https://api.github.com/repos/interbit/interbit/contributors","subscribers_url":"https://api.github.com/repos/interbit/interbit/subscribers","subscription_url":"https://api.github.com/repos/interbit/interbit/subscription","commits_url":"https://api.github.com/repos/interbit/interbit/commits{/sha}","git_commits_url":"https://api.github.com/repos/interbit/interbit/git/commits{/sha}","comments_url":"https://api.github.com/repos/interbit/interbit/comments{/number}","issue_comment_url":"https://api.github.com/repos/interbit/interbit/issues/comments{/number}","contents_url":"https://api.github.com/repos/interbit/interbit/contents/{+path}","compare_url":"https://api.github.com/repos/interbit/interbit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/interbit/interbit/merges","archive_url":"https://api.github.com/repos/interbit/interbit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/interbit/interbit/downloads","issues_url":"https://api.github.com/repos/interbit/interbit/issues{/number}","pulls_url":"https://api.github.com/repos/interbit/interbit/pulls{/number}","milestones_url":"https://api.github.com/repos/interbit/interbit/milestones{/number}","notifications_url":"https://api.github.com/repos/interbit/interbit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/interbit/interbit/labels{/name}","releases_url":"https://api.github.com/repos/interbit/interbit/releases{/id}","deployments_url":"https://api.github.com/repos/interbit/interbit/deployments","created_at":"2018-04-20T17:43:06Z","updated_at":"2018-08-02T19:43:59Z","pushed_at":"2018-08-02T19:44:01Z","git_url":"git://github.com/interbit/interbit.git","ssh_url":"git@github.com:interbit/interbit.git","clone_url":"https://github.com/interbit/interbit.git","svn_url":"https://github.com/interbit/interbit","homepage":"https://interbit.io","size":45511,"stargazers_count":19,"watchers_count":19,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":8,"mirror_url":null,"archived":false,"open_issues_count":252,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":8,"open_issues":252,"watchers":19,"default_branch":"master"}},"base":{"label":"interbit:master","ref":"master","sha":"0394aba043ce346506abf97d734cf82a40da311b","user":{"login":"interbit","id":34113067,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0MTEzMDY3","avatar_url":"https://avatars1.githubusercontent.com/u/34113067?v=4","gravatar_id":"","url":"https://api.github.com/users/interbit","html_url":"https://github.com/interbit","followers_url":"https://api.github.com/users/interbit/followers","following_url":"https://api.github.com/users/interbit/following{/other_user}","gists_url":"https://api.github.com/users/interbit/gists{/gist_id}","starred_url":"https://api.github.com/users/interbit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/interbit/subscriptions","organizations_url":"https://api.github.com/users/interbit/orgs","repos_url":"https://api.github.com/users/interbit/repos","events_url":"https://api.github.com/users/interbit/events{/privacy}","received_events_url":"https://api.github.com/users/interbit/received_events","type":"Organization","site_admin":false},"repo":{"id":130395351,"node_id":"MDEwOlJlcG9zaXRvcnkxMzAzOTUzNTE=","name":"interbit","full_name":"interbit/interbit","owner":{"login":"interbit","id":34113067,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0MTEzMDY3","avatar_url":"https://avatars1.githubusercontent.com/u/34113067?v=4","gravatar_id":"","url":"https://api.github.com/users/interbit","html_url":"https://github.com/interbit","followers_url":"https://api.github.com/users/interbit/followers","following_url":"https://api.github.com/users/interbit/following{/other_user}","gists_url":"https://api.github.com/users/interbit/gists{/gist_id}","starred_url":"https://api.github.com/users/interbit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/interbit/subscriptions","organizations_url":"https://api.github.com/users/interbit/orgs","repos_url":"https://api.github.com/users/interbit/repos","events_url":"https://api.github.com/users/interbit/events{/privacy}","received_events_url":"https://api.github.com/users/interbit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/interbit/interbit","description":"To the end of servers","fork":false,"url":"https://api.github.com/repos/interbit/interbit","forks_url":"https://api.github.com/repos/interbit/interbit/forks","keys_url":"https://api.github.com/repos/interbit/interbit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/interbit/interbit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/interbit/interbit/teams","hooks_url":"https://api.github.com/repos/interbit/interbit/hooks","issue_events_url":"https://api.github.com/repos/interbit/interbit/issues/events{/number}","events_url":"https://api.github.com/repos/interbit/interbit/events","assignees_url":"https://api.github.com/repos/interbit/interbit/assignees{/user}","branches_url":"https://api.github.com/repos/interbit/interbit/branches{/branch}","tags_url":"https://api.github.com/repos/interbit/interbit/tags","blobs_url":"https://api.github.com/repos/interbit/interbit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/interbit/interbit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/interbit/interbit/git/refs{/sha}","trees_url":"https://api.github.com/repos/interbit/interbit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/interbit/interbit/statuses/{sha}","languages_url":"https://api.github.com/repos/interbit/interbit/languages","stargazers_url":"https://api.github.com/repos/interbit/interbit/stargazers","contributors_url":"https://api.github.com/repos/interbit/interbit/contributors","subscribers_url":"https://api.github.com/repos/interbit/interbit/subscribers","subscription_url":"https://api.github.com/repos/interbit/interbit/subscription","commits_url":"https://api.github.com/repos/interbit/interbit/commits{/sha}","git_commits_url":"https://api.github.com/repos/interbit/interbit/git/commits{/sha}","comments_url":"https://api.github.com/repos/interbit/interbit/comments{/number}","issue_comment_url":"https://api.github.com/repos/interbit/interbit/issues/comments{/number}","contents_url":"https://api.github.com/repos/interbit/interbit/contents/{+path}","compare_url":"https://api.github.com/repos/interbit/interbit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/interbit/interbit/merges","archive_url":"https://api.github.com/repos/interbit/interbit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/interbit/interbit/downloads","issues_url":"https://api.github.com/repos/interbit/interbit/issues{/number}","pulls_url":"https://api.github.com/repos/interbit/interbit/pulls{/number}","milestones_url":"https://api.github.com/repos/interbit/interbit/milestones{/number}","notifications_url":"https://api.github.com/repos/interbit/interbit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/interbit/interbit/labels{/name}","releases_url":"https://api.github.com/repos/interbit/interbit/releases{/id}","deployments_url":"https://api.github.com/repos/interbit/interbit/deployments","created_at":"2018-04-20T17:43:06Z","updated_at":"2018-08-02T19:43:59Z","pushed_at":"2018-08-02T19:44:01Z","git_url":"git://github.com/interbit/interbit.git","ssh_url":"git@github.com:interbit/interbit.git","clone_url":"https://github.com/interbit/interbit.git","svn_url":"https://github.com/interbit/interbit","homepage":"https://interbit.io","size":45511,"stargazers_count":19,"watchers_count":19,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":8,"mirror_url":null,"archived":false,"open_issues_count":252,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":8,"open_issues":252,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/interbit/interbit/pulls/583"},"html":{"href":"https://github.com/interbit/interbit/pull/583"},"issue":{"href":"https://api.github.com/repos/interbit/interbit/issues/583"},"comments":{"href":"https://api.github.com/repos/interbit/interbit/issues/583/comments"},"review_comments":{"href":"https://api.github.com/repos/interbit/interbit/pulls/583/comments"},"review_comment":{"href":"https://api.github.com/repos/interbit/interbit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/interbit/interbit/pulls/583/commits"},"statuses":{"href":"https://api.github.com/repos/interbit/interbit/statuses/c7bb4d883c6fbbecffd68f6fdcf9e48e3dd6a6f3"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":12,"additions":545,"deletions":29,"changed_files":24}}
{"actor":{"display_login":"nicholeous"}}