Add -ubi8 to commit ref if UBI_PIPELINE is set
What does this MR do?
There was an inconsistency between the testing of the original change that added the script and it running in a normal pipeline. Because REDHAT_SECRETS_JSON
was not previously defined as a CI variable, the testing of the script needed to define UBI_PIPELINE
which needed to add -ubi8
to the commit reference. A normal run of the pipeline will already have -ubi8
on the branch/tag reference. This change will only change the behavior when UBI_PIPELINE
is set to true
.
Related issues
gitlab-org/charts/gitlab#2587 (closed)
Checklist
See Definition of done.
For anything in this list which will not be completed, please provide a reason in the MR discussion
Required
-
Merge Request Title, and Description are up to date, accurate, and descriptive -
MR targeting the appropriate branch -
MR has a green pipeline on GitLab.com
Expected (please provide an explanation if not completing)
-
Test plan indicating conditions for success has been posted and passes -
Documentation created/updated -
Integration tests added to GitLab QA -
The impact any change in container size has should be evaluated
Edited by Gerard Hickey