Upload QA metrics for LSST Data Management.
Project description
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
Release history Release notifications | RSS feed
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.0.tar.gz
(9.4 kB
view details)
Built Distributions
post_qa-1.3.0-py3-none-any.whl
(11.8 kB
view details)
post_qa-1.3.0-py2-none-any.whl
(11.8 kB
view details)
File details
Details for the file post-qa-1.3.0.tar.gz
.
File metadata
- Download URL: post-qa-1.3.0.tar.gz
- Upload date:
- Size: 9.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73c6db467cd00d9ede57ed350eb08818e74d6cfab6648100ec21f5eb9c64b2ad |
|
MD5 | 7016be91a07c39ffe3830321907e0df2 |
|
BLAKE2b-256 | f6b469d2f8175bf2ae785cfc5276ba68b8656c0d921392ece49a06e78de12ffc |
File details
Details for the file post_qa-1.3.0-py3-none-any.whl
.
File metadata
- Download URL: post_qa-1.3.0-py3-none-any.whl
- Upload date:
- Size: 11.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5118bc113515e1799ca282b86804144cc9cb109ec4e2a0c0e1900b0599a2dab2 |
|
MD5 | 76d43a29fb794345399a3e77ed463355 |
|
BLAKE2b-256 | d2bd2c4055489920c6004c3a36bf0c3309bba12a65744e8fbb03e278fbf657d0 |
File details
Details for the file post_qa-1.3.0-py2-none-any.whl
.
File metadata
- Download URL: post_qa-1.3.0-py2-none-any.whl
- Upload date:
- Size: 11.8 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f947041439f4378bc588df085b05dbfddedeed858b6b5ca089a85e6e6a13ab6b |
|
MD5 | ef9576d5a7702b133eeffabe966120c9 |
|
BLAKE2b-256 | 005e306438abdebecba76c22757d0db265641812ef4992f8a28795f9506ef79b |