{"action":"closed","number":53,"pull_request":{"url":"https://api.github.com/repos/edx/jenkins-job-dsl/pulls/53","id":82063943,"html_url":"https://github.com/edx/jenkins-job-dsl/pull/53","diff_url":"https://github.com/edx/jenkins-job-dsl/pull/53.diff","patch_url":"https://github.com/edx/jenkins-job-dsl/pull/53.patch","issue_url":"https://api.github.com/repos/edx/jenkins-job-dsl/issues/53","number":53,"state":"closed","locked":false,"title":"wip moving ecom jobs to public repo","user":{"login":"e0d","id":1270274,"avatar_url":"https://avatars.githubusercontent.com/u/1270274?v=3","gravatar_id":"","url":"https://api.github.com/users/e0d","html_url":"https://github.com/e0d","followers_url":"https://api.github.com/users/e0d/followers","following_url":"https://api.github.com/users/e0d/following{/other_user}","gists_url":"https://api.github.com/users/e0d/gists{/gist_id}","starred_url":"https://api.github.com/users/e0d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/e0d/subscriptions","organizations_url":"https://api.github.com/users/e0d/orgs","repos_url":"https://api.github.com/users/e0d/repos","events_url":"https://api.github.com/users/e0d/events{/privacy}","received_events_url":"https://api.github.com/users/e0d/received_events","type":"User","site_admin":false},"body":"@jibsheet not as much as I had wanted, however, this will depend on the work you are doing to build a virtualenv for configuration and to be able to assume roles.\r\n\r\nThe original ECOM command definitions are here:\r\n\r\nhttps://github.com/edx-ops/edx-jenkins-job-dsl/blob/master/src/main/groovy/org/edx/jenkins/dsl/Constants.groovy#L150\r\n\r\nI think the definitions should be read in as secrets.\r\n\r\nactual command run via ansible will look something like this for IDAs:\r\n\r\n```\r\nansible all -i '10.0.0.235,' -u user -m shell -a '. /edx/app/discovery/discovery_env && sudo -E -u discovery /edx/app/discovery/venvs/discovery/bin/python /edx/app/discovery/discovery/manage.py refresh_course_metadata'\r\n```\r\n\r\nThe corresponding command defined in the automated vars would be \r\n\r\n```\r\n/edx/app/discovery/discovery_env && sudo -E -u discovery /edx/app/discovery/venvs/discovery/bin/python /edx/app/discovery/discovery/manage.py refresh_course_metadata\r\n```\r\n","created_at":"2016-08-20T00:59:59Z","updated_at":"2016-09-23T19:46:58Z","closed_at":"2016-09-23T19:46:58Z","merged_at":"2016-09-23T19:46:58Z","merge_commit_sha":"b08e6ab343af4236488ce780808be618cc6e5b7f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/edx/jenkins-job-dsl/pulls/53/commits","review_comments_url":"https://api.github.com/repos/edx/jenkins-job-dsl/pulls/53/comments","review_comment_url":"https://api.github.com/repos/edx/jenkins-job-dsl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/edx/jenkins-job-dsl/issues/53/comments","statuses_url":"https://api.github.com/repos/edx/jenkins-job-dsl/statuses/59dbb32374bebd1b34d010f475475db69e10f56b","head":{"label":"edx:e0d/ecom-jobs","ref":"e0d/ecom-jobs","sha":"59dbb32374bebd1b34d010f475475db69e10f56b","user":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","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":58765632,"name":"jenkins-job-dsl","full_name":"edx/jenkins-job-dsl","owner":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","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/jenkins-job-dsl","description":"","fork":false,"url":"https://api.github.com/repos/edx/jenkins-job-dsl","forks_url":"https://api.github.com/repos/edx/jenkins-job-dsl/forks","keys_url":"https://api.github.com/repos/edx/jenkins-job-dsl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edx/jenkins-job-dsl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edx/jenkins-job-dsl/teams","hooks_url":"https://api.github.com/repos/edx/jenkins-job-dsl/hooks","issue_events_url":"https://api.github.com/repos/edx/jenkins-job-dsl/issues/events{/number}","events_url":"https://api.github.com/repos/edx/jenkins-job-dsl/events","assignees_url":"https://api.github.com/repos/edx/jenkins-job-dsl/assignees{/user}","branches_url":"https://api.github.com/repos/edx/jenkins-job-dsl/branches{/branch}","tags_url":"https://api.github.com/repos/edx/jenkins-job-dsl/tags","blobs_url":"https://api.github.com/repos/edx/jenkins-job-dsl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edx/jenkins-job-dsl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edx/jenkins-job-dsl/git/refs{/sha}","trees_url":"https://api.github.com/repos/edx/jenkins-job-dsl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edx/jenkins-job-dsl/statuses/{sha}","languages_url":"https://api.github.com/repos/edx/jenkins-job-dsl/languages","stargazers_url":"https://api.github.com/repos/edx/jenkins-job-dsl/stargazers","contributors_url":"https://api.github.com/repos/edx/jenkins-job-dsl/contributors","subscribers_url":"https://api.github.com/repos/edx/jenkins-job-dsl/subscribers","subscription_url":"https://api.github.com/repos/edx/jenkins-job-dsl/subscription","commits_url":"https://api.github.com/repos/edx/jenkins-job-dsl/commits{/sha}","git_commits_url":"https://api.github.com/repos/edx/jenkins-job-dsl/git/commits{/sha}","comments_url":"https://api.github.com/repos/edx/jenkins-job-dsl/comments{/number}","issue_comment_url":"https://api.github.com/repos/edx/jenkins-job-dsl/issues/comments{/number}","contents_url":"https://api.github.com/repos/edx/jenkins-job-dsl/contents/{+path}","compare_url":"https://api.github.com/repos/edx/jenkins-job-dsl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edx/jenkins-job-dsl/merges","archive_url":"https://api.github.com/repos/edx/jenkins-job-dsl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edx/jenkins-job-dsl/downloads","issues_url":"https://api.github.com/repos/edx/jenkins-job-dsl/issues{/number}","pulls_url":"https://api.github.com/repos/edx/jenkins-job-dsl/pulls{/number}","milestones_url":"https://api.github.com/repos/edx/jenkins-job-dsl/milestones{/number}","notifications_url":"https://api.github.com/repos/edx/jenkins-job-dsl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edx/jenkins-job-dsl/labels{/name}","releases_url":"https://api.github.com/repos/edx/jenkins-job-dsl/releases{/id}","deployments_url":"https://api.github.com/repos/edx/jenkins-job-dsl/deployments","created_at":"2016-05-13T19:03:50Z","updated_at":"2016-06-03T15:18:56Z","pushed_at":"2016-09-23T19:46:58Z","git_url":"git://github.com/edx/jenkins-job-dsl.git","ssh_url":"git@github.com:edx/jenkins-job-dsl.git","clone_url":"https://github.com/edx/jenkins-job-dsl.git","svn_url":"https://github.com/edx/jenkins-job-dsl","homepage":null,"size":286,"stargazers_count":0,"watchers_count":0,"language":"Groovy","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"edx:master","ref":"master","sha":"44c40b54e9a287bd89b53c0afe957d04aa032519","user":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","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":58765632,"name":"jenkins-job-dsl","full_name":"edx/jenkins-job-dsl","owner":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","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/jenkins-job-dsl","description":"","fork":false,"url":"https://api.github.com/repos/edx/jenkins-job-dsl","forks_url":"https://api.github.com/repos/edx/jenkins-job-dsl/forks","keys_url":"https://api.github.com/repos/edx/jenkins-job-dsl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edx/jenkins-job-dsl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edx/jenkins-job-dsl/teams","hooks_url":"https://api.github.com/repos/edx/jenkins-job-dsl/hooks","issue_events_url":"https://api.github.com/repos/edx/jenkins-job-dsl/issues/events{/number}","events_url":"https://api.github.com/repos/edx/jenkins-job-dsl/events","assignees_url":"https://api.github.com/repos/edx/jenkins-job-dsl/assignees{/user}","branches_url":"https://api.github.com/repos/edx/jenkins-job-dsl/branches{/branch}","tags_url":"https://api.github.com/repos/edx/jenkins-job-dsl/tags","blobs_url":"https://api.github.com/repos/edx/jenkins-job-dsl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edx/jenkins-job-dsl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edx/jenkins-job-dsl/git/refs{/sha}","trees_url":"https://api.github.com/repos/edx/jenkins-job-dsl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edx/jenkins-job-dsl/statuses/{sha}","languages_url":"https://api.github.com/repos/edx/jenkins-job-dsl/languages","stargazers_url":"https://api.github.com/repos/edx/jenkins-job-dsl/stargazers","contributors_url":"https://api.github.com/repos/edx/jenkins-job-dsl/contributors","subscribers_url":"https://api.github.com/repos/edx/jenkins-job-dsl/subscribers","subscription_url":"https://api.github.com/repos/edx/jenkins-job-dsl/subscription","commits_url":"https://api.github.com/repos/edx/jenkins-job-dsl/commits{/sha}","git_commits_url":"https://api.github.com/repos/edx/jenkins-job-dsl/git/commits{/sha}","comments_url":"https://api.github.com/repos/edx/jenkins-job-dsl/comments{/number}","issue_comment_url":"https://api.github.com/repos/edx/jenkins-job-dsl/issues/comments{/number}","contents_url":"https://api.github.com/repos/edx/jenkins-job-dsl/contents/{+path}","compare_url":"https://api.github.com/repos/edx/jenkins-job-dsl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edx/jenkins-job-dsl/merges","archive_url":"https://api.github.com/repos/edx/jenkins-job-dsl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edx/jenkins-job-dsl/downloads","issues_url":"https://api.github.com/repos/edx/jenkins-job-dsl/issues{/number}","pulls_url":"https://api.github.com/repos/edx/jenkins-job-dsl/pulls{/number}","milestones_url":"https://api.github.com/repos/edx/jenkins-job-dsl/milestones{/number}","notifications_url":"https://api.github.com/repos/edx/jenkins-job-dsl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edx/jenkins-job-dsl/labels{/name}","releases_url":"https://api.github.com/repos/edx/jenkins-job-dsl/releases{/id}","deployments_url":"https://api.github.com/repos/edx/jenkins-job-dsl/deployments","created_at":"2016-05-13T19:03:50Z","updated_at":"2016-06-03T15:18:56Z","pushed_at":"2016-09-23T19:46:58Z","git_url":"git://github.com/edx/jenkins-job-dsl.git","ssh_url":"git@github.com:edx/jenkins-job-dsl.git","clone_url":"https://github.com/edx/jenkins-job-dsl.git","svn_url":"https://github.com/edx/jenkins-job-dsl","homepage":null,"size":286,"stargazers_count":0,"watchers_count":0,"language":"Groovy","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/edx/jenkins-job-dsl/pulls/53"},"html":{"href":"https://github.com/edx/jenkins-job-dsl/pull/53"},"issue":{"href":"https://api.github.com/repos/edx/jenkins-job-dsl/issues/53"},"comments":{"href":"https://api.github.com/repos/edx/jenkins-job-dsl/issues/53/comments"},"review_comments":{"href":"https://api.github.com/repos/edx/jenkins-job-dsl/pulls/53/comments"},"review_comment":{"href":"https://api.github.com/repos/edx/jenkins-job-dsl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/edx/jenkins-job-dsl/pulls/53/commits"},"statuses":{"href":"https://api.github.com/repos/edx/jenkins-job-dsl/statuses/59dbb32374bebd1b34d010f475475db69e10f56b"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jibsheet","id":57604,"avatar_url":"https://avatars.githubusercontent.com/u/57604?v=3","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},"comments":3,"review_comments":0,"commits":7,"additions":195,"deletions":0,"changed_files":3}}
{"actor":{"display_login":"jibsheet"}}