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
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.
Source Distribution
taskcluster_util-0.0.8.tar.gz
(5.0 kB
view hashes)