Skip to main content

Upload QA metrics for LSST Data Management.

Project description

https://img.shields.io/pypi/v/post-qa.svg https://img.shields.io/travis/lsst-sqre/post-qa.svg

post-qa

Upload metric definitions, measurements and blobs from validate_drp to the SQuaSH API. post-qa is meant to run in a CI workflow, like LSST Data Management’s Jenkins CI.

Install

pip install post-qa

Command Line Interface

usage: post-qa [-h] --lsstsw LSSTSW_DIRNAME --qa-json QA_JSON_PATH --api-url
               API_URL --api-user API_USER --api-password API_PASSWORD [--test]

Upload JSON from validate_drp to the SQuaSH API.

This script is meant to be run from a Jenkins CI environment
and uses the following environment variables:

- ``BUILD_ID`` : ID in the ci system
- ``BUILD_URL``: ci page with information about the build
- ``PRODUCT``: the name of the product built, in this case 'validate_drp'
- ``dataset``: the name of the dataset processed by validate_drp
- ``label`` : the name of the platform where it runs


optional arguments:
  -h, --help            show this help message and exit
  --lsstsw LSSTSW_DIRNAME
                        Path of lsstsw directory
  --qa-json QA_JSON_PATH
                        Filename of QA JSON output file
  --api-url API_URL     SQuaSH API root URL
  --api-user API_USER   Username for SQuaSH API
  --api-password API_PASSWORD
                        Password for SQuaSH API
  --test                Print the shimmed JSON rather than uploading it

Further Reading

License Info

Copyright 2017 AURA/LSST

MIT licensed open source.

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

post-qa-1.3.2.tar.gz (9.6 kB view details)

Uploaded Source

Built Distributions

post_qa-1.3.2-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

post_qa-1.3.2-py2-none-any.whl (12.0 kB view details)

Uploaded Python 2

File details

Details for the file post-qa-1.3.2.tar.gz.

File metadata

  • Download URL: post-qa-1.3.2.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for post-qa-1.3.2.tar.gz
Algorithm Hash digest
SHA256 25db9c2ca339fb9d574d2a50a8dbac5648ff6f55192dcff91f90f15f16ef28a4
MD5 207a78f7a9c02de727a4191bd3a79c12
BLAKE2b-256 258324dbb100233edb17d7bf7bc3b7a3f720e5b3b0745d1c0e84a23ec96c3e74

See more details on using hashes here.

File details

Details for the file post_qa-1.3.2-py3-none-any.whl.

File metadata

File hashes

Hashes for post_qa-1.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e6cd68bd24b3d24df33b2277befd22f25eedf1ad703dc7c7c9d00e273b6b12c9
MD5 cce1c4fca9e5a26b0babc0295e53bfde
BLAKE2b-256 82b749c35accf38fa32225f14e55003db124c1c3743022e43186a8553f0b2b4c

See more details on using hashes here.

File details

Details for the file post_qa-1.3.2-py2-none-any.whl.

File metadata

File hashes

Hashes for post_qa-1.3.2-py2-none-any.whl
Algorithm Hash digest
SHA256 b20dbc73ba1f8d499fea732de6e3f69af1f5a9b9eacd96313cc9d35548a35cad
MD5 a3968b3f4a8add04baf4dedca90e4087
BLAKE2b-256 7f7f9aa9e66abc468f0d97df9a45c2fce29a948e74fc3ba461f30fbbf0fe99e2

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