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.1.tar.gz (9.2 kB view details)

Uploaded Source

Built Distributions

post_qa-1.3.1-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

post_qa-1.3.1-py2-none-any.whl (11.7 kB view details)

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for post-qa-1.3.1.tar.gz
Algorithm Hash digest
SHA256 94b4080b5ad552eac5b65fa8b3e5ea0f9a6354b53d9cd4e214db8bef761f5d38
MD5 10435c4435f8eb9bd49669645dd282d5
BLAKE2b-256 d5962fbf97e3f38b670b5344124172bbcd27fc7a06d61d31d8e520a08929fc5d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for post_qa-1.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fe1cc0017eb22981735a9ccb8bdf5e6fb67a6ff795e9a4ef3e61226473069537
MD5 5074ee7a5d45d94ee3ad4a61bf9391a8
BLAKE2b-256 a53d6585360e0d12a4a871795cdd371308a52c907d2f205a613e956dd912529a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for post_qa-1.3.1-py2-none-any.whl
Algorithm Hash digest
SHA256 20a82e7052de88cdcfcd3f1025d1a7ea615b87597cee7129bcff27dd93c3cf14
MD5 3c8858907f73214ecd4097cc7133100b
BLAKE2b-256 9c74e582329d5b9abeb85d6ed625c89b586fdbd9d2bb0a28c174941f9958f88a

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