Details
-
Type:
Improvement
-
Status: To Do
-
Resolution: Unresolved
-
Fix Version/s: None
-
Component/s: ap_verify
-
Labels:None
-
Story Points:0.25
-
Epic Link:
-
Team:SQuaRE
Description
When running dispacth_verify.py with the --env jenkins option we expect the PRODUCT environment variable to contain the name of the pipeline, in this case PRODUCT=ap_verify
https://github.com/lsst/verify/blob/master/python/lsst/verify/metadata/jenkinsci.py#L59
That works fine for validate_drp but for ap_verify it is not set and the default value unkwon is returned.
I noticed that in SQuaSH when using that to filter results from different pipelines.
Attachments
Issue Links
- is blocked by
-
DM-18057 QAWG-REC-37: It must be possible to submit metrics to SQuaSH from arbitrary pipeline execution environments
- To Do
- is child task of
-
DM-18057 QAWG-REC-37: It must be possible to submit metrics to SQuaSH from arbitrary pipeline execution environments
- To Do
- relates to
-
DM-18103 Revisit SQuaSH InfluxDB data model
- Done
I am at a loss as to where sqre/validate_drp is obtaining the PRODUCT env var from.
}}
I could just declare PRODUCT from util.runDispatchVerify() to ensure it is present but continuing to rely on env vars used to be present under a matrix job that was replaced years ago is not likely to become any less brittle.
How do people feel about passing in either a yaml or json doc as an alternative env type?