{"action":"created","issue":{"url":"https://api.github.com/repos/openmicroscopy/infrastructure/issues/105","repository_url":"https://api.github.com/repos/openmicroscopy/infrastructure","labels_url":"https://api.github.com/repos/openmicroscopy/infrastructure/issues/105/labels{/name}","comments_url":"https://api.github.com/repos/openmicroscopy/infrastructure/issues/105/comments","events_url":"https://api.github.com/repos/openmicroscopy/infrastructure/issues/105/events","html_url":"https://github.com/openmicroscopy/infrastructure/pull/105","id":172290270,"number":105,"title":"improve ci deployment","user":{"login":"aleksandra-tarkowska","id":1065155,"avatar_url":"https://avatars.githubusercontent.com/u/1065155?v=3","gravatar_id":"","url":"https://api.github.com/users/aleksandra-tarkowska","html_url":"https://github.com/aleksandra-tarkowska","followers_url":"https://api.github.com/users/aleksandra-tarkowska/followers","following_url":"https://api.github.com/users/aleksandra-tarkowska/following{/other_user}","gists_url":"https://api.github.com/users/aleksandra-tarkowska/gists{/gist_id}","starred_url":"https://api.github.com/users/aleksandra-tarkowska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aleksandra-tarkowska/subscriptions","organizations_url":"https://api.github.com/users/aleksandra-tarkowska/orgs","repos_url":"https://api.github.com/users/aleksandra-tarkowska/repos","events_url":"https://api.github.com/users/aleksandra-tarkowska/events{/privacy}","received_events_url":"https://api.github.com/users/aleksandra-tarkowska/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-08-20T20:53:10Z","updated_at":"2016-08-24T03:55:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openmicroscopy/infrastructure/pulls/105","html_url":"https://github.com/openmicroscopy/infrastructure/pull/105","diff_url":"https://github.com/openmicroscopy/infrastructure/pull/105.diff","patch_url":"https://github.com/openmicroscopy/infrastructure/pull/105.patch"},"body":"This PR improve ci slave deployment:\r\n - add epel repo\r\n - add hudson to sudoers\r\n - add omero postgres user and allow creating DB\r\n\r\n\r\nTest\r\n- clone https://github.com/openmicroscopy/management_tools/pull/181\r\n- define `management_tools/ansible/ci/ci-test-hosts`:\r\n\r\n ```\r\n# Jenkins CI slave nodes\r\n[ci-jenkins-linux]\r\nip1 (server)\r\nip2 (web)\r\n\r\n[ci-omero]\r\nip1\r\n\r\n[ci-omero-web]\r\nip2\r\n```\r\n- clone this\r\n- cd infrastructure/ansible\r\n\r\n- run playbook\r\n\r\n ```\r\nansible-playbook -i ../../management_tools/ansible/ci/ci-test-hosts  -vv -u centos ci-deployment.yml\r\n```\r\n\r\nJenkins authorized key is set in https://github.com/openmicroscopy/management_tools/blob/master/ansible/ci/group_vars/ci-jenkins-linux#L8. make sure appropriate `SSH Username with private key` is chosen to Jenkins before connecting to the node.\r\n\r\nsee http://10.0.51.148/\r\n\r\n\r\nTodo:\r\n- no strategy for storing snoopy ssh keys\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/openmicroscopy/infrastructure/issues/comments/241950827","html_url":"https://github.com/openmicroscopy/infrastructure/pull/105#issuecomment-241950827","issue_url":"https://api.github.com/repos/openmicroscopy/infrastructure/issues/105","id":241950827,"user":{"login":"snoopycrimecop","id":2544838,"avatar_url":"https://avatars.githubusercontent.com/u/2544838?v=3","gravatar_id":"","url":"https://api.github.com/users/snoopycrimecop","html_url":"https://github.com/snoopycrimecop","followers_url":"https://api.github.com/users/snoopycrimecop/followers","following_url":"https://api.github.com/users/snoopycrimecop/following{/other_user}","gists_url":"https://api.github.com/users/snoopycrimecop/gists{/gist_id}","starred_url":"https://api.github.com/users/snoopycrimecop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snoopycrimecop/subscriptions","organizations_url":"https://api.github.com/users/snoopycrimecop/orgs","repos_url":"https://api.github.com/users/snoopycrimecop/repos","events_url":"https://api.github.com/users/snoopycrimecop/events{/privacy}","received_events_url":"https://api.github.com/users/snoopycrimecop/received_events","type":"User","site_admin":false},"created_at":"2016-08-24T03:55:14Z","updated_at":"2016-08-24T03:55:14Z","body":"Conflicting PR. Removed from build [MANAGEMENT_TOOLS-merge#875](https://ci.openmicroscopy.org/job/MANAGEMENT_TOOLS-merge/875/). See the [console output](https://ci.openmicroscopy.org/job/MANAGEMENT_TOOLS-merge/875/consoleText) for more details.\nPossible conflicts:\n  - PR #45 joshmoore 'wip: Move all VIRTUALENV-upgrade items to ansible'\n    - ansible/roles/jenkinsslave/tasks/setup_virtualenv.yml"}}
{"actor":{"display_login":"snoopycrimecop"}}