Skip to content

Tags: ydidwania/taskcluster-cli

Tags

v0.9.0

Toggle v0.9.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request taskcluster#192 from djmitche/bug1466679

Bug 1466679 - use rootUrl in 'taskcluster signin'

v0.8.2

Toggle v0.8.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request taskcluster#184 from taskcluster/url-escape-scopes

url escape scopes

0.8.1

Toggle 0.8.1's commit message
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} "$@"
}

0.8.0

Toggle 0.8.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
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:*"
  ]
}
```

v0.7.0

Toggle v0.7.0's commit message
Merge pull request taskcluster#163 from taskcluster/add-task-def-command

Add a task definition fetching command

v0.6.6

Toggle v0.6.6's commit message
Merge pull request taskcluster#162 from taskcluster/fix-signin-on-win…

…dows

Fix signin on windows

v0.6.5

Toggle v0.6.5's commit message
point to indexed artifacts in README

v0.6.4.4

Toggle v0.6.4.4's commit message
fix git checkout

v0.6.4.3

Toggle v0.6.4.3's commit message
don't use go get

v0.6.4.2

Toggle v0.6.4.2's commit message
index by version, too