Skip to main content

Download log files from Taskcluster CI systems

Project description

tc-fetch

Fetch artifacts from taskcluster.

This is a small utility application designed to download and fetch logs from TaskCluster-based CI systems.

In particular it's built for use with Mozilla's CI and web-platform-tests CI.

Command line usage

tcfetch [--out-dir <path>] [--artifact-name <name>] [--filter-jobs <expression>]* <repo> <commit>

By default tcfetch is configured to fetch web-platform-tests results in wptreport format.

Valid repo names are:

commit must be the hash of a commit in the corresponding repository. For Mozilla repositories the minimum commit prefix is 12 characters. For web-platform-tests, anything non-ambiguous should work.

--out-dir - The path to put the downloaded artifact files.

--artifact-name - The name of the artifact to download (currently implemented as a suffix match on the full path).

--filter-jobs - A filter string used to select the task names to include. This is a string that's interpreted as a regex. If the string starts with !, any matching jobs are excluded. If the string starts with ^ (after removing any !), it's used as a regexp against the full task name, otherwise it's used as a substring match.

For example to fetch all Firefox logs from web-platform-tests commit 0f123ad and put them in a directory called logs:

tcfetch --out-dir logs --filter-jobs '-firefox-' wpt 0f123ad

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

tcfetch-0.4.1.tar.gz (30.0 kB view details)

Uploaded Source

Built Distribution

tcfetch-0.4.1-cp311-cp311-manylinux_2_34_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.34+ x86-64

File details

Details for the file tcfetch-0.4.1.tar.gz.

File metadata

  • Download URL: tcfetch-0.4.1.tar.gz
  • Upload date:
  • Size: 30.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.1.0

File hashes

Hashes for tcfetch-0.4.1.tar.gz
Algorithm Hash digest
SHA256 c2edfb7e8c06b263351fcd7fa18300921837578cbecf45d5ce0db2ce8f3c2f40
MD5 b9f24bbf932bc486ea2bffb7fb7d94eb
BLAKE2b-256 463dd9444fde021d599391edd9446dca396c166c04acc123fe0271a6b59a163b

See more details on using hashes here.

File details

Details for the file tcfetch-0.4.1-cp311-cp311-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for tcfetch-0.4.1-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 cb2881980524e005129b1abe79c9a41ec2385774be6653254e53808db839b42d
MD5 40e18ae276bc222b3129ab9fe19f3bb4
BLAKE2b-256 c691ede107df9116ed8323d3d54a88b52e91efe4343e9748fcaf0bd8e3ec43bb

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