Skip to content
  • Daniel P. Berrangé's avatar
    6a0e7ea7
    gitlab: introduce a common base job template · 6a0e7ea7
    Daniel P. Berrangé authored
    
    
    Currently job rules are spread across the various templates
    and jobs, making it hard to understand exactly what runs in
    what scenario. This leads to inconsistency in the rules and
    increased maint burden.
    
    The intent is that we introduce a common '.base_job_template'
    which will have a general purpose 'rules:' block. No other
    template or job should define 'rules:', but instead they must
    rely on the inherited rules. To allow behaviour to be tweaked,
    rules will be influenced by a number of variables with the
    naming scheme 'QEMU_JOB_nnnn'.
    
    Signed-off-by: default avatarDaniel P. Berrangé <berrange@redhat.com>
    Message-Id: <20220526110705.59952-2-berrange@redhat.com>
    Signed-off-by: default avatarAlex Bennée <alex.bennee@linaro.org>
    Reviewed-by: default avatarThomas Huth <thuth@redhat.com>
    Message-Id: <20220527153603.887929-29-alex.bennee@linaro.org>
    6a0e7ea7
    gitlab: introduce a common base job template
    Daniel P. Berrangé authored
    
    
    Currently job rules are spread across the various templates
    and jobs, making it hard to understand exactly what runs in
    what scenario. This leads to inconsistency in the rules and
    increased maint burden.
    
    The intent is that we introduce a common '.base_job_template'
    which will have a general purpose 'rules:' block. No other
    template or job should define 'rules:', but instead they must
    rely on the inherited rules. To allow behaviour to be tweaked,
    rules will be influenced by a number of variables with the
    naming scheme 'QEMU_JOB_nnnn'.
    
    Signed-off-by: default avatarDaniel P. Berrangé <berrange@redhat.com>
    Message-Id: <20220526110705.59952-2-berrange@redhat.com>
    Signed-off-by: default avatarAlex Bennée <alex.bennee@linaro.org>
    Reviewed-by: default avatarThomas Huth <thuth@redhat.com>
    Message-Id: <20220527153603.887929-29-alex.bennee@linaro.org>
Loading