Upload QA metrics for LSST Data Management.
Project description
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
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.1.1.tar.gz
(6.0 kB
view details)
Built Distribution
File details
Details for the file post-qa-1.1.1.tar.gz
.
File metadata
- Download URL: post-qa-1.1.1.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2bb3928e0edebef220be27e7841d22609dc70936d0b21fc9d53458e162bea14 |
|
MD5 | 8c8dd8a9806e01a0c1d432dbcfad7b83 |
|
BLAKE2b-256 | fe634dfa23922925f244c9e8649e0d7d63c84401bbf7e83cf7ea77c4b46ba2f4 |
File details
Details for the file post_qa-1.1.1-py3-none-any.whl
.
File metadata
- Download URL: post_qa-1.1.1-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48560737eb61db0e598c4f6c6febd7b4252efc9f0a50606bd2bb2c97b14b7273 |
|
MD5 | cf237e39c3969a21b108f5dc2349ef00 |
|
BLAKE2b-256 | 405f7e0a495912e953bae5ad0519b706a96682bad2cc28c38e267039d9c28cc2 |