Fix pipeline from failing when running over UTC midnight
What does this MR do?
Pipelines where jobs run on both sides of UTC midnight often fail because most of the jobs use the numeric UTC day of month to generate a unique hash used as the image tag. This MR replaces the calls to date with the CI_PIPELINE_CREATED_AT which does not change when the pipeline straddles UTC midnight.
Related issues
Closes gitlab-org/charts/gitlab#2803 (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