summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Prince <mozilla@hocat.ca>2019-11-07 19:58:42 +0000
committerTom Prince <mozilla@hocat.ca>2019-11-07 19:58:42 +0000
commitaaa1fcd614e680d03a6f0df71ada728fe46a0dde (patch)
tree4054e07627a55e09e423c2ebce03d5c7b60060e2
parent58b17c71f8b5792ec4a85af457a861818f5f3942 (diff)
downloadnss-hg-aaa1fcd614e680d03a6f0df71ada728fe46a0dde.tar.gz
Bug 1591275: Switch workers to use AWS Provder; r=kjacobs
Differential Revision: https://phabricator.services.mozilla.com/D51952
-rw-r--r--.taskcluster.yml5
-rw-r--r--automation/taskcluster/graph/src/extend.js2
-rw-r--r--automation/taskcluster/graph/src/queue.js4
3 files changed, 6 insertions, 5 deletions
diff --git a/.taskcluster.yml b/.taskcluster.yml
index 05bade965..0cc9e363e 100644
--- a/.taskcluster.yml
+++ b/.taskcluster.yml
@@ -38,8 +38,8 @@ tasks:
description: |
The task that creates all of the other tasks in the task graph
- workerType: "hg-worker"
- provisionerId: "aws-provisioner-v1"
+ workerType: "linux"
+ provisionerId: "nss-${repository.level}"
scopes:
- 'assume:repo:${repoUrl[8:]}:branch:default'
@@ -59,6 +59,7 @@ tasks:
TC_SOURCE: "${repository.url}"
TC_PROJECT: ${repository.project}
TC_SCHEDULER_ID: "${schedulerId}"
+ MOZ_SCM_LEVEL: "${repository.level}"
NSS_PUSHLOG_ID: '${push.pushlog_id}'
NSS_HEAD_REPOSITORY: '${repository.url}'
NSS_HEAD_REVISION: '${push.revision}'
diff --git a/automation/taskcluster/graph/src/extend.js b/automation/taskcluster/graph/src/extend.js
index 5b22ef805..762198b2e 100644
--- a/automation/taskcluster/graph/src/extend.js
+++ b/automation/taskcluster/graph/src/extend.js
@@ -829,7 +829,7 @@ async function scheduleFuzzing32() {
async function scheduleWindows(name, base, build_script) {
base = merge(base, {
- workerType: "nss-win2012r2",
+ workerType: "win2012r2",
env: {
PATH: "c:\\mozilla-build\\bin;c:\\mozilla-build\\python;" +
"c:\\mozilla-build\\msys\\local\\bin;c:\\mozilla-build\\7zip;" +
diff --git a/automation/taskcluster/graph/src/queue.js b/automation/taskcluster/graph/src/queue.js
index 0dc6bbbc4..253ab4e28 100644
--- a/automation/taskcluster/graph/src/queue.js
+++ b/automation/taskcluster/graph/src/queue.js
@@ -155,8 +155,8 @@ function convertTask(def) {
}, parameters);
return {
- provisionerId: def.provisioner || "aws-provisioner-v1",
- workerType: def.workerType || "hg-worker",
+ provisionerId: def.provisioner || `nss-${process.env.MOZ_SCM_LEVEL}`,
+ workerType: def.workerType || "linux",
schedulerId: process.env.TC_SCHEDULER_ID,
taskGroupId: process.env.TASK_ID,