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 QA measurements from tools like validate_drp to the SQuaSH database and web app. 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
               [--metrics [ACCEPTED_METRICS [ACCEPTED_METRICS ...]]] [--test]

Upload JSON from validate_drp to the SQuaSH API's
job ingest endpoint, usually ``/api/jobs/``.

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     URL of SQuaSH API endpoint for job submission
  --api-user API_USER   Username for SQuaSH API
  --api-password API_PASSWORD
                        Password for SQuaSH API
  --metrics [ACCEPTED_METRICS [ACCEPTED_METRICS ...]]
                        List metric names to upload (e.g., --metrics AM1 PA1)
  --test                Print the shimmed JSON rather than uploading it

Further Reading

License Info

Copyright 2016 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.2.2.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

post_qa-1.2.2-py2-none-any.whl (10.7 kB view details)

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for post-qa-1.2.2.tar.gz
Algorithm Hash digest
SHA256 7a4a71e4422e3e52010efe34c77fb7ae4a7165f92d7bee8c8b001411ec0e9ed8
MD5 d6a21e49c3bce7c9937f597dabea7eba
BLAKE2b-256 bc2824990d333a2ed6428b158a9a0bc87c35a6e73e69992c82c0ff5526da1055

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for post_qa-1.2.2-py2-none-any.whl
Algorithm Hash digest
SHA256 b693186b84c8095e38c9fd63067c8a8624fbfd7380247d6f80922709728220c2
MD5 ee130c88055d13a1794e064b791b890b
BLAKE2b-256 92f6cdb528c58db1b7f29940e1b9c6a733c5c2cd8a6d3052683eeaab17309de7

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