ci/b2c: split B2C_JOB_VOLUME_EXCLUSIONS in the jinja template
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33825>
This commit is contained in:
committed by
Marge Bot
parent
215dac82c3
commit
6394cdde6c
@@ -103,7 +103,7 @@ deployment:
|
||||
data: >
|
||||
b2c.pipefail b2c.poweroff_delay={{ poweroff_delay }}
|
||||
b2c.minio="gateway,{{ '{{' }} minio_url }},{{ '{{' }} job_bucket_access_key }},{{ '{{' }} job_bucket_secret_key }}"
|
||||
b2c.volume="{{ '{{' }} job_bucket }}-results,mirror=gateway/{{ '{{' }} job_bucket }},pull_on=pipeline_start,push_on=changes,overwrite{% for excl in job_volume_exclusions %},exclude={{ excl }}{% endfor %},remove,expiration=pipeline_end,preserve"
|
||||
b2c.volume="{{ '{{' }} job_bucket }}-results,mirror=gateway/{{ '{{' }} job_bucket }},pull_on=pipeline_start,push_on=changes,overwrite{% for excl in job_volume_exclusions.split(',') %},exclude={{ excl }}{% endfor %},remove,expiration=pipeline_end,preserve"
|
||||
{% for volume in volumes %}
|
||||
b2c.volume={{ volume }}
|
||||
{% endfor %}
|
||||
|
||||
@@ -38,7 +38,6 @@ template = env.get_template(path.basename(environ['B2C_JOB_TEMPLATE']))
|
||||
|
||||
values['ci_job_id'] = environ['CI_JOB_ID']
|
||||
values['ci_runner_description'] = environ['CI_RUNNER_DESCRIPTION']
|
||||
values['job_volume_exclusions'] = [excl for excl in values['job_volume_exclusions'].split(",") if excl]
|
||||
values['working_dir'] = environ['CI_PROJECT_DIR']
|
||||
|
||||
values['image_under_test'] = environ['IMAGE_UNDER_TEST']
|
||||
|
||||
Reference in New Issue
Block a user