{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/dalecp/devops-exercise/pulls/1","id":82997946,"html_url":"https://github.com/dalecp/devops-exercise/pull/1","diff_url":"https://github.com/dalecp/devops-exercise/pull/1.diff","patch_url":"https://github.com/dalecp/devops-exercise/pull/1.patch","issue_url":"https://api.github.com/repos/dalecp/devops-exercise/issues/1","number":1,"state":"open","locked":false,"title":"Introducing devops excercise","user":{"login":"dalecp","id":20378421,"avatar_url":"https://avatars.githubusercontent.com/u/20378421?v=3","gravatar_id":"","url":"https://api.github.com/users/dalecp","html_url":"https://github.com/dalecp","followers_url":"https://api.github.com/users/dalecp/followers","following_url":"https://api.github.com/users/dalecp/following{/other_user}","gists_url":"https://api.github.com/users/dalecp/gists{/gist_id}","starred_url":"https://api.github.com/users/dalecp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dalecp/subscriptions","organizations_url":"https://api.github.com/users/dalecp/orgs","repos_url":"https://api.github.com/users/dalecp/repos","events_url":"https://api.github.com/users/dalecp/events{/privacy}","received_events_url":"https://api.github.com/users/dalecp/received_events","type":"User","site_admin":false},"body":"1. First deploy should be done using command vagrant up base\r\n2. base.yml invoked and it invokes separate roles panda and big (panda and big yml playbooks defined in separate ymls of each service)\r\n3. Service Panda accessible using localhost:8081/small.png and /medium.png\r\n4. Service Big is accessible using localhost:8082/  and returns GET counter\r\n5. Each services could be provisioned separetley using ansible-playbook -i dev-or-prod panda/big.yml (for example only, dev and prod inventories are same)\r\n6. In each configuration (dev and prod) services deployed as SERVICE, but in real environment (dev/prod/staging) I'll prefer to deploy it as service on prod only\r\n7. Deployment (BONUS) script could be simple bash.\r\n","created_at":"2016-08-27T20:35:54Z","updated_at":"2016-08-27T20:35:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/dalecp/devops-exercise/pulls/1/commits","review_comments_url":"https://api.github.com/repos/dalecp/devops-exercise/pulls/1/comments","review_comment_url":"https://api.github.com/repos/dalecp/devops-exercise/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dalecp/devops-exercise/issues/1/comments","statuses_url":"https://api.github.com/repos/dalecp/devops-exercise/statuses/6466a05532a286296d6195b369035c349a973b97","head":{"label":"dalecp:feature/intro","ref":"feature/intro","sha":"6466a05532a286296d6195b369035c349a973b97","user":{"login":"dalecp","id":20378421,"avatar_url":"https://avatars.githubusercontent.com/u/20378421?v=3","gravatar_id":"","url":"https://api.github.com/users/dalecp","html_url":"https://github.com/dalecp","followers_url":"https://api.github.com/users/dalecp/followers","following_url":"https://api.github.com/users/dalecp/following{/other_user}","gists_url":"https://api.github.com/users/dalecp/gists{/gist_id}","starred_url":"https://api.github.com/users/dalecp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dalecp/subscriptions","organizations_url":"https://api.github.com/users/dalecp/orgs","repos_url":"https://api.github.com/users/dalecp/repos","events_url":"https://api.github.com/users/dalecp/events{/privacy}","received_events_url":"https://api.github.com/users/dalecp/received_events","type":"User","site_admin":false},"repo":{"id":66733701,"name":"devops-exercise","full_name":"dalecp/devops-exercise","owner":{"login":"dalecp","id":20378421,"avatar_url":"https://avatars.githubusercontent.com/u/20378421?v=3","gravatar_id":"","url":"https://api.github.com/users/dalecp","html_url":"https://github.com/dalecp","followers_url":"https://api.github.com/users/dalecp/followers","following_url":"https://api.github.com/users/dalecp/following{/other_user}","gists_url":"https://api.github.com/users/dalecp/gists{/gist_id}","starred_url":"https://api.github.com/users/dalecp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dalecp/subscriptions","organizations_url":"https://api.github.com/users/dalecp/orgs","repos_url":"https://api.github.com/users/dalecp/repos","events_url":"https://api.github.com/users/dalecp/events{/privacy}","received_events_url":"https://api.github.com/users/dalecp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dalecp/devops-exercise","description":null,"fork":false,"url":"https://api.github.com/repos/dalecp/devops-exercise","forks_url":"https://api.github.com/repos/dalecp/devops-exercise/forks","keys_url":"https://api.github.com/repos/dalecp/devops-exercise/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dalecp/devops-exercise/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dalecp/devops-exercise/teams","hooks_url":"https://api.github.com/repos/dalecp/devops-exercise/hooks","issue_events_url":"https://api.github.com/repos/dalecp/devops-exercise/issues/events{/number}","events_url":"https://api.github.com/repos/dalecp/devops-exercise/events","assignees_url":"https://api.github.com/repos/dalecp/devops-exercise/assignees{/user}","branches_url":"https://api.github.com/repos/dalecp/devops-exercise/branches{/branch}","tags_url":"https://api.github.com/repos/dalecp/devops-exercise/tags","blobs_url":"https://api.github.com/repos/dalecp/devops-exercise/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dalecp/devops-exercise/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dalecp/devops-exercise/git/refs{/sha}","trees_url":"https://api.github.com/repos/dalecp/devops-exercise/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dalecp/devops-exercise/statuses/{sha}","languages_url":"https://api.github.com/repos/dalecp/devops-exercise/languages","stargazers_url":"https://api.github.com/repos/dalecp/devops-exercise/stargazers","contributors_url":"https://api.github.com/repos/dalecp/devops-exercise/contributors","subscribers_url":"https://api.github.com/repos/dalecp/devops-exercise/subscribers","subscription_url":"https://api.github.com/repos/dalecp/devops-exercise/subscription","commits_url":"https://api.github.com/repos/dalecp/devops-exercise/commits{/sha}","git_commits_url":"https://api.github.com/repos/dalecp/devops-exercise/git/commits{/sha}","comments_url":"https://api.github.com/repos/dalecp/devops-exercise/comments{/number}","issue_comment_url":"https://api.github.com/repos/dalecp/devops-exercise/issues/comments{/number}","contents_url":"https://api.github.com/repos/dalecp/devops-exercise/contents/{+path}","compare_url":"https://api.github.com/repos/dalecp/devops-exercise/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dalecp/devops-exercise/merges","archive_url":"https://api.github.com/repos/dalecp/devops-exercise/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dalecp/devops-exercise/downloads","issues_url":"https://api.github.com/repos/dalecp/devops-exercise/issues{/number}","pulls_url":"https://api.github.com/repos/dalecp/devops-exercise/pulls{/number}","milestones_url":"https://api.github.com/repos/dalecp/devops-exercise/milestones{/number}","notifications_url":"https://api.github.com/repos/dalecp/devops-exercise/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dalecp/devops-exercise/labels{/name}","releases_url":"https://api.github.com/repos/dalecp/devops-exercise/releases{/id}","deployments_url":"https://api.github.com/repos/dalecp/devops-exercise/deployments","created_at":"2016-08-27T20:15:28Z","updated_at":"2016-08-27T20:15:55Z","pushed_at":"2016-08-27T20:25:57Z","git_url":"git://github.com/dalecp/devops-exercise.git","ssh_url":"git@github.com:dalecp/devops-exercise.git","clone_url":"https://github.com/dalecp/devops-exercise.git","svn_url":"https://github.com/dalecp/devops-exercise","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"dalecp:master","ref":"master","sha":"1731a11e9eb3290c0a8d9c9bea2a70550214ae90","user":{"login":"dalecp","id":20378421,"avatar_url":"https://avatars.githubusercontent.com/u/20378421?v=3","gravatar_id":"","url":"https://api.github.com/users/dalecp","html_url":"https://github.com/dalecp","followers_url":"https://api.github.com/users/dalecp/followers","following_url":"https://api.github.com/users/dalecp/following{/other_user}","gists_url":"https://api.github.com/users/dalecp/gists{/gist_id}","starred_url":"https://api.github.com/users/dalecp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dalecp/subscriptions","organizations_url":"https://api.github.com/users/dalecp/orgs","repos_url":"https://api.github.com/users/dalecp/repos","events_url":"https://api.github.com/users/dalecp/events{/privacy}","received_events_url":"https://api.github.com/users/dalecp/received_events","type":"User","site_admin":false},"repo":{"id":66733701,"name":"devops-exercise","full_name":"dalecp/devops-exercise","owner":{"login":"dalecp","id":20378421,"avatar_url":"https://avatars.githubusercontent.com/u/20378421?v=3","gravatar_id":"","url":"https://api.github.com/users/dalecp","html_url":"https://github.com/dalecp","followers_url":"https://api.github.com/users/dalecp/followers","following_url":"https://api.github.com/users/dalecp/following{/other_user}","gists_url":"https://api.github.com/users/dalecp/gists{/gist_id}","starred_url":"https://api.github.com/users/dalecp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dalecp/subscriptions","organizations_url":"https://api.github.com/users/dalecp/orgs","repos_url":"https://api.github.com/users/dalecp/repos","events_url":"https://api.github.com/users/dalecp/events{/privacy}","received_events_url":"https://api.github.com/users/dalecp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dalecp/devops-exercise","description":null,"fork":false,"url":"https://api.github.com/repos/dalecp/devops-exercise","forks_url":"https://api.github.com/repos/dalecp/devops-exercise/forks","keys_url":"https://api.github.com/repos/dalecp/devops-exercise/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dalecp/devops-exercise/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dalecp/devops-exercise/teams","hooks_url":"https://api.github.com/repos/dalecp/devops-exercise/hooks","issue_events_url":"https://api.github.com/repos/dalecp/devops-exercise/issues/events{/number}","events_url":"https://api.github.com/repos/dalecp/devops-exercise/events","assignees_url":"https://api.github.com/repos/dalecp/devops-exercise/assignees{/user}","branches_url":"https://api.github.com/repos/dalecp/devops-exercise/branches{/branch}","tags_url":"https://api.github.com/repos/dalecp/devops-exercise/tags","blobs_url":"https://api.github.com/repos/dalecp/devops-exercise/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dalecp/devops-exercise/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dalecp/devops-exercise/git/refs{/sha}","trees_url":"https://api.github.com/repos/dalecp/devops-exercise/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dalecp/devops-exercise/statuses/{sha}","languages_url":"https://api.github.com/repos/dalecp/devops-exercise/languages","stargazers_url":"https://api.github.com/repos/dalecp/devops-exercise/stargazers","contributors_url":"https://api.github.com/repos/dalecp/devops-exercise/contributors","subscribers_url":"https://api.github.com/repos/dalecp/devops-exercise/subscribers","subscription_url":"https://api.github.com/repos/dalecp/devops-exercise/subscription","commits_url":"https://api.github.com/repos/dalecp/devops-exercise/commits{/sha}","git_commits_url":"https://api.github.com/repos/dalecp/devops-exercise/git/commits{/sha}","comments_url":"https://api.github.com/repos/dalecp/devops-exercise/comments{/number}","issue_comment_url":"https://api.github.com/repos/dalecp/devops-exercise/issues/comments{/number}","contents_url":"https://api.github.com/repos/dalecp/devops-exercise/contents/{+path}","compare_url":"https://api.github.com/repos/dalecp/devops-exercise/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dalecp/devops-exercise/merges","archive_url":"https://api.github.com/repos/dalecp/devops-exercise/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dalecp/devops-exercise/downloads","issues_url":"https://api.github.com/repos/dalecp/devops-exercise/issues{/number}","pulls_url":"https://api.github.com/repos/dalecp/devops-exercise/pulls{/number}","milestones_url":"https://api.github.com/repos/dalecp/devops-exercise/milestones{/number}","notifications_url":"https://api.github.com/repos/dalecp/devops-exercise/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dalecp/devops-exercise/labels{/name}","releases_url":"https://api.github.com/repos/dalecp/devops-exercise/releases{/id}","deployments_url":"https://api.github.com/repos/dalecp/devops-exercise/deployments","created_at":"2016-08-27T20:15:28Z","updated_at":"2016-08-27T20:15:55Z","pushed_at":"2016-08-27T20:25:57Z","git_url":"git://github.com/dalecp/devops-exercise.git","ssh_url":"git@github.com:dalecp/devops-exercise.git","clone_url":"https://github.com/dalecp/devops-exercise.git","svn_url":"https://github.com/dalecp/devops-exercise","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dalecp/devops-exercise/pulls/1"},"html":{"href":"https://github.com/dalecp/devops-exercise/pull/1"},"issue":{"href":"https://api.github.com/repos/dalecp/devops-exercise/issues/1"},"comments":{"href":"https://api.github.com/repos/dalecp/devops-exercise/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/dalecp/devops-exercise/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/dalecp/devops-exercise/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dalecp/devops-exercise/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/dalecp/devops-exercise/statuses/6466a05532a286296d6195b369035c349a973b97"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":261,"deletions":2,"changed_files":11}}
{"actor":{"display_login":"dalecp"}}