Skip to main content

squad data

Project description

squaddata

Create datasets and reports from squad

Installation

Use pip to install from gitlab

pip install https://gitlab.com/Linaro/lkft/reports/squaddata/-/archive/master/squaddata-master.tar.gz

Examples

Create a report from a squad project

squad_report --group=lkft --project=linux-next-master --build=next-20210223 full

Create a report that shows build results for all environments

squad_report --group=lkft --project=linux-next-master --build=next-20210223 --suites=build full

Create a report that shows build results for the arm64 environment

squad_report --group=lkft --project=linux-next-master --build=next-20210223 --suites=build --environments=arm64 full

Create a report that shows kselftest results

squad_report --group=lkft --project=linux-next-master --build=next-20210223 --suite-prefixes=kselftest full

Usage

usage: squad_report [-h] [--url URL] [--token TOKEN]
       [--group GROUP] [--project PROJECT] [--build BUILD] [--base-build BASE_BUILD]
       [--environments ENVIRONMENTS | --environment-prefixes ENVIRONMENT_PREFIXES]
       [--output OUTPUT]
       [--suites SUITES | --suite-prefixes SUITE_PREFIXES]
       [--template TEMPLATE]
       [--unfinished]

Create a report using data from SQUAD

positional arguments:
  report                Type of report to create

optional arguments:
  -h, --help            show this help message and exit
  --url URL             URL of the SQUAD service
  --token TOKEN         Authentication token of the SQUAD service
  --group GROUP         SQUAD group
  --project PROJECT     SQUAD project
  --build BUILD         SQUAD build
  --base-build BASE_BUILD
                        SQUAD build to compare to
  --environments ENVIRONMENTS
                        List of SQUAD environments to include
  --environment-prefixes ENVIRONMENT_PREFIXES
                        List of prefixes of SQUAD environments to include
  --output OUTPUT       Write the output to this file
  --suites SUITES       List of SQUAD suites to include
  --suite-prefixes SUITE_PREFIXES
                        List of prefixes of SQUAD suites to include
  --template TEMPLATE   Create the report with this template. Default=report
  --unfinished          Compare with a build that has not finished

Debugging

To turn on debug output, set LOG_LEVEL=DEBUG in the environment.

Contributing

CONTRIBUTING.md

License

MIT

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

squaddata-0.0.2.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

squaddata-0.0.2-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file squaddata-0.0.2.tar.gz.

File metadata

  • Download URL: squaddata-0.0.2.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.2

File hashes

Hashes for squaddata-0.0.2.tar.gz
Algorithm Hash digest
SHA256 ec29bd886452c6622dd558bc23ec4e51646c913e6d080d42f33e0c5be51e3393
MD5 d877a5fc3d75b5735a0ed1b4ee1a15bf
BLAKE2b-256 8ac59d29b1e38c7b7c29d53e23ec36f643dc70ad237937487eb1d0a06ee4ef34

See more details on using hashes here.

File details

Details for the file squaddata-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: squaddata-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.2

File hashes

Hashes for squaddata-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0b043e12918082d1af9313b16f472d0a48181f43b4e6d5bbf892f199d042b1ab
MD5 1bd2912977c005e022eeadd22029cdcf
BLAKE2b-256 c6b7bebb254cfc17446e772c79b99bbceef512730114688b20da7fd18b796076

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