On 1/19/26 16:55, Daniel P. Berrangé wrote:
When extending the container template to allow scheduled piplines in
upstream context, we must ensure that all the existing rules defined
by .base_job_template are preserved.
Fortunately since the new rule for scheduled pipelines can come at
the head of all other rules, not in the middle, we can just the obscure
'!reference' syntax to pull in all the pre-existing rules as a single
block.
This fixes
* stable branches using the wrong tag name in container images
* pushes to forks unconditionally running container builds
I wont pretend I know what "!reference" means in yaml. But this
change seems to fix both issues, and does not look like it breaks
something.
Tested-by: Michael Tokarev <[email protected]>
Fixes: 8bec7b9874235e60f14172618121c60fdbd39302
Fixes: 8bec7b987423 ("gitlab: add a weekly container building job")
Thanks!
/mjt