OpenShift CI has a shared directory that persists between the steps run in a pipeline. As part of the product to product pipeline, we would like to dynamically add labels based on the OpenShift version and product versions installed. Our proposed solution to this would be to add functionality to firewatch to read a list of labels found in a specific file in the $SHARED_DIR and add those labels to any new ticket created.
This functionality can be used for more than the use case outlined above, but essentially the flow would be:
Write any additional labels to $SHARED_DIR/firewatch-additional-labels, this can be done over multiple steps throughout the job. They should be separated by a new line (or some other delimiter).
When firewatch is executed, prior to creating any bugs, read the list of labels and ensure they are all applied to any new issue created (along with all the pre-configured labels in the firewatch config).
OpenShift CI has a shared directory that persists between the steps run in a pipeline. As part of the product to product pipeline, we would like to dynamically add labels based on the OpenShift version and product versions installed. Our proposed solution to this would be to add functionality to firewatch to read a list of labels found in a specific file in the $SHARED_DIR and add those labels to any new ticket created.
This functionality can be used for more than the use case outlined above, but essentially the flow would be:
$SHARED_DIR/firewatch-additional-labels
, this can be done over multiple steps throughout the job. They should be separated by a new line (or some other delimiter).