Browse Source
When extending the container template to allow scheduled pipelines 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 Fixes:pull/319/head8bec7b9874Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Tested-by: Michael Tokarev <mjt@tls.msk.ru> Fixes:8bec7b9874("gitlab: add a weekly container building job") Message-ID: <20260119135528.2738108-1-berrange@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
committed by
Thomas Huth
1 changed files with 2 additions and 3 deletions
Loading…
Reference in new issue