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.4.0b2.tar.gz (9.6 kB view hashes)

Uploaded Source

Built Distributions

post_qa-1.4.0b2-py3-none-any.whl (12.1 kB view hashes)

Uploaded Python 3

post_qa-1.4.0b2-py2-none-any.whl (12.1 kB view hashes)

Uploaded Python 2

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