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.
Metadata
Release files for post-qa 1.3.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| post-qa-1.3.3.tar.gz | 9.8 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| post_qa-1.3.3-py3-none-any.whl | Python 3 | none | any | Details |
| post_qa-1.3.3-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 34.2 kB
Release files / post-qa-1.3.3.tar.gz
| Download URL | post-qa-1.3.3.tar.gz |
|---|---|
| Size | 9.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b7ab2049b8d18d88e435075d6a13e2e4f307968da51ed0c0efaeef59fa46286a
|
|
BLAKE2b-256 checksum How to use checksums |
9802ec54d637a4fed0374d4eaa01a26535c65e5ecd18e24f5327adcf99028e5b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / post_qa-1.3.3-py3-none-any.whl
| Download URL | post_qa-1.3.3-py3-none-any.whl |
|---|---|
| Size | 12.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a44d9058645ebf940ffc88c76a0841a300743f5c107430714aa70409d794cc48
|
|
BLAKE2b-256 checksum How to use checksums |
4c7e7c08dc1b3b84b2d1575915dd36d2262b17339f9ddd6ca2c83151010a902e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / post_qa-1.3.3-py2-none-any.whl
| Download URL | post_qa-1.3.3-py2-none-any.whl |
|---|---|
| Size | 12.2 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
55004b7594bd2af4195ad265156b1f023d1b14ff369f14925ebd8b7c2838558e
|
|
BLAKE2b-256 checksum How to use checksums |
067b929872701d3434a494909a75203b539e3f99d93917c036c29b6e56a005df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |