Tags: ydidwania/taskcluster-cli
Tags
Merge pull request taskcluster#192 from djmitche/bug1466679 Bug 1466679 - use rootUrl in 'taskcluster signin'
Merge pull request taskcluster#184 from taskcluster/url-escape-scopes url escape scopes
Add a scriptable check for valid credentials (taskcluster#182) This allows users to `taskcluster signin --check` and get an exit code of 1 if their credentials are either not found, or expired. I've successfully used it with this bash wrapper: tc() { if ! TC=$(which taskcluster) then echo "Unable to find taskcluster command" return fi CLIENTVARS=${TASKCLUSTER_CLIENT_STORE:-"/dev/shm/tcclient.creds"} if [ -f "$CLIENTVARS" ] ; then # shellcheck source=/dev/null source "$CLIENTVARS" fi if ! ${TC} signin --check; then ${TC} signin > "$CLIENTVARS" # shellcheck source=/dev/null source "$CLIENTVARS" fi ${TC} "$@" }
Bug 1395349 - refactor signin to use new client creator, don't store (t… …askcluster#174) It's best to encourage users to not keep TC credentials on disk, so this writes them out as env vars instead. The result will still *read* from `~/.config/taskcluster.yml`, just not write to it. Example: ``` dustin@jemison $ eval $(./taskcluster signin --scope 'queue:*') Starting Listening for a callback on: http://localhost:33459 Opening URL: https://tools.taskcluster.net/auth/clients/new?name=cli&description=Temporary+client+for+use+on+the+command+line&scope=queue:*&expires=1d&callback_url=http%3A%2F%2Flocalhost%3A33459 Credentials recorded as environment variables dustin@jemison $ ./taskcluster api auth currentScopes { "scopes": [ "queue:*" ] } ```
Merge pull request taskcluster#163 from taskcluster/add-task-def-command Add a task definition fetching command
Merge pull request taskcluster#162 from taskcluster/fix-signin-on-win… …dows Fix signin on windows
PreviousNext