Navigation Menu

Skip to content

Commit

Permalink
Bug 1557264 - All child tasks should be in the same TaskGroupId as th…
Browse files Browse the repository at this point in the history
…e decision task. r=jcj

Differential Revision: https://phabricator.services.mozilla.com/D33917

--HG--
extra : source : f73f87346d9bba9a1659fe7015df8d8363613e25
  • Loading branch information
abpostelnicu committed Jun 6, 2019
1 parent fe9385b commit c679872
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .taskcluster.yml
Expand Up @@ -21,10 +21,12 @@ tasks:
$if: 'repository.url[-1] == "/"'
then: {$eval: 'repository.url[:-1]'}
else: {$eval: 'repository.url'}
# scheduler id
schedulerId: 'nss-level-${repository.level}'
in:
taskId: '${ownTaskId}'
taskGroupId: '${ownTaskId}'
schedulerId: 'nss-level-${repository.level}'
schedulerId: '${schedulerId}'
created: {$fromNow: ''}
deadline: {$fromNow: '1 day'}
expires: {$fromNow: '14 days'}
Expand Down Expand Up @@ -56,6 +58,7 @@ tasks:
TC_OWNER: "${push.owner}"
TC_SOURCE: "${repository.url}"
TC_PROJECT: ${repository.project}
TC_SCHEDULER_ID: "${schedulerId}"
NSS_PUSHLOG_ID: '${push.pushlog_id}'
NSS_HEAD_REPOSITORY: '${repository.url}'
NSS_HEAD_REVISION: '${push.revision}'
Expand Down
3 changes: 2 additions & 1 deletion automation/taskcluster/graph/src/queue.js
Expand Up @@ -140,7 +140,8 @@ function convertTask(def) {
return {
provisionerId: def.provisioner || "aws-provisioner-v1",
workerType: def.workerType || "hg-worker",
schedulerId: "task-graph-scheduler",
schedulerId: process.env.TC_SCHEDULER_ID,
taskGroupId: process.env.TASK_ID,

scopes,
created: fromNow(0),
Expand Down

0 comments on commit c679872

Please sign in to comment.