{"action":"created","comment":{"url":"https://api.github.com/repos/bitnami/test-infra/pulls/comments/181668166","pull_request_review_id":112332904,"id":181668166,"diff_hunk":"@@ -128,6 +129,43 @@ install_google_cloud_sdk() {\n   fi\n }\n \n+install_azure_cli() {\n+  if ! which az >/dev/null ; then\n+    info \"Installing Python3 and its dependencies...\"\n+    apk update\n+    if ! which python >/dev/null; then\n+      apk add --no-cache build-base libffi-dev openssl-dev python3 python3-dev\n+      python3 -m ensurepip\n+      rm -r /usr/lib/python*/ensurepip","path":"circle/functions","position":19,"original_position":19,"commit_id":"7c7ef6fa6c8b9b8e21b32d4cb90b861c6405c79e","original_commit_id":"7c7ef6fa6c8b9b8e21b32d4cb90b861c6405c79e","user":{"login":"javsalgar","id":1133777,"avatar_url":"https://avatars1.githubusercontent.com/u/1133777?v=4","gravatar_id":"","url":"https://api.github.com/users/javsalgar","html_url":"https://github.com/javsalgar","followers_url":"https://api.github.com/users/javsalgar/followers","following_url":"https://api.github.com/users/javsalgar/following{/other_user}","gists_url":"https://api.github.com/users/javsalgar/gists{/gist_id}","starred_url":"https://api.github.com/users/javsalgar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javsalgar/subscriptions","organizations_url":"https://api.github.com/users/javsalgar/orgs","repos_url":"https://api.github.com/users/javsalgar/repos","events_url":"https://api.github.com/users/javsalgar/events{/privacy}","received_events_url":"https://api.github.com/users/javsalgar/received_events","type":"User","site_admin":false},"body":"What does this remove do? And the previous command? ","created_at":"2018-04-16T09:10:52Z","updated_at":"2018-04-16T09:14:48Z","html_url":"https://github.com/bitnami/test-infra/pull/85#discussion_r181668166","pull_request_url":"https://api.github.com/repos/bitnami/test-infra/pulls/85","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/bitnami/test-infra/pulls/comments/181668166"},"html":{"href":"https://github.com/bitnami/test-infra/pull/85#discussion_r181668166"},"pull_request":{"href":"https://api.github.com/repos/bitnami/test-infra/pulls/85"}}},"pull_request":{"url":"https://api.github.com/repos/bitnami/test-infra/pulls/85","id":181523374,"html_url":"https://github.com/bitnami/test-infra/pull/85","diff_url":"https://github.com/bitnami/test-infra/pull/85.diff","patch_url":"https://github.com/bitnami/test-infra/pull/85.patch","issue_url":"https://api.github.com/repos/bitnami/test-infra/issues/85","number":85,"state":"open","locked":false,"title":"Adding functions to login/publish images on Azure Cloud Registry","user":{"login":"juan131","id":6740773,"avatar_url":"https://avatars3.githubusercontent.com/u/6740773?v=4","gravatar_id":"","url":"https://api.github.com/users/juan131","html_url":"https://github.com/juan131","followers_url":"https://api.github.com/users/juan131/followers","following_url":"https://api.github.com/users/juan131/following{/other_user}","gists_url":"https://api.github.com/users/juan131/gists{/gist_id}","starred_url":"https://api.github.com/users/juan131/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juan131/subscriptions","organizations_url":"https://api.github.com/users/juan131/orgs","repos_url":"https://api.github.com/users/juan131/repos","events_url":"https://api.github.com/users/juan131/events{/privacy}","received_events_url":"https://api.github.com/users/juan131/received_events","type":"User","site_admin":false},"body":"We need adapt Circle CI so we can publish Docker images on ACR. \r\n\r\nThis diff adds the functions so we can adapt each Docker Image repo Circle CI configuration to include this integration.","created_at":"2018-04-13T15:33:16Z","updated_at":"2018-04-16T09:14:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c4dbb4ba7db0e27820713862755151e65b7ef884","assignee":null,"assignees":[],"requested_reviewers":[{"login":"beltran-rubo","id":3718440,"avatar_url":"https://avatars0.githubusercontent.com/u/3718440?v=4","gravatar_id":"","url":"https://api.github.com/users/beltran-rubo","html_url":"https://github.com/beltran-rubo","followers_url":"https://api.github.com/users/beltran-rubo/followers","following_url":"https://api.github.com/users/beltran-rubo/following{/other_user}","gists_url":"https://api.github.com/users/beltran-rubo/gists{/gist_id}","starred_url":"https://api.github.com/users/beltran-rubo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beltran-rubo/subscriptions","organizations_url":"https://api.github.com/users/beltran-rubo/orgs","repos_url":"https://api.github.com/users/beltran-rubo/repos","events_url":"https://api.github.com/users/beltran-rubo/events{/privacy}","received_events_url":"https://api.github.com/users/beltran-rubo/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/bitnami/test-infra/pulls/85/commits","review_comments_url":"https://api.github.com/repos/bitnami/test-infra/pulls/85/comments","review_comment_url":"https://api.github.com/repos/bitnami/test-infra/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bitnami/test-infra/issues/85/comments","statuses_url":"https://api.github.com/repos/bitnami/test-infra/statuses/7c7ef6fa6c8b9b8e21b32d4cb90b861c6405c79e","head":{"label":"juan131:azure_portal_integration","ref":"azure_portal_integration","sha":"7c7ef6fa6c8b9b8e21b32d4cb90b861c6405c79e","user":{"login":"juan131","id":6740773,"avatar_url":"https://avatars3.githubusercontent.com/u/6740773?v=4","gravatar_id":"","url":"https://api.github.com/users/juan131","html_url":"https://github.com/juan131","followers_url":"https://api.github.com/users/juan131/followers","following_url":"https://api.github.com/users/juan131/following{/other_user}","gists_url":"https://api.github.com/users/juan131/gists{/gist_id}","starred_url":"https://api.github.com/users/juan131/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juan131/subscriptions","organizations_url":"https://api.github.com/users/juan131/orgs","repos_url":"https://api.github.com/users/juan131/repos","events_url":"https://api.github.com/users/juan131/events{/privacy}","received_events_url":"https://api.github.com/users/juan131/received_events","type":"User","site_admin":false},"repo":{"id":129421004,"name":"test-infra","full_name":"juan131/test-infra","owner":{"login":"juan131","id":6740773,"avatar_url":"https://avatars3.githubusercontent.com/u/6740773?v=4","gravatar_id":"","url":"https://api.github.com/users/juan131","html_url":"https://github.com/juan131","followers_url":"https://api.github.com/users/juan131/followers","following_url":"https://api.github.com/users/juan131/following{/other_user}","gists_url":"https://api.github.com/users/juan131/gists{/gist_id}","starred_url":"https://api.github.com/users/juan131/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juan131/subscriptions","organizations_url":"https://api.github.com/users/juan131/orgs","repos_url":"https://api.github.com/users/juan131/repos","events_url":"https://api.github.com/users/juan131/events{/privacy}","received_events_url":"https://api.github.com/users/juan131/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/juan131/test-infra","description":null,"fork":true,"url":"https://api.github.com/repos/juan131/test-infra","forks_url":"https://api.github.com/repos/juan131/test-infra/forks","keys_url":"https://api.github.com/repos/juan131/test-infra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/juan131/test-infra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/juan131/test-infra/teams","hooks_url":"https://api.github.com/repos/juan131/test-infra/hooks","issue_events_url":"https://api.github.com/repos/juan131/test-infra/issues/events{/number}","events_url":"https://api.github.com/repos/juan131/test-infra/events","assignees_url":"https://api.github.com/repos/juan131/test-infra/assignees{/user}","branches_url":"https://api.github.com/repos/juan131/test-infra/branches{/branch}","tags_url":"https://api.github.com/repos/juan131/test-infra/tags","blobs_url":"https://api.github.com/repos/juan131/test-infra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/juan131/test-infra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/juan131/test-infra/git/refs{/sha}","trees_url":"https://api.github.com/repos/juan131/test-infra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/juan131/test-infra/statuses/{sha}","languages_url":"https://api.github.com/repos/juan131/test-infra/languages","stargazers_url":"https://api.github.com/repos/juan131/test-infra/stargazers","contributors_url":"https://api.github.com/repos/juan131/test-infra/contributors","subscribers_url":"https://api.github.com/repos/juan131/test-infra/subscribers","subscription_url":"https://api.github.com/repos/juan131/test-infra/subscription","commits_url":"https://api.github.com/repos/juan131/test-infra/commits{/sha}","git_commits_url":"https://api.github.com/repos/juan131/test-infra/git/commits{/sha}","comments_url":"https://api.github.com/repos/juan131/test-infra/comments{/number}","issue_comment_url":"https://api.github.com/repos/juan131/test-infra/issues/comments{/number}","contents_url":"https://api.github.com/repos/juan131/test-infra/contents/{+path}","compare_url":"https://api.github.com/repos/juan131/test-infra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/juan131/test-infra/merges","archive_url":"https://api.github.com/repos/juan131/test-infra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/juan131/test-infra/downloads","issues_url":"https://api.github.com/repos/juan131/test-infra/issues{/number}","pulls_url":"https://api.github.com/repos/juan131/test-infra/pulls{/number}","milestones_url":"https://api.github.com/repos/juan131/test-infra/milestones{/number}","notifications_url":"https://api.github.com/repos/juan131/test-infra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/juan131/test-infra/labels{/name}","releases_url":"https://api.github.com/repos/juan131/test-infra/releases{/id}","deployments_url":"https://api.github.com/repos/juan131/test-infra/deployments","created_at":"2018-04-13T15:28:58Z","updated_at":"2018-04-13T15:29:00Z","pushed_at":"2018-04-16T09:05:23Z","git_url":"git://github.com/juan131/test-infra.git","ssh_url":"git@github.com:juan131/test-infra.git","clone_url":"https://github.com/juan131/test-infra.git","svn_url":"https://github.com/juan131/test-infra","homepage":null,"size":261,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"bitnami:master","ref":"master","sha":"a147dbc3ee2f8a4dd54fe27528f8439f96a4fc58","user":{"login":"bitnami","id":5446553,"avatar_url":"https://avatars0.githubusercontent.com/u/5446553?v=4","gravatar_id":"","url":"https://api.github.com/users/bitnami","html_url":"https://github.com/bitnami","followers_url":"https://api.github.com/users/bitnami/followers","following_url":"https://api.github.com/users/bitnami/following{/other_user}","gists_url":"https://api.github.com/users/bitnami/gists{/gist_id}","starred_url":"https://api.github.com/users/bitnami/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitnami/subscriptions","organizations_url":"https://api.github.com/users/bitnami/orgs","repos_url":"https://api.github.com/users/bitnami/repos","events_url":"https://api.github.com/users/bitnami/events{/privacy}","received_events_url":"https://api.github.com/users/bitnami/received_events","type":"Organization","site_admin":false},"repo":{"id":74345583,"name":"test-infra","full_name":"bitnami/test-infra","owner":{"login":"bitnami","id":5446553,"avatar_url":"https://avatars0.githubusercontent.com/u/5446553?v=4","gravatar_id":"","url":"https://api.github.com/users/bitnami","html_url":"https://github.com/bitnami","followers_url":"https://api.github.com/users/bitnami/followers","following_url":"https://api.github.com/users/bitnami/following{/other_user}","gists_url":"https://api.github.com/users/bitnami/gists{/gist_id}","starred_url":"https://api.github.com/users/bitnami/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitnami/subscriptions","organizations_url":"https://api.github.com/users/bitnami/orgs","repos_url":"https://api.github.com/users/bitnami/repos","events_url":"https://api.github.com/users/bitnami/events{/privacy}","received_events_url":"https://api.github.com/users/bitnami/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bitnami/test-infra","description":null,"fork":false,"url":"https://api.github.com/repos/bitnami/test-infra","forks_url":"https://api.github.com/repos/bitnami/test-infra/forks","keys_url":"https://api.github.com/repos/bitnami/test-infra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bitnami/test-infra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bitnami/test-infra/teams","hooks_url":"https://api.github.com/repos/bitnami/test-infra/hooks","issue_events_url":"https://api.github.com/repos/bitnami/test-infra/issues/events{/number}","events_url":"https://api.github.com/repos/bitnami/test-infra/events","assignees_url":"https://api.github.com/repos/bitnami/test-infra/assignees{/user}","branches_url":"https://api.github.com/repos/bitnami/test-infra/branches{/branch}","tags_url":"https://api.github.com/repos/bitnami/test-infra/tags","blobs_url":"https://api.github.com/repos/bitnami/test-infra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bitnami/test-infra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bitnami/test-infra/git/refs{/sha}","trees_url":"https://api.github.com/repos/bitnami/test-infra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bitnami/test-infra/statuses/{sha}","languages_url":"https://api.github.com/repos/bitnami/test-infra/languages","stargazers_url":"https://api.github.com/repos/bitnami/test-infra/stargazers","contributors_url":"https://api.github.com/repos/bitnami/test-infra/contributors","subscribers_url":"https://api.github.com/repos/bitnami/test-infra/subscribers","subscription_url":"https://api.github.com/repos/bitnami/test-infra/subscription","commits_url":"https://api.github.com/repos/bitnami/test-infra/commits{/sha}","git_commits_url":"https://api.github.com/repos/bitnami/test-infra/git/commits{/sha}","comments_url":"https://api.github.com/repos/bitnami/test-infra/comments{/number}","issue_comment_url":"https://api.github.com/repos/bitnami/test-infra/issues/comments{/number}","contents_url":"https://api.github.com/repos/bitnami/test-infra/contents/{+path}","compare_url":"https://api.github.com/repos/bitnami/test-infra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bitnami/test-infra/merges","archive_url":"https://api.github.com/repos/bitnami/test-infra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bitnami/test-infra/downloads","issues_url":"https://api.github.com/repos/bitnami/test-infra/issues{/number}","pulls_url":"https://api.github.com/repos/bitnami/test-infra/pulls{/number}","milestones_url":"https://api.github.com/repos/bitnami/test-infra/milestones{/number}","notifications_url":"https://api.github.com/repos/bitnami/test-infra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bitnami/test-infra/labels{/name}","releases_url":"https://api.github.com/repos/bitnami/test-infra/releases{/id}","deployments_url":"https://api.github.com/repos/bitnami/test-infra/deployments","created_at":"2016-11-21T09:08:34Z","updated_at":"2018-04-13T10:23:40Z","pushed_at":"2018-04-16T09:05:25Z","git_url":"git://github.com/bitnami/test-infra.git","ssh_url":"git@github.com:bitnami/test-infra.git","clone_url":"https://github.com/bitnami/test-infra.git","svn_url":"https://github.com/bitnami/test-infra","homepage":null,"size":238,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":7,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bitnami/test-infra/pulls/85"},"html":{"href":"https://github.com/bitnami/test-infra/pull/85"},"issue":{"href":"https://api.github.com/repos/bitnami/test-infra/issues/85"},"comments":{"href":"https://api.github.com/repos/bitnami/test-infra/issues/85/comments"},"review_comments":{"href":"https://api.github.com/repos/bitnami/test-infra/pulls/85/comments"},"review_comment":{"href":"https://api.github.com/repos/bitnami/test-infra/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bitnami/test-infra/pulls/85/commits"},"statuses":{"href":"https://api.github.com/repos/bitnami/test-infra/statuses/7c7ef6fa6c8b9b8e21b32d4cb90b861c6405c79e"}},"author_association":"NONE"}}
{"actor":{"display_login":"javsalgar"}}