{"action":"created","comment":{"url":"https://api.github.com/repos/Shopify/shipit-engine/pulls/comments/62237142","id":62237142,"diff_hunk":"@@ -0,0 +1,35 @@\n+# This file is for Shopify employees development environment.\n+# If you are an external contributor you don't have to bother with it.\n+name: shipit-engine\n+\n+up:\n+  - homebrew:\n+    - openssl\n+    - sqlite\n+  - ruby:\n+      version: 2.1.8\n+  - railgun\n+  - bundler:\n+      without: ci\n+\n+commands:\n+  bootstrap: env REDIS_URL=redis://shipit-engine.railgun:6379 bin/bootstrap\n+  console: pushd test/dummy; env REDIS_URL=redis://shipit-engine.railgun:6379 bin/rails console; popd\n+  server: pushd test/dummy; env REDIS_URL=redis://shipit-engine.railgun:6379 bin/server -b 192.168.64.1 -p 55330; popd\n+  test: env REDIS_URL=redis://shipit-engine.railgun:6379 bundle exec rake\n+\n+open:\n+  shipit: https://shipit-engine.myshopify.io\n+\n+railgun:\n+  image: dev:railgun-common-services-0.2.x\n+  services:\n+    redis: 6379\n+    nginx: 80\n+  ip_address: 192.168.64.85\n+  memory: 512M\n+  cores: 1","path":"dev.yml","position":31,"original_position":31,"commit_id":"deff9996a997a41634305b71040c0b7eff7e6ccc","original_commit_id":"deff9996a997a41634305b71040c0b7eff7e6ccc","user":{"login":"burke","id":1284,"avatar_url":"https://avatars.githubusercontent.com/u/1284?v=3","gravatar_id":"","url":"https://api.github.com/users/burke","html_url":"https://github.com/burke","followers_url":"https://api.github.com/users/burke/followers","following_url":"https://api.github.com/users/burke/following{/other_user}","gists_url":"https://api.github.com/users/burke/gists{/gist_id}","starred_url":"https://api.github.com/users/burke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/burke/subscriptions","organizations_url":"https://api.github.com/users/burke/orgs","repos_url":"https://api.github.com/users/burke/repos","events_url":"https://api.github.com/users/burke/events{/privacy}","received_events_url":"https://api.github.com/users/burke/received_events","type":"User","site_admin":false},"body":"nginx won't like this, for some reason nginx-routing-modules fails to initialize unless there are at least 2 cores","created_at":"2016-05-05T19:03:10Z","updated_at":"2016-05-05T19:03:10Z","html_url":"https://github.com/Shopify/shipit-engine/pull/576#discussion_r62237142","pull_request_url":"https://api.github.com/repos/Shopify/shipit-engine/pulls/576","_links":{"self":{"href":"https://api.github.com/repos/Shopify/shipit-engine/pulls/comments/62237142"},"html":{"href":"https://github.com/Shopify/shipit-engine/pull/576#discussion_r62237142"},"pull_request":{"href":"https://api.github.com/repos/Shopify/shipit-engine/pulls/576"}}},"pull_request":{"url":"https://api.github.com/repos/Shopify/shipit-engine/pulls/576","id":69050865,"html_url":"https://github.com/Shopify/shipit-engine/pull/576","diff_url":"https://github.com/Shopify/shipit-engine/pull/576.diff","patch_url":"https://github.com/Shopify/shipit-engine/pull/576.patch","issue_url":"https://api.github.com/repos/Shopify/shipit-engine/issues/576","number":576,"state":"open","locked":false,"title":"dev.yml for internal contributors","user":{"login":"casperispoop","id":19192189,"avatar_url":"https://avatars.githubusercontent.com/u/19192189?v=3","gravatar_id":"","url":"https://api.github.com/users/casperispoop","html_url":"https://github.com/casperispoop","followers_url":"https://api.github.com/users/casperispoop/followers","following_url":"https://api.github.com/users/casperispoop/following{/other_user}","gists_url":"https://api.github.com/users/casperispoop/gists{/gist_id}","starred_url":"https://api.github.com/users/casperispoop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/casperispoop/subscriptions","organizations_url":"https://api.github.com/users/casperispoop/orgs","repos_url":"https://api.github.com/users/casperispoop/repos","events_url":"https://api.github.com/users/casperispoop/events{/privacy}","received_events_url":"https://api.github.com/users/casperispoop/received_events","type":"User","site_admin":false},"body":"@burke for review please. It's not as performant as it could be as I don't want to duplicate the logic from `bin/bootstrap`, but IMO it's good enough.\r\n\r\nFor external contributors the setup stays the same (`bin/bootstrap`) but they must have sqlite3 and redis locally.\r\n\r\nAlso I moved `mysql2` and `pg` in `ci` group and ignore it by default since they are really only useful on CI unless you are debugging a DB specific bug.","created_at":"2016-05-05T18:46:45Z","updated_at":"2016-05-05T19:03:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"56288180f13befb995c453c306b6f2f2106a9caf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Shopify/shipit-engine/pulls/576/commits","review_comments_url":"https://api.github.com/repos/Shopify/shipit-engine/pulls/576/comments","review_comment_url":"https://api.github.com/repos/Shopify/shipit-engine/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Shopify/shipit-engine/issues/576/comments","statuses_url":"https://api.github.com/repos/Shopify/shipit-engine/statuses/deff9996a997a41634305b71040c0b7eff7e6ccc","head":{"label":"Shopify:dev-setup","ref":"dev-setup","sha":"deff9996a997a41634305b71040c0b7eff7e6ccc","user":{"login":"Shopify","id":8085,"avatar_url":"https://avatars.githubusercontent.com/u/8085?v=3","gravatar_id":"","url":"https://api.github.com/users/Shopify","html_url":"https://github.com/Shopify","followers_url":"https://api.github.com/users/Shopify/followers","following_url":"https://api.github.com/users/Shopify/following{/other_user}","gists_url":"https://api.github.com/users/Shopify/gists{/gist_id}","starred_url":"https://api.github.com/users/Shopify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shopify/subscriptions","organizations_url":"https://api.github.com/users/Shopify/orgs","repos_url":"https://api.github.com/users/Shopify/repos","events_url":"https://api.github.com/users/Shopify/events{/privacy}","received_events_url":"https://api.github.com/users/Shopify/received_events","type":"Organization","site_admin":false},"repo":{"id":17228890,"name":"shipit-engine","full_name":"Shopify/shipit-engine","owner":{"login":"Shopify","id":8085,"avatar_url":"https://avatars.githubusercontent.com/u/8085?v=3","gravatar_id":"","url":"https://api.github.com/users/Shopify","html_url":"https://github.com/Shopify","followers_url":"https://api.github.com/users/Shopify/followers","following_url":"https://api.github.com/users/Shopify/following{/other_user}","gists_url":"https://api.github.com/users/Shopify/gists{/gist_id}","starred_url":"https://api.github.com/users/Shopify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shopify/subscriptions","organizations_url":"https://api.github.com/users/Shopify/orgs","repos_url":"https://api.github.com/users/Shopify/repos","events_url":"https://api.github.com/users/Shopify/events{/privacy}","received_events_url":"https://api.github.com/users/Shopify/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Shopify/shipit-engine","description":"Deployment coordination","fork":false,"url":"https://api.github.com/repos/Shopify/shipit-engine","forks_url":"https://api.github.com/repos/Shopify/shipit-engine/forks","keys_url":"https://api.github.com/repos/Shopify/shipit-engine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Shopify/shipit-engine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Shopify/shipit-engine/teams","hooks_url":"https://api.github.com/repos/Shopify/shipit-engine/hooks","issue_events_url":"https://api.github.com/repos/Shopify/shipit-engine/issues/events{/number}","events_url":"https://api.github.com/repos/Shopify/shipit-engine/events","assignees_url":"https://api.github.com/repos/Shopify/shipit-engine/assignees{/user}","branches_url":"https://api.github.com/repos/Shopify/shipit-engine/branches{/branch}","tags_url":"https://api.github.com/repos/Shopify/shipit-engine/tags","blobs_url":"https://api.github.com/repos/Shopify/shipit-engine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Shopify/shipit-engine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Shopify/shipit-engine/git/refs{/sha}","trees_url":"https://api.github.com/repos/Shopify/shipit-engine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Shopify/shipit-engine/statuses/{sha}","languages_url":"https://api.github.com/repos/Shopify/shipit-engine/languages","stargazers_url":"https://api.github.com/repos/Shopify/shipit-engine/stargazers","contributors_url":"https://api.github.com/repos/Shopify/shipit-engine/contributors","subscribers_url":"https://api.github.com/repos/Shopify/shipit-engine/subscribers","subscription_url":"https://api.github.com/repos/Shopify/shipit-engine/subscription","commits_url":"https://api.github.com/repos/Shopify/shipit-engine/commits{/sha}","git_commits_url":"https://api.github.com/repos/Shopify/shipit-engine/git/commits{/sha}","comments_url":"https://api.github.com/repos/Shopify/shipit-engine/comments{/number}","issue_comment_url":"https://api.github.com/repos/Shopify/shipit-engine/issues/comments{/number}","contents_url":"https://api.github.com/repos/Shopify/shipit-engine/contents/{+path}","compare_url":"https://api.github.com/repos/Shopify/shipit-engine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Shopify/shipit-engine/merges","archive_url":"https://api.github.com/repos/Shopify/shipit-engine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Shopify/shipit-engine/downloads","issues_url":"https://api.github.com/repos/Shopify/shipit-engine/issues{/number}","pulls_url":"https://api.github.com/repos/Shopify/shipit-engine/pulls{/number}","milestones_url":"https://api.github.com/repos/Shopify/shipit-engine/milestones{/number}","notifications_url":"https://api.github.com/repos/Shopify/shipit-engine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Shopify/shipit-engine/labels{/name}","releases_url":"https://api.github.com/repos/Shopify/shipit-engine/releases{/id}","deployments_url":"https://api.github.com/repos/Shopify/shipit-engine/deployments","created_at":"2014-02-26T22:59:57Z","updated_at":"2016-05-04T16:53:32Z","pushed_at":"2016-05-05T18:46:45Z","git_url":"git://github.com/Shopify/shipit-engine.git","ssh_url":"git@github.com:Shopify/shipit-engine.git","clone_url":"https://github.com/Shopify/shipit-engine.git","svn_url":"https://github.com/Shopify/shipit-engine","homepage":"https://www.shopify.com/technology/34281221-introducing-shipit","size":2149,"stargazers_count":404,"watchers_count":404,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":32,"forks":19,"open_issues":32,"watchers":404,"default_branch":"master"}},"base":{"label":"Shopify:master","ref":"master","sha":"b2bb759ea4f531ee790d3eb83c8f6888cbf332d3","user":{"login":"Shopify","id":8085,"avatar_url":"https://avatars.githubusercontent.com/u/8085?v=3","gravatar_id":"","url":"https://api.github.com/users/Shopify","html_url":"https://github.com/Shopify","followers_url":"https://api.github.com/users/Shopify/followers","following_url":"https://api.github.com/users/Shopify/following{/other_user}","gists_url":"https://api.github.com/users/Shopify/gists{/gist_id}","starred_url":"https://api.github.com/users/Shopify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shopify/subscriptions","organizations_url":"https://api.github.com/users/Shopify/orgs","repos_url":"https://api.github.com/users/Shopify/repos","events_url":"https://api.github.com/users/Shopify/events{/privacy}","received_events_url":"https://api.github.com/users/Shopify/received_events","type":"Organization","site_admin":false},"repo":{"id":17228890,"name":"shipit-engine","full_name":"Shopify/shipit-engine","owner":{"login":"Shopify","id":8085,"avatar_url":"https://avatars.githubusercontent.com/u/8085?v=3","gravatar_id":"","url":"https://api.github.com/users/Shopify","html_url":"https://github.com/Shopify","followers_url":"https://api.github.com/users/Shopify/followers","following_url":"https://api.github.com/users/Shopify/following{/other_user}","gists_url":"https://api.github.com/users/Shopify/gists{/gist_id}","starred_url":"https://api.github.com/users/Shopify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shopify/subscriptions","organizations_url":"https://api.github.com/users/Shopify/orgs","repos_url":"https://api.github.com/users/Shopify/repos","events_url":"https://api.github.com/users/Shopify/events{/privacy}","received_events_url":"https://api.github.com/users/Shopify/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Shopify/shipit-engine","description":"Deployment coordination","fork":false,"url":"https://api.github.com/repos/Shopify/shipit-engine","forks_url":"https://api.github.com/repos/Shopify/shipit-engine/forks","keys_url":"https://api.github.com/repos/Shopify/shipit-engine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Shopify/shipit-engine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Shopify/shipit-engine/teams","hooks_url":"https://api.github.com/repos/Shopify/shipit-engine/hooks","issue_events_url":"https://api.github.com/repos/Shopify/shipit-engine/issues/events{/number}","events_url":"https://api.github.com/repos/Shopify/shipit-engine/events","assignees_url":"https://api.github.com/repos/Shopify/shipit-engine/assignees{/user}","branches_url":"https://api.github.com/repos/Shopify/shipit-engine/branches{/branch}","tags_url":"https://api.github.com/repos/Shopify/shipit-engine/tags","blobs_url":"https://api.github.com/repos/Shopify/shipit-engine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Shopify/shipit-engine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Shopify/shipit-engine/git/refs{/sha}","trees_url":"https://api.github.com/repos/Shopify/shipit-engine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Shopify/shipit-engine/statuses/{sha}","languages_url":"https://api.github.com/repos/Shopify/shipit-engine/languages","stargazers_url":"https://api.github.com/repos/Shopify/shipit-engine/stargazers","contributors_url":"https://api.github.com/repos/Shopify/shipit-engine/contributors","subscribers_url":"https://api.github.com/repos/Shopify/shipit-engine/subscribers","subscription_url":"https://api.github.com/repos/Shopify/shipit-engine/subscription","commits_url":"https://api.github.com/repos/Shopify/shipit-engine/commits{/sha}","git_commits_url":"https://api.github.com/repos/Shopify/shipit-engine/git/commits{/sha}","comments_url":"https://api.github.com/repos/Shopify/shipit-engine/comments{/number}","issue_comment_url":"https://api.github.com/repos/Shopify/shipit-engine/issues/comments{/number}","contents_url":"https://api.github.com/repos/Shopify/shipit-engine/contents/{+path}","compare_url":"https://api.github.com/repos/Shopify/shipit-engine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Shopify/shipit-engine/merges","archive_url":"https://api.github.com/repos/Shopify/shipit-engine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Shopify/shipit-engine/downloads","issues_url":"https://api.github.com/repos/Shopify/shipit-engine/issues{/number}","pulls_url":"https://api.github.com/repos/Shopify/shipit-engine/pulls{/number}","milestones_url":"https://api.github.com/repos/Shopify/shipit-engine/milestones{/number}","notifications_url":"https://api.github.com/repos/Shopify/shipit-engine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Shopify/shipit-engine/labels{/name}","releases_url":"https://api.github.com/repos/Shopify/shipit-engine/releases{/id}","deployments_url":"https://api.github.com/repos/Shopify/shipit-engine/deployments","created_at":"2014-02-26T22:59:57Z","updated_at":"2016-05-04T16:53:32Z","pushed_at":"2016-05-05T18:46:45Z","git_url":"git://github.com/Shopify/shipit-engine.git","ssh_url":"git@github.com:Shopify/shipit-engine.git","clone_url":"https://github.com/Shopify/shipit-engine.git","svn_url":"https://github.com/Shopify/shipit-engine","homepage":"https://www.shopify.com/technology/34281221-introducing-shipit","size":2149,"stargazers_count":404,"watchers_count":404,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":32,"forks":19,"open_issues":32,"watchers":404,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Shopify/shipit-engine/pulls/576"},"html":{"href":"https://github.com/Shopify/shipit-engine/pull/576"},"issue":{"href":"https://api.github.com/repos/Shopify/shipit-engine/issues/576"},"comments":{"href":"https://api.github.com/repos/Shopify/shipit-engine/issues/576/comments"},"review_comments":{"href":"https://api.github.com/repos/Shopify/shipit-engine/pulls/576/comments"},"review_comment":{"href":"https://api.github.com/repos/Shopify/shipit-engine/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Shopify/shipit-engine/pulls/576/commits"},"statuses":{"href":"https://api.github.com/repos/Shopify/shipit-engine/statuses/deff9996a997a41634305b71040c0b7eff7e6ccc"}}}}