
The compute-kit jobs are used to test new images which are published to buildset registry. We have to configure containerd which is used for multinode compute-kit jobs to use this buildset registry. The role use-buildset-registry that we used before does not properly configure containerd. So we extended deploy-docker playbook to configure both buildset registry and registry mirror if they are defined. Change-Id: Idb892a3fcaf51385998d466dbdff8de36d9dd338
13 lines
334 B
TOML
13 lines
334 B
TOML
{% if item.skip_server is not defined or not item.skip_server %}
|
|
server = "{{ item.server | default('https://' + item.namespace) }}"
|
|
{% endif %}
|
|
|
|
[host."{{ item.mirror }}"]
|
|
capabilities = ["pull", "resolve", "push"]
|
|
{% if item.ca is defined %}
|
|
ca = "{{ item.ca }}"
|
|
{% endif %}
|
|
{% if item.skip_verify %}
|
|
skip_verify = true
|
|
{% endif %}
|