Skip to main content

Taskcluster Utilities

Project description

Python Taskcluster Utilities.

taskcluster_download

Usage

usage: taskcluster_download [-h] [--credential CREDENTIAL]
                            (-n NAMESPACE | -t TASK_ID) [-a ARITFACT_NAME]
                            [-d DEST_DIR]

The simple download tool for Taskcluster.

optional arguments:
  -h, --help            show this help message and exit
  --credential CREDENTIAL
                        The credential JSON file (default: tc_credential.json)
  -n NAMESPACE, --namespace NAMESPACE
                        The namespace of task
  -t TASK_ID, --taskid TASK_ID
                        The taskId of task

Download Artifact:
  The artifact name and dest folder

  -a ARITFACT_NAME, --artifact ARITFACT_NAME
                        The artifact name on Taskcluster
  -d DEST_DIR, --dest-dir DEST_DIR
                        The dest folder

The tc_credential.json Template:
    {
        "clientId": "",
        "accessToken": ""
    }

SSL InsecurePlatformWarning

If you got the following error message when running the tools, please install requests[security] package.

InsecurePlatformWarning: A true SSLContext object is not available.
This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail.
For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.

Install package by pip install. Please note it’s not required for Python 2.7.9+.

pip install requests[security]

If you got Setup script exited with error: command ‘gcc’ failed with exit status 1 error when install requests[security], please install libffi-dev. (Ubuntu)

sudo apt-get install libffi-dev

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

taskcluster_util-0.0.9.tar.gz (5.6 kB view details)

Uploaded Source

File details

Details for the file taskcluster_util-0.0.9.tar.gz.

File metadata

File hashes

Hashes for taskcluster_util-0.0.9.tar.gz
Algorithm Hash digest
SHA256 6227e04c35d86947561e69fbaac0c397685e0198c4ca43de401660207487be12
MD5 bd598c8547a023a72f1b38313932f68f
BLAKE2b-256 5833670d3760805ccd7e233428da2274c1f0688c98ceeb351e6c0617fb21f5cd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page