Upload QA metrics for LSST Data Management.
Project description
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
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.3.tar.gz
(9.8 kB
view details)
Built Distributions
post_qa-1.3.3-py3-none-any.whl
(12.2 kB
view details)
post_qa-1.3.3-py2-none-any.whl
(12.2 kB
view details)
File details
Details for the file post-qa-1.3.3.tar.gz
.
File metadata
- Download URL: post-qa-1.3.3.tar.gz
- Upload date:
- Size: 9.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7ab2049b8d18d88e435075d6a13e2e4f307968da51ed0c0efaeef59fa46286a |
|
MD5 | 0f891c1151bb45fdd98a67e5c8cb192c |
|
BLAKE2b-256 | 9802ec54d637a4fed0374d4eaa01a26535c65e5ecd18e24f5327adcf99028e5b |
File details
Details for the file post_qa-1.3.3-py3-none-any.whl
.
File metadata
- Download URL: post_qa-1.3.3-py3-none-any.whl
- Upload date:
- Size: 12.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a44d9058645ebf940ffc88c76a0841a300743f5c107430714aa70409d794cc48 |
|
MD5 | 7bdc4f16669fe19d0f55ecf2fa933f19 |
|
BLAKE2b-256 | 4c7e7c08dc1b3b84b2d1575915dd36d2262b17339f9ddd6ca2c83151010a902e |
File details
Details for the file post_qa-1.3.3-py2-none-any.whl
.
File metadata
- Download URL: post_qa-1.3.3-py2-none-any.whl
- Upload date:
- Size: 12.2 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55004b7594bd2af4195ad265156b1f023d1b14ff369f14925ebd8b7c2838558e |
|
MD5 | 2db2598fadfae959a0bf35a4a5ea5542 |
|
BLAKE2b-256 | 067b929872701d3434a494909a75203b539e3f99d93917c036c29b6e56a005df |