{"action":"created","comment":{"url":"https://api.github.com/repos/edx/configuration/pulls/comments/137326444","pull_request_review_id":60977290,"id":137326444,"diff_hunk":"@@ -0,0 +1,26 @@\n+jenkins_common_user: jenkins\n+jenkins_common_group: edx\n+jenkins_common_home: /var/lib/jenkins\n+jenkins_common_config_path: /init-configs\n+jenkins_common_port: 8080","path":"playbooks/roles/jenkins_common/defaults/main.yml","position":5,"original_position":5,"commit_id":"62952e642838bc223b49acf1322e9348d6dd6067","original_commit_id":"62952e642838bc223b49acf1322e9348d6dd6067","user":{"login":"jibsheet","id":57604,"avatar_url":"https://avatars2.githubusercontent.com/u/57604?v=4","gravatar_id":"","url":"https://api.github.com/users/jibsheet","html_url":"https://github.com/jibsheet","followers_url":"https://api.github.com/users/jibsheet/followers","following_url":"https://api.github.com/users/jibsheet/following{/other_user}","gists_url":"https://api.github.com/users/jibsheet/gists{/gist_id}","starred_url":"https://api.github.com/users/jibsheet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jibsheet/subscriptions","organizations_url":"https://api.github.com/users/jibsheet/orgs","repos_url":"https://api.github.com/users/jibsheet/repos","events_url":"https://api.github.com/users/jibsheet/events{/privacy}","received_events_url":"https://api.github.com/users/jibsheet/received_events","type":"User","site_admin":false},"body":"Looks like we can just use the defaults for many of these in the jenkins_build role","created_at":"2017-09-06T16:52:45Z","updated_at":"2017-09-06T16:54:08Z","html_url":"https://github.com/edx/configuration/pull/4058#discussion_r137326444","pull_request_url":"https://api.github.com/repos/edx/configuration/pulls/4058","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/edx/configuration/pulls/comments/137326444"},"html":{"href":"https://github.com/edx/configuration/pull/4058#discussion_r137326444"},"pull_request":{"href":"https://api.github.com/repos/edx/configuration/pulls/4058"}}},"pull_request":{"url":"https://api.github.com/repos/edx/configuration/pulls/4058","id":137304688,"html_url":"https://github.com/edx/configuration/pull/4058","diff_url":"https://github.com/edx/configuration/pull/4058.diff","patch_url":"https://github.com/edx/configuration/pull/4058.patch","issue_url":"https://api.github.com/repos/edx/configuration/issues/4058","number":4058,"state":"open","locked":false,"title":"Setting up new jenkins roles","user":{"login":"michaelyoungstrom","id":9468017,"avatar_url":"https://avatars2.githubusercontent.com/u/9468017?v=4","gravatar_id":"","url":"https://api.github.com/users/michaelyoungstrom","html_url":"https://github.com/michaelyoungstrom","followers_url":"https://api.github.com/users/michaelyoungstrom/followers","following_url":"https://api.github.com/users/michaelyoungstrom/following{/other_user}","gists_url":"https://api.github.com/users/michaelyoungstrom/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelyoungstrom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelyoungstrom/subscriptions","organizations_url":"https://api.github.com/users/michaelyoungstrom/orgs","repos_url":"https://api.github.com/users/michaelyoungstrom/repos","events_url":"https://api.github.com/users/michaelyoungstrom/events{/privacy}","received_events_url":"https://api.github.com/users/michaelyoungstrom/received_events","type":"User","site_admin":false},"body":"This PR creates a total of 2 new Jenkins roles: jenkins_common and jenkins_build.\r\n\r\nJenkins_common has been designed as a generic template that other teams can inherit for their own instances of Jenkins. jenkins_build is our instance of Jenkins.\r\n\r\nThese roles take advantage of our recently created repo: https://github.com/edx/jenkins-configuration in order to bootstrap the setup process for jenkins; programatically configuring plugins, adding in credentials, and generating a seed job. The files needed for defining the desired configuration exist in the `files` directory of jenkins_build, and the groovy scripts are defined by `jenkins_configuration_scripts` in jenkins_common.\r\n\r\nMy commands for running these:\r\n\r\n**Build Jenkins:** `ansible-playbook -i /path/to/host/file ../configuration/playbooks/edx-east/jenkins_build.yml -e@/path/to/general/secrets -e@/path/to/build_jenkins_secrets`\r\n\r\n**Test Jenkins:** `ansible-playbook -i /path/to/host/file ../configuration/playbooks/edx-east/jenkins_test.yml -e@/path/to/general/secrets -e@/path/to/test_jenkins_secrets`\r\n\r\nApologies for this becoming such a large PR.\r\n\r\nConfiguration Pull Request\r\n---\r\n\r\nMake sure that the following steps are done before merging:\r\n\r\n  - [ ] A DevOps team member has approved the PR.\r\n  - [ ] Are you adding any new default values that need to be overridden when this change goes live? If so:\r\n    - [ ] Update the appropriate internal repo (be sure to update for all our environments)\r\n    - [ ] If you are updating a secure value rather than an internal one, file a DEVOPS ticket with details.\r\n    - [ ] Add an entry to the CHANGELOG.\r\n  - [ ] Have you performed the proper testing specified on the [Ops Ansible Testing Checklist](https://openedx.atlassian.net/wiki/display/EdxOps/Ops+Ansible+Testing+Checklist)?\r\n","created_at":"2017-08-23T19:59:04Z","updated_at":"2017-09-06T16:54:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8591145656622d1d99db26c37723fce59efae740","assignee":null,"assignees":[],"requested_reviewers":[{"login":"jdmulloy","id":3395292,"avatar_url":"https://avatars3.githubusercontent.com/u/3395292?v=4","gravatar_id":"","url":"https://api.github.com/users/jdmulloy","html_url":"https://github.com/jdmulloy","followers_url":"https://api.github.com/users/jdmulloy/followers","following_url":"https://api.github.com/users/jdmulloy/following{/other_user}","gists_url":"https://api.github.com/users/jdmulloy/gists{/gist_id}","starred_url":"https://api.github.com/users/jdmulloy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdmulloy/subscriptions","organizations_url":"https://api.github.com/users/jdmulloy/orgs","repos_url":"https://api.github.com/users/jdmulloy/repos","events_url":"https://api.github.com/users/jdmulloy/events{/privacy}","received_events_url":"https://api.github.com/users/jdmulloy/received_events","type":"User","site_admin":false},{"login":"estute","id":9300884,"avatar_url":"https://avatars3.githubusercontent.com/u/9300884?v=4","gravatar_id":"","url":"https://api.github.com/users/estute","html_url":"https://github.com/estute","followers_url":"https://api.github.com/users/estute/followers","following_url":"https://api.github.com/users/estute/following{/other_user}","gists_url":"https://api.github.com/users/estute/gists{/gist_id}","starred_url":"https://api.github.com/users/estute/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/estute/subscriptions","organizations_url":"https://api.github.com/users/estute/orgs","repos_url":"https://api.github.com/users/estute/repos","events_url":"https://api.github.com/users/estute/events{/privacy}","received_events_url":"https://api.github.com/users/estute/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/edx/configuration/pulls/4058/commits","review_comments_url":"https://api.github.com/repos/edx/configuration/pulls/4058/comments","review_comment_url":"https://api.github.com/repos/edx/configuration/pulls/comments{/number}","comments_url":"https://api.github.com/repos/edx/configuration/issues/4058/comments","statuses_url":"https://api.github.com/repos/edx/configuration/statuses/62952e642838bc223b49acf1322e9348d6dd6067","head":{"label":"edx:youngstrom/jenkins_config","ref":"youngstrom/jenkins_config","sha":"62952e642838bc223b49acf1322e9348d6dd6067","user":{"login":"edx","id":3179841,"avatar_url":"https://avatars3.githubusercontent.com/u/3179841?v=4","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"repo":{"id":9478219,"name":"configuration","full_name":"edx/configuration","owner":{"login":"edx","id":3179841,"avatar_url":"https://avatars3.githubusercontent.com/u/3179841?v=4","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/edx/configuration","description":"A simple, but flexible, way for anyone to stand up an instance of the Open edX platform that is fully configured and ready-to-go","fork":false,"url":"https://api.github.com/repos/edx/configuration","forks_url":"https://api.github.com/repos/edx/configuration/forks","keys_url":"https://api.github.com/repos/edx/configuration/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edx/configuration/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edx/configuration/teams","hooks_url":"https://api.github.com/repos/edx/configuration/hooks","issue_events_url":"https://api.github.com/repos/edx/configuration/issues/events{/number}","events_url":"https://api.github.com/repos/edx/configuration/events","assignees_url":"https://api.github.com/repos/edx/configuration/assignees{/user}","branches_url":"https://api.github.com/repos/edx/configuration/branches{/branch}","tags_url":"https://api.github.com/repos/edx/configuration/tags","blobs_url":"https://api.github.com/repos/edx/configuration/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edx/configuration/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edx/configuration/git/refs{/sha}","trees_url":"https://api.github.com/repos/edx/configuration/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edx/configuration/statuses/{sha}","languages_url":"https://api.github.com/repos/edx/configuration/languages","stargazers_url":"https://api.github.com/repos/edx/configuration/stargazers","contributors_url":"https://api.github.com/repos/edx/configuration/contributors","subscribers_url":"https://api.github.com/repos/edx/configuration/subscribers","subscription_url":"https://api.github.com/repos/edx/configuration/subscription","commits_url":"https://api.github.com/repos/edx/configuration/commits{/sha}","git_commits_url":"https://api.github.com/repos/edx/configuration/git/commits{/sha}","comments_url":"https://api.github.com/repos/edx/configuration/comments{/number}","issue_comment_url":"https://api.github.com/repos/edx/configuration/issues/comments{/number}","contents_url":"https://api.github.com/repos/edx/configuration/contents/{+path}","compare_url":"https://api.github.com/repos/edx/configuration/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edx/configuration/merges","archive_url":"https://api.github.com/repos/edx/configuration/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edx/configuration/downloads","issues_url":"https://api.github.com/repos/edx/configuration/issues{/number}","pulls_url":"https://api.github.com/repos/edx/configuration/pulls{/number}","milestones_url":"https://api.github.com/repos/edx/configuration/milestones{/number}","notifications_url":"https://api.github.com/repos/edx/configuration/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edx/configuration/labels{/name}","releases_url":"https://api.github.com/repos/edx/configuration/releases{/id}","deployments_url":"https://api.github.com/repos/edx/configuration/deployments","created_at":"2013-04-16T17:23:42Z","updated_at":"2017-09-03T12:18:16Z","pushed_at":"2017-09-06T14:50:27Z","git_url":"git://github.com/edx/configuration.git","ssh_url":"git@github.com:edx/configuration.git","clone_url":"https://github.com/edx/configuration.git","svn_url":"https://github.com/edx/configuration","homepage":"","size":12916,"stargazers_count":601,"watchers_count":601,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":646,"mirror_url":null,"open_issues_count":99,"forks":646,"open_issues":99,"watchers":601,"default_branch":"master"}},"base":{"label":"edx:master","ref":"master","sha":"001c62916f342d60cf1f971ba0f14064556fe127","user":{"login":"edx","id":3179841,"avatar_url":"https://avatars3.githubusercontent.com/u/3179841?v=4","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"repo":{"id":9478219,"name":"configuration","full_name":"edx/configuration","owner":{"login":"edx","id":3179841,"avatar_url":"https://avatars3.githubusercontent.com/u/3179841?v=4","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/edx/configuration","description":"A simple, but flexible, way for anyone to stand up an instance of the Open edX platform that is fully configured and ready-to-go","fork":false,"url":"https://api.github.com/repos/edx/configuration","forks_url":"https://api.github.com/repos/edx/configuration/forks","keys_url":"https://api.github.com/repos/edx/configuration/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edx/configuration/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edx/configuration/teams","hooks_url":"https://api.github.com/repos/edx/configuration/hooks","issue_events_url":"https://api.github.com/repos/edx/configuration/issues/events{/number}","events_url":"https://api.github.com/repos/edx/configuration/events","assignees_url":"https://api.github.com/repos/edx/configuration/assignees{/user}","branches_url":"https://api.github.com/repos/edx/configuration/branches{/branch}","tags_url":"https://api.github.com/repos/edx/configuration/tags","blobs_url":"https://api.github.com/repos/edx/configuration/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edx/configuration/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edx/configuration/git/refs{/sha}","trees_url":"https://api.github.com/repos/edx/configuration/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edx/configuration/statuses/{sha}","languages_url":"https://api.github.com/repos/edx/configuration/languages","stargazers_url":"https://api.github.com/repos/edx/configuration/stargazers","contributors_url":"https://api.github.com/repos/edx/configuration/contributors","subscribers_url":"https://api.github.com/repos/edx/configuration/subscribers","subscription_url":"https://api.github.com/repos/edx/configuration/subscription","commits_url":"https://api.github.com/repos/edx/configuration/commits{/sha}","git_commits_url":"https://api.github.com/repos/edx/configuration/git/commits{/sha}","comments_url":"https://api.github.com/repos/edx/configuration/comments{/number}","issue_comment_url":"https://api.github.com/repos/edx/configuration/issues/comments{/number}","contents_url":"https://api.github.com/repos/edx/configuration/contents/{+path}","compare_url":"https://api.github.com/repos/edx/configuration/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edx/configuration/merges","archive_url":"https://api.github.com/repos/edx/configuration/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edx/configuration/downloads","issues_url":"https://api.github.com/repos/edx/configuration/issues{/number}","pulls_url":"https://api.github.com/repos/edx/configuration/pulls{/number}","milestones_url":"https://api.github.com/repos/edx/configuration/milestones{/number}","notifications_url":"https://api.github.com/repos/edx/configuration/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edx/configuration/labels{/name}","releases_url":"https://api.github.com/repos/edx/configuration/releases{/id}","deployments_url":"https://api.github.com/repos/edx/configuration/deployments","created_at":"2013-04-16T17:23:42Z","updated_at":"2017-09-03T12:18:16Z","pushed_at":"2017-09-06T14:50:27Z","git_url":"git://github.com/edx/configuration.git","ssh_url":"git@github.com:edx/configuration.git","clone_url":"https://github.com/edx/configuration.git","svn_url":"https://github.com/edx/configuration","homepage":"","size":12916,"stargazers_count":601,"watchers_count":601,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":646,"mirror_url":null,"open_issues_count":99,"forks":646,"open_issues":99,"watchers":601,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/edx/configuration/pulls/4058"},"html":{"href":"https://github.com/edx/configuration/pull/4058"},"issue":{"href":"https://api.github.com/repos/edx/configuration/issues/4058"},"comments":{"href":"https://api.github.com/repos/edx/configuration/issues/4058/comments"},"review_comments":{"href":"https://api.github.com/repos/edx/configuration/pulls/4058/comments"},"review_comment":{"href":"https://api.github.com/repos/edx/configuration/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/edx/configuration/pulls/4058/commits"},"statuses":{"href":"https://api.github.com/repos/edx/configuration/statuses/62952e642838bc223b49acf1322e9348d6dd6067"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"jibsheet"}}