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 datasets 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

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

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

Uploaded Source

Built Distribution

post_qa-1.1.0-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for post-qa-1.1.0.tar.gz
Algorithm Hash digest
SHA256 886731de08909cb752099b415df633418a91f3d2c18f57dd10ccced459f1c5ae
MD5 278b82f1042b9843804782afa9dd1f6d
BLAKE2b-256 305e08372d0dead3bf904c0cf2539871f512b929353d07b697b2f2d0ba0b4605

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for post_qa-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aea12b499e582ec9afd92e5f599d3b50d8fb1a82188ff1e2f7ad87f21b73ebee
MD5 6439b59a7c6d98c4b9c853cd220ae746
BLAKE2b-256 ea6807f7c4042e8b8abd35242bc98826264c4268a71d38c1a3716066f123d752

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