{"action":"created","comment":{"url":"https://api.github.com/repos/Shopify/ingress/pulls/comments/180117783","pull_request_review_id":110482569,"id":180117783,"diff_hunk":"@@ -40,51 +40,34 @@ if ! [ -x \"$(command -v jq)\" ]; then\n   sudo apt-get install -y jq\n fi\n \n-if [ \"$TRAVIS_REPO_SLUG\" != \"kubernetes/ingress-nginx\" ];\n+if [ \"$TRAVIS_REPO_SLUG\" != \"Shopify/ingress\" ];\n then\n-  echo \"Only builds from kubernetes/ingress-nginx repository is allowed.\";\n+  echo \"Only builds from Shopify/ingress repository is allowed.\";\n   exit 0;\n fi\n \n-SKIP_MESSAGE=\"Publication of docker image to quay.io registry skipped.\"\n-\n-if [ \"$TRAVIS_EVENT_TYPE\" != \"api\" ];\n-then\n-  echo \"Only builds triggered from travis-ci API is allowed. $SKIP_MESSAGE\";\n-  exit 0;\n-fi\n-\n-if [ \"$TRAVIS_PULL_REQUEST\" != \"false\" ];\n-then\n-  echo \"This is a pull request. $SKIP_MESSAGE\";\n-  exit 0;\n-fi","path":".travis/common.sh","position":24,"original_position":24,"commit_id":"5b74e7a13b35df1238142eab01f1b30817c9ccdd","original_commit_id":"5b74e7a13b35df1238142eab01f1b30817c9ccdd","user":{"login":"ElvinEfendi","id":1150042,"avatar_url":"https://avatars0.githubusercontent.com/u/1150042?v=4","gravatar_id":"","url":"https://api.github.com/users/ElvinEfendi","html_url":"https://github.com/ElvinEfendi","followers_url":"https://api.github.com/users/ElvinEfendi/followers","following_url":"https://api.github.com/users/ElvinEfendi/following{/other_user}","gists_url":"https://api.github.com/users/ElvinEfendi/gists{/gist_id}","starred_url":"https://api.github.com/users/ElvinEfendi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ElvinEfendi/subscriptions","organizations_url":"https://api.github.com/users/ElvinEfendi/orgs","repos_url":"https://api.github.com/users/ElvinEfendi/repos","events_url":"https://api.github.com/users/ElvinEfendi/events{/privacy}","received_events_url":"https://api.github.com/users/ElvinEfendi/received_events","type":"User","site_admin":false},"body":"I don't think you need to delete these lines.","created_at":"2018-04-09T14:43:05Z","updated_at":"2018-04-09T14:43:05Z","html_url":"https://github.com/Shopify/ingress/pull/38#discussion_r180117783","pull_request_url":"https://api.github.com/repos/Shopify/ingress/pulls/38","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/Shopify/ingress/pulls/comments/180117783"},"html":{"href":"https://github.com/Shopify/ingress/pull/38#discussion_r180117783"},"pull_request":{"href":"https://api.github.com/repos/Shopify/ingress/pulls/38"}}},"pull_request":{"url":"https://api.github.com/repos/Shopify/ingress/pulls/38","id":179456238,"html_url":"https://github.com/Shopify/ingress/pull/38","diff_url":"https://github.com/Shopify/ingress/pull/38.diff","patch_url":"https://github.com/Shopify/ingress/pull/38.patch","issue_url":"https://api.github.com/repos/Shopify/ingress/issues/38","number":38,"state":"open","locked":false,"title":"Integrate travis CI to ingress-nginx fork","user":{"login":"fmejia97","id":35340041,"avatar_url":"https://avatars3.githubusercontent.com/u/35340041?v=4","gravatar_id":"","url":"https://api.github.com/users/fmejia97","html_url":"https://github.com/fmejia97","followers_url":"https://api.github.com/users/fmejia97/followers","following_url":"https://api.github.com/users/fmejia97/following{/other_user}","gists_url":"https://api.github.com/users/fmejia97/gists{/gist_id}","starred_url":"https://api.github.com/users/fmejia97/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fmejia97/subscriptions","organizations_url":"https://api.github.com/users/fmejia97/orgs","repos_url":"https://api.github.com/users/fmejia97/repos","events_url":"https://api.github.com/users/fmejia97/events{/privacy}","received_events_url":"https://api.github.com/users/fmejia97/received_events","type":"User","site_admin":false},"body":"<!--  Thanks for sending a pull request!  Here are some tips for you:\r\n1. If this is your first time, read our contributor guidelines https://git.k8s.io/community/contributors/devel/pull-requests.md#the-pr-submit-process and developer guide https://git.k8s.io/community/contributors/devel/development.md#development-guide\r\n2. If you want *faster* PR reviews, read how: https://git.k8s.io/community/contributors/devel/pull-requests.md#best-practices-for-faster-reviews\r\n3. Follow the instructions for writing a release note: https://git.k8s.io/community/contributors/devel/pull-requests.md#write-release-notes-if-needed\r\n-->\r\n\r\n**What this PR does / why we need it**:\r\n\r\n- This PR adds travis CI integration to the repository. \r\n\r\n- The reason for this is that kubernetes upstream uses travis CI and we want to diverge the least amount possible from the upstream.\r\n\r\n- Tests are executed on all commits through travis.\r\n\r\n- NGINX Ingress Images are built and pushed when a new commit is pushed to master.\r\n\r\n- Images are pushed to a public repository on Docker Hub (https://hub.docker.com/u/shopify/)\r\n\r\nFor more context about this PR, check the issue: https://github.com/Shopify/edgescale/issues/399\r\n\r\n**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #\r\n\r\n**Special notes for your reviewer**:\r\nThe $COMPONENT environment variable controls which component is built and deployed. It can either be 'nginx' or 'nginx-ingress-controller'. This is set under the environment variables on travis CI settings.\r\n","created_at":"2018-04-04T17:12:32Z","updated_at":"2018-04-09T14:43:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4087792fdbbb1a93e3328b95fbc2786e9ccb7f53","assignee":null,"assignees":[],"requested_reviewers":[{"login":"andrewlouis93","id":996681,"avatar_url":"https://avatars2.githubusercontent.com/u/996681?v=4","gravatar_id":"","url":"https://api.github.com/users/andrewlouis93","html_url":"https://github.com/andrewlouis93","followers_url":"https://api.github.com/users/andrewlouis93/followers","following_url":"https://api.github.com/users/andrewlouis93/following{/other_user}","gists_url":"https://api.github.com/users/andrewlouis93/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewlouis93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewlouis93/subscriptions","organizations_url":"https://api.github.com/users/andrewlouis93/orgs","repos_url":"https://api.github.com/users/andrewlouis93/repos","events_url":"https://api.github.com/users/andrewlouis93/events{/privacy}","received_events_url":"https://api.github.com/users/andrewlouis93/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Shopify/ingress/pulls/38/commits","review_comments_url":"https://api.github.com/repos/Shopify/ingress/pulls/38/comments","review_comment_url":"https://api.github.com/repos/Shopify/ingress/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Shopify/ingress/issues/38/comments","statuses_url":"https://api.github.com/repos/Shopify/ingress/statuses/5b74e7a13b35df1238142eab01f1b30817c9ccdd","head":{"label":"Shopify:fix-ci-travis","ref":"fix-ci-travis","sha":"5b74e7a13b35df1238142eab01f1b30817c9ccdd","user":{"login":"Shopify","id":8085,"avatar_url":"https://avatars1.githubusercontent.com/u/8085?v=4","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":99704668,"name":"ingress","full_name":"Shopify/ingress","owner":{"login":"Shopify","id":8085,"avatar_url":"https://avatars1.githubusercontent.com/u/8085?v=4","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/ingress","description":"Ingress controllers","fork":true,"url":"https://api.github.com/repos/Shopify/ingress","forks_url":"https://api.github.com/repos/Shopify/ingress/forks","keys_url":"https://api.github.com/repos/Shopify/ingress/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Shopify/ingress/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Shopify/ingress/teams","hooks_url":"https://api.github.com/repos/Shopify/ingress/hooks","issue_events_url":"https://api.github.com/repos/Shopify/ingress/issues/events{/number}","events_url":"https://api.github.com/repos/Shopify/ingress/events","assignees_url":"https://api.github.com/repos/Shopify/ingress/assignees{/user}","branches_url":"https://api.github.com/repos/Shopify/ingress/branches{/branch}","tags_url":"https://api.github.com/repos/Shopify/ingress/tags","blobs_url":"https://api.github.com/repos/Shopify/ingress/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Shopify/ingress/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Shopify/ingress/git/refs{/sha}","trees_url":"https://api.github.com/repos/Shopify/ingress/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Shopify/ingress/statuses/{sha}","languages_url":"https://api.github.com/repos/Shopify/ingress/languages","stargazers_url":"https://api.github.com/repos/Shopify/ingress/stargazers","contributors_url":"https://api.github.com/repos/Shopify/ingress/contributors","subscribers_url":"https://api.github.com/repos/Shopify/ingress/subscribers","subscription_url":"https://api.github.com/repos/Shopify/ingress/subscription","commits_url":"https://api.github.com/repos/Shopify/ingress/commits{/sha}","git_commits_url":"https://api.github.com/repos/Shopify/ingress/git/commits{/sha}","comments_url":"https://api.github.com/repos/Shopify/ingress/comments{/number}","issue_comment_url":"https://api.github.com/repos/Shopify/ingress/issues/comments{/number}","contents_url":"https://api.github.com/repos/Shopify/ingress/contents/{+path}","compare_url":"https://api.github.com/repos/Shopify/ingress/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Shopify/ingress/merges","archive_url":"https://api.github.com/repos/Shopify/ingress/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Shopify/ingress/downloads","issues_url":"https://api.github.com/repos/Shopify/ingress/issues{/number}","pulls_url":"https://api.github.com/repos/Shopify/ingress/pulls{/number}","milestones_url":"https://api.github.com/repos/Shopify/ingress/milestones{/number}","notifications_url":"https://api.github.com/repos/Shopify/ingress/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Shopify/ingress/labels{/name}","releases_url":"https://api.github.com/repos/Shopify/ingress/releases{/id}","deployments_url":"https://api.github.com/repos/Shopify/ingress/deployments","created_at":"2017-08-08T14:55:27Z","updated_at":"2018-04-09T14:39:55Z","pushed_at":"2018-04-09T14:39:52Z","git_url":"git://github.com/Shopify/ingress.git","ssh_url":"git@github.com:Shopify/ingress.git","clone_url":"https://github.com/Shopify/ingress.git","svn_url":"https://github.com/Shopify/ingress","homepage":null,"size":65958,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":5,"license":null,"forks":2,"open_issues":5,"watchers":0,"default_branch":"master"}},"base":{"label":"Shopify:master","ref":"master","sha":"dd2bc9101864f5a0ddbaec4a178597ef651567ea","user":{"login":"Shopify","id":8085,"avatar_url":"https://avatars1.githubusercontent.com/u/8085?v=4","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":99704668,"name":"ingress","full_name":"Shopify/ingress","owner":{"login":"Shopify","id":8085,"avatar_url":"https://avatars1.githubusercontent.com/u/8085?v=4","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/ingress","description":"Ingress controllers","fork":true,"url":"https://api.github.com/repos/Shopify/ingress","forks_url":"https://api.github.com/repos/Shopify/ingress/forks","keys_url":"https://api.github.com/repos/Shopify/ingress/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Shopify/ingress/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Shopify/ingress/teams","hooks_url":"https://api.github.com/repos/Shopify/ingress/hooks","issue_events_url":"https://api.github.com/repos/Shopify/ingress/issues/events{/number}","events_url":"https://api.github.com/repos/Shopify/ingress/events","assignees_url":"https://api.github.com/repos/Shopify/ingress/assignees{/user}","branches_url":"https://api.github.com/repos/Shopify/ingress/branches{/branch}","tags_url":"https://api.github.com/repos/Shopify/ingress/tags","blobs_url":"https://api.github.com/repos/Shopify/ingress/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Shopify/ingress/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Shopify/ingress/git/refs{/sha}","trees_url":"https://api.github.com/repos/Shopify/ingress/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Shopify/ingress/statuses/{sha}","languages_url":"https://api.github.com/repos/Shopify/ingress/languages","stargazers_url":"https://api.github.com/repos/Shopify/ingress/stargazers","contributors_url":"https://api.github.com/repos/Shopify/ingress/contributors","subscribers_url":"https://api.github.com/repos/Shopify/ingress/subscribers","subscription_url":"https://api.github.com/repos/Shopify/ingress/subscription","commits_url":"https://api.github.com/repos/Shopify/ingress/commits{/sha}","git_commits_url":"https://api.github.com/repos/Shopify/ingress/git/commits{/sha}","comments_url":"https://api.github.com/repos/Shopify/ingress/comments{/number}","issue_comment_url":"https://api.github.com/repos/Shopify/ingress/issues/comments{/number}","contents_url":"https://api.github.com/repos/Shopify/ingress/contents/{+path}","compare_url":"https://api.github.com/repos/Shopify/ingress/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Shopify/ingress/merges","archive_url":"https://api.github.com/repos/Shopify/ingress/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Shopify/ingress/downloads","issues_url":"https://api.github.com/repos/Shopify/ingress/issues{/number}","pulls_url":"https://api.github.com/repos/Shopify/ingress/pulls{/number}","milestones_url":"https://api.github.com/repos/Shopify/ingress/milestones{/number}","notifications_url":"https://api.github.com/repos/Shopify/ingress/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Shopify/ingress/labels{/name}","releases_url":"https://api.github.com/repos/Shopify/ingress/releases{/id}","deployments_url":"https://api.github.com/repos/Shopify/ingress/deployments","created_at":"2017-08-08T14:55:27Z","updated_at":"2018-04-09T14:39:55Z","pushed_at":"2018-04-09T14:39:52Z","git_url":"git://github.com/Shopify/ingress.git","ssh_url":"git@github.com:Shopify/ingress.git","clone_url":"https://github.com/Shopify/ingress.git","svn_url":"https://github.com/Shopify/ingress","homepage":null,"size":65958,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":5,"license":null,"forks":2,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Shopify/ingress/pulls/38"},"html":{"href":"https://github.com/Shopify/ingress/pull/38"},"issue":{"href":"https://api.github.com/repos/Shopify/ingress/issues/38"},"comments":{"href":"https://api.github.com/repos/Shopify/ingress/issues/38/comments"},"review_comments":{"href":"https://api.github.com/repos/Shopify/ingress/pulls/38/comments"},"review_comment":{"href":"https://api.github.com/repos/Shopify/ingress/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Shopify/ingress/pulls/38/commits"},"statuses":{"href":"https://api.github.com/repos/Shopify/ingress/statuses/5b74e7a13b35df1238142eab01f1b30817c9ccdd"}},"author_association":"NONE"}}
{"actor":{"display_login":"ElvinEfendi"}}