From 28655b26f5cd62c7e7c581e3eabe3244ce7d9769 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Mon, 7 Oct 2024 12:48:01 +0200 Subject: [PATCH] ci/b2c: make initramfs & kernel urls optional If omitted, the default ones are used. Part-of: --- .gitlab-ci/b2c/b2c.yml.jinja2.jinja2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitlab-ci/b2c/b2c.yml.jinja2.jinja2 b/.gitlab-ci/b2c/b2c.yml.jinja2.jinja2 index c0d8d86ada3..564db257ba6 100644 --- a/.gitlab-ci/b2c/b2c.yml.jinja2.jinja2 +++ b/.gitlab-ci/b2c/b2c.yml.jinja2.jinja2 @@ -62,7 +62,9 @@ deployment: b2c.service="--privileged --tls-verify=false --pid=host docker://{{ '{{' }} fdo_proxy_registry }}/gfx-ci/ci-tron/telegraf:latest" b2c.hostname=dut-{{ '{{' }} machine.full_name }} b2c.container="-v {{ '{{' }} job_bucket }}-results:{{ working_dir }} -w {{ working_dir }} {% for mount_volume in mount_volumes %} -v {{ mount_volume }}{% endfor %} --tls-verify=false docker://{{ local_container }} {{ container_cmd }}" kernel: +{% if kernel_url %} url: '{{ kernel_url }}' +{% endif %} # NOTE: b2c.cache_device should not be here, but this works around # a limitation of b2c which will be removed in the next release @@ -75,8 +77,10 @@ deployment: {{ kernel_cmdline_extras }} {% endif %} +{% if initramfs_url %} initramfs: url: '{{ initramfs_url }}' +{% endif %} {% if dtb_url %} dtb: