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
/** | |
* Run this inside a package that has tc-client and chalk installed. nothing else is required | |
*/ | |
const taskcluster = require('taskcluster-client'); | |
const chalk = require('chalk') | |
const runningCount = async (wm, workerPoolId) => { | |
let running = 0; | |
const params = {}; |
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
const taskcluster = require('taskcluster-client'); | |
const readline = require('readline'); | |
const s = new taskcluster.Secrets({ | |
rootUrl: process.env.TASKCLUSTER_ROOT_URL, | |
credentials: { | |
clientId: process.env.TASKCLUSTER_CLIENT_ID, | |
accessToken: process.env.TASKCLUSTER_ACCESS_TOKEN, | |
}, | |
}); |
OlderNewer