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.
Source Distribution
File details
Details for the file taskcluster_util-0.0.10.tar.gz
.
File metadata
- Download URL: taskcluster_util-0.0.10.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | efae72f44391d601f511ca4aec1f038cb30493615c4896e4db31b1801d62f503 |
|
MD5 | 4fe83c5ea3b429cc55b8c1bb8f894022 |
|
BLAKE2b-256 | 6f78555e18afcf66366bef458e1d2ca7d21a2203a737503fd2cb3163b50cdd77 |