Taskcluster Utilities
Project description
Python Taskcluster Utilities.
taskcluster_download
Usage
usage: taskcluster_download [-h] [--credentials CREDENTIALS]
(-n NAMESPACE | -t TASK_ID) [-a ARITFACT_NAME]
[-d DEST_DIR] [-v]
The simple download tool for Taskcluster.
optional arguments:
-h, --help show this help message and exit
--credentials CREDENTIALS
The credential JSON file (default: tc_credentials.json)
-n NAMESPACE, --namespace NAMESPACE
The namespace of task
-t TASK_ID, --taskid TASK_ID
The taskId of task
-v, --verbose Turn on verbose output, with all the debug logger.
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 (default: current working folder)
The tc_credentials.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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.