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.4.0b2.tar.gz
(9.6 kB
view details)
Built Distributions
post_qa-1.4.0b2-py3-none-any.whl
(12.1 kB
view details)
post_qa-1.4.0b2-py2-none-any.whl
(12.1 kB
view details)
File details
Details for the file post-qa-1.4.0b2.tar.gz
.
File metadata
- Download URL: post-qa-1.4.0b2.tar.gz
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75cc5f07b75eee97cb1443271e1fc0106e0d745b4a1b4136a544392b10adbe53 |
|
MD5 | 39da1062dfa3083a0c3e08e1b98b9431 |
|
BLAKE2b-256 | fe0d4be8f8dd61aae00a23433f047bfdcda521fd5be83c1f6ef939eeb9a13623 |
File details
Details for the file post_qa-1.4.0b2-py3-none-any.whl
.
File metadata
- Download URL: post_qa-1.4.0b2-py3-none-any.whl
- Upload date:
- Size: 12.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6d633484e52abab98f0eb38204823147fe1f6dc41d311cbcf878e72edc1671d |
|
MD5 | 057596878d70dab19c9197a18a26d0a3 |
|
BLAKE2b-256 | 2a78d25d79fa8a9bc6c6bb0d076680021dc747bc880ee58c27e9a618c84d26f6 |
File details
Details for the file post_qa-1.4.0b2-py2-none-any.whl
.
File metadata
- Download URL: post_qa-1.4.0b2-py2-none-any.whl
- Upload date:
- Size: 12.1 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b898ab20edac609be90f747325972679d92a7b360e555aa912d7ad362b04daa |
|
MD5 | 8e57dc0d22967fb862c478e2428dfd5e |
|
BLAKE2b-256 | c5b4dd7b8db90a19f3e625e38678f89164fe5d846840c38cf5e1a4a69533ce98 |