Confirmed users
571
edits
(→Machine-specific failures: remove old TASKCLUSTER_ROOT_URL used before taskcluster migration on 2019-11-09) |
(→Machine-specific failures: correct setting of variable value for termination of every machine in a worker pool) |
||
Line 147: | Line 147: | ||
Terminating all machines in a worker pool: | Terminating all machines in a worker pool: | ||
Save the worker pool name in a variable. In this case for | Save the worker pool name in a variable. In this case for wp=gecko-3/decision: | ||
<code>wp=gecko-3/decision</code> | |||
<code>export wp=gecko-3/decision</code> | |||
Run this script to terminate all machines in that pool: | Run this script to terminate all machines in that pool: | ||
<code>taskcluster api workerManager listWorkersForWorkerPool $wp | jq -r '.workers[] | .workerGroup + " " + .workerId' | while read wg wid; do taskcluster api workerManager removeWorker $wp $wg $wid; done</code> | <code>taskcluster api workerManager listWorkersForWorkerPool $wp | jq -r '.workers[] | .workerGroup + " " + .workerId' | while read wg wid; do taskcluster api workerManager removeWorker $wp $wg $wid; done</code> | ||