File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed
Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 33# License, v. 2.0. If a copy of the MPL was not distributed with this
44# file, You can obtain one at http://mozilla.org/MPL/2.0/.
55
6- PROJECT_NAME = "code-coverage-bot"
76HG_BASE = "https://hg.mozilla.org/"
87MOZILLA_CENTRAL_REPOSITORY = "{}mozilla-central" .format (HG_BASE )
98TRY_REPOSITORY = "{}try" .format (HG_BASE )
Original file line number Diff line number Diff line change 33# License, v. 2.0. If a copy of the MPL was not distributed with this
44# file, You can obtain one at http://mozilla.org/MPL/2.0/.
55
6- from code_coverage_bot import config
76from code_coverage_bot .taskcluster import taskcluster_config
87
98
@@ -19,7 +18,7 @@ class Secrets(dict):
1918 def load (self , taskcluster_secret ):
2019 taskcluster_config .load_secrets (
2120 taskcluster_secret ,
22- config . PROJECT_NAME ,
21+ prefixes = [ "common" , "code-coverage-bot" ] ,
2322 required = [
2423 Secrets .APP_CHANNEL ,
2524 Secrets .BACKEND_HOST ,
Original file line number Diff line number Diff line change 77import requests
88import structlog
99import taskcluster
10+ from taskcluster .helper import TaskclusterConfig
1011
1112from code_coverage_bot .utils import retry
12- from code_coverage_tools .taskcluster import TaskclusterConfig
1313
1414logger = structlog .getLogger (__name__ )
15- taskcluster_config = TaskclusterConfig ()
15+ taskcluster_config = TaskclusterConfig ("https://firefox-ci-tc.services.mozilla.com" )
1616
1717
1818def get_task (branch , revision , platform ):
You can’t perform that action at this time.
0 commit comments