{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/mozilla_ci_tools/issues/384","labels_url":"https://api.github.com/repos/mozilla/mozilla_ci_tools/issues/384/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/mozilla_ci_tools/issues/384/comments","events_url":"https://api.github.com/repos/mozilla/mozilla_ci_tools/issues/384/events","html_url":"https://github.com/mozilla/mozilla_ci_tools/issues/384","id":118115860,"number":384,"title":"Make trigger.py to schedule jobs through TaskCluster instead of Buildapi","user":{"login":"armenzg","id":44410,"avatar_url":"https://avatars.githubusercontent.com/u/44410?v=3","gravatar_id":"","url":"https://api.github.com/users/armenzg","html_url":"https://github.com/armenzg","followers_url":"https://api.github.com/users/armenzg/followers","following_url":"https://api.github.com/users/armenzg/following{/other_user}","gists_url":"https://api.github.com/users/armenzg/gists{/gist_id}","starred_url":"https://api.github.com/users/armenzg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/armenzg/subscriptions","organizations_url":"https://api.github.com/users/armenzg/orgs","repos_url":"https://api.github.com/users/armenzg/repos","events_url":"https://api.github.com/users/armenzg/events{/privacy}","received_events_url":"https://api.github.com/users/armenzg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"MikeLing","id":2166227,"avatar_url":"https://avatars.githubusercontent.com/u/2166227?v=3","gravatar_id":"","url":"https://api.github.com/users/MikeLing","html_url":"https://github.com/MikeLing","followers_url":"https://api.github.com/users/MikeLing/followers","following_url":"https://api.github.com/users/MikeLing/following{/other_user}","gists_url":"https://api.github.com/users/MikeLing/gists{/gist_id}","starred_url":"https://api.github.com/users/MikeLing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikeLing/subscriptions","organizations_url":"https://api.github.com/users/MikeLing/orgs","repos_url":"https://api.github.com/users/MikeLing/repos","events_url":"https://api.github.com/users/MikeLing/events{/privacy}","received_events_url":"https://api.github.com/users/MikeLing/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/mozilla/mozilla_ci_tools/milestones/5","html_url":"https://github.com/mozilla/mozilla_ci_tools/milestones/TaskCluster%20support","labels_url":"https://api.github.com/repos/mozilla/mozilla_ci_tools/milestones/5/labels","id":1019332,"number":5,"title":"TaskCluster support","description":"All of mozci has been written and tested against the Buildbot CI.\r\n\r\nWe also need to support TaskCluster.","creator":{"login":"armenzg","id":44410,"avatar_url":"https://avatars.githubusercontent.com/u/44410?v=3","gravatar_id":"","url":"https://api.github.com/users/armenzg","html_url":"https://github.com/armenzg","followers_url":"https://api.github.com/users/armenzg/followers","following_url":"https://api.github.com/users/armenzg/following{/other_user}","gists_url":"https://api.github.com/users/armenzg/gists{/gist_id}","starred_url":"https://api.github.com/users/armenzg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/armenzg/subscriptions","organizations_url":"https://api.github.com/users/armenzg/orgs","repos_url":"https://api.github.com/users/armenzg/repos","events_url":"https://api.github.com/users/armenzg/events{/privacy}","received_events_url":"https://api.github.com/users/armenzg/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":6,"state":"open","created_at":"2015-03-12T20:13:51Z","updated_at":"2015-11-20T20:02:34Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-11-20T20:02:34Z","updated_at":"2015-11-22T17:04:29Z","closed_at":null,"body":"trigger.py [1] currently schedules jobs through Buildapi instead of TaskCluster.\r\nWe can switch this by scheduling through the classes defined in mozci/ci_manager.py\r\nTechnologically, we want to move away from using Buildapi directly since it will be deprecated eventually.\r\n\r\nI want to allow people to say --scheduling-source 'buildapi' if they want to but default to TaskCluster.\r\n\r\n[1] https://github.com/mozilla/mozilla_ci_tools/blob/master/mozci/scripts/trigger.py\r\n[2] https://github.com/mozilla/mozilla_ci_tools/blob/master/mozci/ci_manager.py"},"comment":{"url":"https://api.github.com/repos/mozilla/mozilla_ci_tools/issues/comments/158778514","html_url":"https://github.com/mozilla/mozilla_ci_tools/issues/384#issuecomment-158778514","issue_url":"https://api.github.com/repos/mozilla/mozilla_ci_tools/issues/384","id":158778514,"user":{"login":"adusca","id":8979476,"avatar_url":"https://avatars.githubusercontent.com/u/8979476?v=3","gravatar_id":"","url":"https://api.github.com/users/adusca","html_url":"https://github.com/adusca","followers_url":"https://api.github.com/users/adusca/followers","following_url":"https://api.github.com/users/adusca/following{/other_user}","gists_url":"https://api.github.com/users/adusca/gists{/gist_id}","starred_url":"https://api.github.com/users/adusca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adusca/subscriptions","organizations_url":"https://api.github.com/users/adusca/orgs","repos_url":"https://api.github.com/users/adusca/repos","events_url":"https://api.github.com/users/adusca/events{/privacy}","received_events_url":"https://api.github.com/users/adusca/received_events","type":"User","site_admin":false},"created_at":"2015-11-22T17:04:29Z","updated_at":"2015-11-22T17:04:29Z","body":"@MikeLing Right now we do all of our trigger requests (trigger_arbitrary_job, make_retrigger_request) using [BuildApi self-serve](https://secure.pub.build.mozilla.org/buildapi/self-serve). \r\n\r\nWe would like to use BBB (Buildbot Bridge) instead. [This](https://github.com/mozilla/pulse_actions/blob/master/pulse_actions/handlers/treeherder_runnable.py#L63) is an example of using BBB to schedule a graph of builders."}}