Created
March 25, 2019 00:23
-
-
Save rail/9b66137088574bb14e7cdb4748257288 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/.taskcluster.yml b/.taskcluster.yml | |
--- a/.taskcluster.yml | |
+++ b/.taskcluster.yml | |
@@ -106,26 +106,25 @@ tasks: | |
- "tc-treeherder.v2.${repository.project}.${push.revision}.${push.pushlog_id}" | |
- "tc-treeherder-stage.v2.${repository.project}.${push.revision}.${push.pushlog_id}" | |
- $if: 'tasks_for == "hg-push"' | |
then: | |
- "index.comm.v2.${repository.project}.latest.taskgraph.decision" | |
- "index.comm.v2.${repository.project}.revision.${push.revision}.taskgraph.decision" | |
- "index.comm.v2.${repository.project}.pushlog-id.${push.pushlog_id}.decision" | |
- "notify.email.${ownerEmail}.on-failed" | |
- - $if: '"mozilla@hocat.ca" in ownerEmail' | |
- # Until taskcluster is ready for general consumption, don't report exceptions from taskcluster. | |
- then: "notify.email.${ownerEmail}.on-exception" | |
+ - "notify.email.${ownerEmail}.on-exception" | |
else: | |
- - $if: 'tasks_for == "action"' | |
- then: | |
- - "notify.email.taskcluster-notifications+action-task@mozilla.com.on-failed" | |
- - "notify.email.taskcluster-notifications+action-task@mozilla.com.on-exception" | |
- - "index.comm.v2.${repository.project}.pushlog-id.${_pushId}.actions.${ownTaskId}" | |
- else: "index.comm.v2.${repository.project}.latest.taskgraph.decision-${cron.job_name}" | |
+ $if: 'tasks_for == "action"' | |
+ then: | |
+ - "notify.email.taskcluster-notifications+action-task@mozilla.com.on-failed" | |
+ - "notify.email.taskcluster-notifications+action-task@mozilla.com.on-exception" | |
+ - "index.comm.v2.${repository.project}.pushlog-id.${_pushId}.actions.${ownTaskId}" | |
+ else: | |
+ - "index.comm.v2.${repository.project}.latest.taskgraph.decision-${cron.job_name}" | |
scopes: | |
$if: 'tasks_for == "hg-push"' | |
then: | |
- 'assume:repo:${repoUrl[8:]}:branch:default' | |
- 'queue:route:notify.email.${ownerEmail}.*' | |
- 'in-tree:hook-action:project-comm/in-tree-action-${repository.level}-*' | |
else: | |
@@ -151,16 +150,19 @@ tasks: | |
GECKO_HEAD_REF: 'THUNDERBIRD_60_VERBRANCH' | |
GECKO_HEAD_REV: 'ac46edc9c4223fb6613501d3287705f49d1dfc57' | |
COMM_BASE_REPOSITORY: 'https://hg.mozilla.org/comm-central' | |
COMM_HEAD_REPOSITORY: '${repoUrl}' | |
COMM_HEAD_REF: '${push.revision}' | |
COMM_HEAD_REV: '${push.revision}' | |
HG_STORE_PATH: /builds/worker/checkouts/hg-store | |
TASKCLUSTER_CACHES: /builds/worker/checkouts | |
+ # someday, these will be provided by the worker - Bug 1492664 | |
+ TASKCLUSTER_ROOT_URL: https://taskcluster.net | |
+ TASKCLUSTER_PROXY_URL: http://taskcluster | |
- $if: 'tasks_for == "action"' | |
then: | |
ACTION_TASK_GROUP_ID: '${action.taskGroupId}' # taskGroupId of the target task | |
ACTION_TASK_ID: {$json: {$eval: 'taskId'}} # taskId of the target task (JSON-encoded) | |
ACTION_INPUT: {$json: {$eval: 'input'}} | |
ACTION_CALLBACK: '${action.cb_name}' | |
ACTION_PARAMETERS: {$json: {$eval: 'parameters'}} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment