{"action":"created","comment":{"url":"https://api.github.com/repos/redhat-nfvpe/ansible-cira/pulls/comments/84539083","pull_request_review_id":5313567,"id":84539083,"diff_hunk":"@@ -134,6 +143,49 @@ configuration to the virtual machines. The deployment uses the built in default\n networking configuration that Vagrant instantiates. At the end of the run, the\n web interface addresses for Jenkins and Kibana will be displayed.\n \n+## Base Deployment (docker)\n+\n+Start by creating `hosts/containers` (or similar) and add your baremetal machine\n+with the following template:\n+\n+    jenkins_master\n+    logstash\n+    elasticsearch\n+    kibana\n+\n+These name (e.g. jenkins_master, logstash...) should be matched with container name in cira-container.yml.\n+\n+### Adding baremetal slaves into docker deployment\n+If you need to add jenkins slaves (baremetal), add slave information in 'hosts/containers'\n+as following (please add 'ansible_connection=ssh').\n+\n+    [jenkins_slave]\n+    slave01 ansible_connection=ssh ansible_host=10.10.1.1 ansible_user=ansible\n+\n+    [jenkins_slave:vars]\n+    slave_description=CIRA Testing Node\n+    slave_remoteFS=/home/stack\n+    slave_port=22\n+    slave_credentialsId=stack-credential\n+    slave_label=cira\n+\n+### Running container and start provisioning\n+Then, you can run following commands to setup containers and to setup cira environments.","path":"README.md","position":58,"original_position":58,"commit_id":"11c56a2d77492daa29f4ea94dd3aaf81cba98cee","original_commit_id":"11c56a2d77492daa29f4ea94dd3aaf81cba98cee","user":{"login":"leifmadsen","id":768751,"avatar_url":"https://avatars.githubusercontent.com/u/768751?v=3","gravatar_id":"","url":"https://api.github.com/users/leifmadsen","html_url":"https://github.com/leifmadsen","followers_url":"https://api.github.com/users/leifmadsen/followers","following_url":"https://api.github.com/users/leifmadsen/following{/other_user}","gists_url":"https://api.github.com/users/leifmadsen/gists{/gist_id}","starred_url":"https://api.github.com/users/leifmadsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leifmadsen/subscriptions","organizations_url":"https://api.github.com/users/leifmadsen/orgs","repos_url":"https://api.github.com/users/leifmadsen/repos","events_url":"https://api.github.com/users/leifmadsen/events{/privacy}","received_events_url":"https://api.github.com/users/leifmadsen/received_events","type":"User","site_admin":false},"body":"run the following\r\n\r\ns/cira/CIRA/\r\n\r\nand to setup the CIRA environment.","created_at":"2016-10-21T20:30:48Z","updated_at":"2016-10-21T20:36:53Z","html_url":"https://github.com/redhat-nfvpe/ansible-cira/pull/49#discussion_r84539083","pull_request_url":"https://api.github.com/repos/redhat-nfvpe/ansible-cira/pulls/49","_links":{"self":{"href":"https://api.github.com/repos/redhat-nfvpe/ansible-cira/pulls/comments/84539083"},"html":{"href":"https://github.com/redhat-nfvpe/ansible-cira/pull/49#discussion_r84539083"},"pull_request":{"href":"https://api.github.com/repos/redhat-nfvpe/ansible-cira/pulls/49"}}},"pull_request":{"url":"https://api.github.com/repos/redhat-nfvpe/ansible-cira/pulls/49","id":90317941,"html_url":"https://github.com/redhat-nfvpe/ansible-cira/pull/49","diff_url":"https://github.com/redhat-nfvpe/ansible-cira/pull/49.diff","patch_url":"https://github.com/redhat-nfvpe/ansible-cira/pull/49.patch","issue_url":"https://api.github.com/repos/redhat-nfvpe/ansible-cira/issues/49","number":49,"state":"open","locked":false,"title":"Inital support for docker container","user":{"login":"s1061123","id":144616,"avatar_url":"https://avatars.githubusercontent.com/u/144616?v=3","gravatar_id":"","url":"https://api.github.com/users/s1061123","html_url":"https://github.com/s1061123","followers_url":"https://api.github.com/users/s1061123/followers","following_url":"https://api.github.com/users/s1061123/following{/other_user}","gists_url":"https://api.github.com/users/s1061123/gists{/gist_id}","starred_url":"https://api.github.com/users/s1061123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s1061123/subscriptions","organizations_url":"https://api.github.com/users/s1061123/orgs","repos_url":"https://api.github.com/users/s1061123/repos","events_url":"https://api.github.com/users/s1061123/events{/privacy}","received_events_url":"https://api.github.com/users/s1061123/received_events","type":"User","site_admin":false},"body":"This patch supports docker container for jenkins_master/ELK in cira, Issue #48 .\r\nThis change introduce docker-compose.yml to run docker container and deploy_type to identify which platform is target (docker, vagrant or OpenStack).\r\n\r\nThis changes has been tested the following platforms:\r\n\r\n- CentOS (with docker container)\r\n- Fedora (with docker container)\r\n- CentOS (with OpenStack, for regression)","created_at":"2016-10-21T03:32:26Z","updated_at":"2016-10-21T20:36:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"aa97d6a9d9e067be74031087dcf554cc23e9af7c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/redhat-nfvpe/ansible-cira/pulls/49/commits","review_comments_url":"https://api.github.com/repos/redhat-nfvpe/ansible-cira/pulls/49/comments","review_comment_url":"https://api.github.com/repos/redhat-nfvpe/ansible-cira/pulls/comments{/number}","comments_url":"https://api.github.com/repos/redhat-nfvpe/ansible-cira/issues/49/comments","statuses_url":"https://api.github.com/repos/redhat-nfvpe/ansible-cira/statuses/11c56a2d77492daa29f4ea94dd3aaf81cba98cee","head":{"label":"s1061123:feature/docker","ref":"feature/docker","sha":"11c56a2d77492daa29f4ea94dd3aaf81cba98cee","user":{"login":"s1061123","id":144616,"avatar_url":"https://avatars.githubusercontent.com/u/144616?v=3","gravatar_id":"","url":"https://api.github.com/users/s1061123","html_url":"https://github.com/s1061123","followers_url":"https://api.github.com/users/s1061123/followers","following_url":"https://api.github.com/users/s1061123/following{/other_user}","gists_url":"https://api.github.com/users/s1061123/gists{/gist_id}","starred_url":"https://api.github.com/users/s1061123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s1061123/subscriptions","organizations_url":"https://api.github.com/users/s1061123/orgs","repos_url":"https://api.github.com/users/s1061123/repos","events_url":"https://api.github.com/users/s1061123/events{/privacy}","received_events_url":"https://api.github.com/users/s1061123/received_events","type":"User","site_admin":false},"repo":{"id":66621290,"name":"ansible-cira","full_name":"s1061123/ansible-cira","owner":{"login":"s1061123","id":144616,"avatar_url":"https://avatars.githubusercontent.com/u/144616?v=3","gravatar_id":"","url":"https://api.github.com/users/s1061123","html_url":"https://github.com/s1061123","followers_url":"https://api.github.com/users/s1061123/followers","following_url":"https://api.github.com/users/s1061123/following{/other_user}","gists_url":"https://api.github.com/users/s1061123/gists{/gist_id}","starred_url":"https://api.github.com/users/s1061123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s1061123/subscriptions","organizations_url":"https://api.github.com/users/s1061123/orgs","repos_url":"https://api.github.com/users/s1061123/repos","events_url":"https://api.github.com/users/s1061123/events{/privacy}","received_events_url":"https://api.github.com/users/s1061123/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/s1061123/ansible-cira","description":"Deploy CI infra with Jenkins to test OpenStack with oooq","fork":true,"url":"https://api.github.com/repos/s1061123/ansible-cira","forks_url":"https://api.github.com/repos/s1061123/ansible-cira/forks","keys_url":"https://api.github.com/repos/s1061123/ansible-cira/keys{/key_id}","collaborators_url":"https://api.github.com/repos/s1061123/ansible-cira/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/s1061123/ansible-cira/teams","hooks_url":"https://api.github.com/repos/s1061123/ansible-cira/hooks","issue_events_url":"https://api.github.com/repos/s1061123/ansible-cira/issues/events{/number}","events_url":"https://api.github.com/repos/s1061123/ansible-cira/events","assignees_url":"https://api.github.com/repos/s1061123/ansible-cira/assignees{/user}","branches_url":"https://api.github.com/repos/s1061123/ansible-cira/branches{/branch}","tags_url":"https://api.github.com/repos/s1061123/ansible-cira/tags","blobs_url":"https://api.github.com/repos/s1061123/ansible-cira/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/s1061123/ansible-cira/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/s1061123/ansible-cira/git/refs{/sha}","trees_url":"https://api.github.com/repos/s1061123/ansible-cira/git/trees{/sha}","statuses_url":"https://api.github.com/repos/s1061123/ansible-cira/statuses/{sha}","languages_url":"https://api.github.com/repos/s1061123/ansible-cira/languages","stargazers_url":"https://api.github.com/repos/s1061123/ansible-cira/stargazers","contributors_url":"https://api.github.com/repos/s1061123/ansible-cira/contributors","subscribers_url":"https://api.github.com/repos/s1061123/ansible-cira/subscribers","subscription_url":"https://api.github.com/repos/s1061123/ansible-cira/subscription","commits_url":"https://api.github.com/repos/s1061123/ansible-cira/commits{/sha}","git_commits_url":"https://api.github.com/repos/s1061123/ansible-cira/git/commits{/sha}","comments_url":"https://api.github.com/repos/s1061123/ansible-cira/comments{/number}","issue_comment_url":"https://api.github.com/repos/s1061123/ansible-cira/issues/comments{/number}","contents_url":"https://api.github.com/repos/s1061123/ansible-cira/contents/{+path}","compare_url":"https://api.github.com/repos/s1061123/ansible-cira/compare/{base}...{head}","merges_url":"https://api.github.com/repos/s1061123/ansible-cira/merges","archive_url":"https://api.github.com/repos/s1061123/ansible-cira/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/s1061123/ansible-cira/downloads","issues_url":"https://api.github.com/repos/s1061123/ansible-cira/issues{/number}","pulls_url":"https://api.github.com/repos/s1061123/ansible-cira/pulls{/number}","milestones_url":"https://api.github.com/repos/s1061123/ansible-cira/milestones{/number}","notifications_url":"https://api.github.com/repos/s1061123/ansible-cira/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/s1061123/ansible-cira/labels{/name}","releases_url":"https://api.github.com/repos/s1061123/ansible-cira/releases{/id}","deployments_url":"https://api.github.com/repos/s1061123/ansible-cira/deployments","created_at":"2016-08-26T06:08:53Z","updated_at":"2016-07-19T17:39:42Z","pushed_at":"2016-10-21T03:20:44Z","git_url":"git://github.com/s1061123/ansible-cira.git","ssh_url":"git@github.com:s1061123/ansible-cira.git","clone_url":"https://github.com/s1061123/ansible-cira.git","svn_url":"https://github.com/s1061123/ansible-cira","homepage":"","size":133,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"redhat-nfvpe:master","ref":"master","sha":"7546eba7a124be8e2d6fe7887e0ffc4dee10f176","user":{"login":"redhat-nfvpe","id":20420992,"avatar_url":"https://avatars.githubusercontent.com/u/20420992?v=3","gravatar_id":"","url":"https://api.github.com/users/redhat-nfvpe","html_url":"https://github.com/redhat-nfvpe","followers_url":"https://api.github.com/users/redhat-nfvpe/followers","following_url":"https://api.github.com/users/redhat-nfvpe/following{/other_user}","gists_url":"https://api.github.com/users/redhat-nfvpe/gists{/gist_id}","starred_url":"https://api.github.com/users/redhat-nfvpe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redhat-nfvpe/subscriptions","organizations_url":"https://api.github.com/users/redhat-nfvpe/orgs","repos_url":"https://api.github.com/users/redhat-nfvpe/repos","events_url":"https://api.github.com/users/redhat-nfvpe/events{/privacy}","received_events_url":"https://api.github.com/users/redhat-nfvpe/received_events","type":"User","site_admin":false},"repo":{"id":63163546,"name":"ansible-cira","full_name":"redhat-nfvpe/ansible-cira","owner":{"login":"redhat-nfvpe","id":20420992,"avatar_url":"https://avatars.githubusercontent.com/u/20420992?v=3","gravatar_id":"","url":"https://api.github.com/users/redhat-nfvpe","html_url":"https://github.com/redhat-nfvpe","followers_url":"https://api.github.com/users/redhat-nfvpe/followers","following_url":"https://api.github.com/users/redhat-nfvpe/following{/other_user}","gists_url":"https://api.github.com/users/redhat-nfvpe/gists{/gist_id}","starred_url":"https://api.github.com/users/redhat-nfvpe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redhat-nfvpe/subscriptions","organizations_url":"https://api.github.com/users/redhat-nfvpe/orgs","repos_url":"https://api.github.com/users/redhat-nfvpe/repos","events_url":"https://api.github.com/users/redhat-nfvpe/events{/privacy}","received_events_url":"https://api.github.com/users/redhat-nfvpe/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/redhat-nfvpe/ansible-cira","description":"Deploy CI infra with Jenkins to test OpenStack with oooq","fork":false,"url":"https://api.github.com/repos/redhat-nfvpe/ansible-cira","forks_url":"https://api.github.com/repos/redhat-nfvpe/ansible-cira/forks","keys_url":"https://api.github.com/repos/redhat-nfvpe/ansible-cira/keys{/key_id}","collaborators_url":"https://api.github.com/repos/redhat-nfvpe/ansible-cira/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/redhat-nfvpe/ansible-cira/teams","hooks_url":"https://api.github.com/repos/redhat-nfvpe/ansible-cira/hooks","issue_events_url":"https://api.github.com/repos/redhat-nfvpe/ansible-cira/issues/events{/number}","events_url":"https://api.github.com/repos/redhat-nfvpe/ansible-cira/events","assignees_url":"https://api.github.com/repos/redhat-nfvpe/ansible-cira/assignees{/user}","branches_url":"https://api.github.com/repos/redhat-nfvpe/ansible-cira/branches{/branch}","tags_url":"https://api.github.com/repos/redhat-nfvpe/ansible-cira/tags","blobs_url":"https://api.github.com/repos/redhat-nfvpe/ansible-cira/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/redhat-nfvpe/ansible-cira/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/redhat-nfvpe/ansible-cira/git/refs{/sha}","trees_url":"https://api.github.com/repos/redhat-nfvpe/ansible-cira/git/trees{/sha}","statuses_url":"https://api.github.com/repos/redhat-nfvpe/ansible-cira/statuses/{sha}","languages_url":"https://api.github.com/repos/redhat-nfvpe/ansible-cira/languages","stargazers_url":"https://api.github.com/repos/redhat-nfvpe/ansible-cira/stargazers","contributors_url":"https://api.github.com/repos/redhat-nfvpe/ansible-cira/contributors","subscribers_url":"https://api.github.com/repos/redhat-nfvpe/ansible-cira/subscribers","subscription_url":"https://api.github.com/repos/redhat-nfvpe/ansible-cira/subscription","commits_url":"https://api.github.com/repos/redhat-nfvpe/ansible-cira/commits{/sha}","git_commits_url":"https://api.github.com/repos/redhat-nfvpe/ansible-cira/git/commits{/sha}","comments_url":"https://api.github.com/repos/redhat-nfvpe/ansible-cira/comments{/number}","issue_comment_url":"https://api.github.com/repos/redhat-nfvpe/ansible-cira/issues/comments{/number}","contents_url":"https://api.github.com/repos/redhat-nfvpe/ansible-cira/contents/{+path}","compare_url":"https://api.github.com/repos/redhat-nfvpe/ansible-cira/compare/{base}...{head}","merges_url":"https://api.github.com/repos/redhat-nfvpe/ansible-cira/merges","archive_url":"https://api.github.com/repos/redhat-nfvpe/ansible-cira/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/redhat-nfvpe/ansible-cira/downloads","issues_url":"https://api.github.com/repos/redhat-nfvpe/ansible-cira/issues{/number}","pulls_url":"https://api.github.com/repos/redhat-nfvpe/ansible-cira/pulls{/number}","milestones_url":"https://api.github.com/repos/redhat-nfvpe/ansible-cira/milestones{/number}","notifications_url":"https://api.github.com/repos/redhat-nfvpe/ansible-cira/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/redhat-nfvpe/ansible-cira/labels{/name}","releases_url":"https://api.github.com/repos/redhat-nfvpe/ansible-cira/releases{/id}","deployments_url":"https://api.github.com/repos/redhat-nfvpe/ansible-cira/deployments","created_at":"2016-07-12T14:12:29Z","updated_at":"2016-09-22T13:06:09Z","pushed_at":"2016-10-21T03:32:26Z","git_url":"git://github.com/redhat-nfvpe/ansible-cira.git","ssh_url":"git@github.com:redhat-nfvpe/ansible-cira.git","clone_url":"https://github.com/redhat-nfvpe/ansible-cira.git","svn_url":"https://github.com/redhat-nfvpe/ansible-cira","homepage":"","size":131,"stargazers_count":2,"watchers_count":2,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":7,"forks":3,"open_issues":7,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/redhat-nfvpe/ansible-cira/pulls/49"},"html":{"href":"https://github.com/redhat-nfvpe/ansible-cira/pull/49"},"issue":{"href":"https://api.github.com/repos/redhat-nfvpe/ansible-cira/issues/49"},"comments":{"href":"https://api.github.com/repos/redhat-nfvpe/ansible-cira/issues/49/comments"},"review_comments":{"href":"https://api.github.com/repos/redhat-nfvpe/ansible-cira/pulls/49/comments"},"review_comment":{"href":"https://api.github.com/repos/redhat-nfvpe/ansible-cira/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/redhat-nfvpe/ansible-cira/pulls/49/commits"},"statuses":{"href":"https://api.github.com/repos/redhat-nfvpe/ansible-cira/statuses/11c56a2d77492daa29f4ea94dd3aaf81cba98cee"}}}}
{"actor":{"display_login":"leifmadsen"}}