#282 CI/CD: Correct `scratch` values in ci.container-image.test.complete messages
Merged by rayson. Opened by rayson.
rayson/waiverdb cicd-fix-scratch-field  into  master

Download 282.patch

Following up https://pagure.io/waiverdb/pull-request/281.

scratch field should be set to true for a PR test while false for other tests. New job parameter IMAGE_IS_SCRATCH is introduced to indicate if the tested container image is "scratch".

Pull-Request has been merged by rayson

@rayson IMAGE_IS_SCRATCH is always going to be true, because according to:

https://pagure.io/waiverdb/blob/master/f/openshift/pipelines/templates/waiverdb-polling-pagure.yaml#_231

when polling the master branch, the WAIVERDB_GIT_REF is always passed as a commit hash, not as a branch name.

@mikeb You are right. Let me think if there is a better solution for this.

Metadata