container-roles-jobs: Update tests to jammy nodes
These build tests are all running on Bionic for no particular reason other than it was recent at the time; update them to Jammy. Because Jammy appears to have a too old systemd to properly support podman and non root continers [0] our image builds don't work by default. We need to override the cgroup manager to cgroupfs which is less than ideal but should be functional. [0] https://github.com/containers/podman/issues/7650 Change-Id: I18c56aea776e9ef102fe9020db592fb04df372e2
This commit is contained in:

committed by
Clark Boylan

parent
dfc101c29b
commit
9a8b06fbc5
@@ -34,6 +34,9 @@
|
|||||||
tag_prefix: "{{ ('change_' + zuul.change) if (zuul.change is defined) else zuul.pipeline }}_"
|
tag_prefix: "{{ ('change_' + zuul.change) if (zuul.change is defined) else zuul.pipeline }}_"
|
||||||
command: >-
|
command: >-
|
||||||
{{ container_command }} build {{ zj_image.path | default('.') }} {% if containerfile %}-f {{ containerfile }}{% endif %}
|
{{ container_command }} build {{ zj_image.path | default('.') }} {% if containerfile %}-f {{ containerfile }}{% endif %}
|
||||||
|
{% if container_command == 'podman' -%}
|
||||||
|
--cgroup-manager cgroupfs
|
||||||
|
{% endif -%}
|
||||||
{% if zj_image.target | default(false) -%}
|
{% if zj_image.target | default(false) -%}
|
||||||
--target {{ zj_image.target }}
|
--target {{ zj_image.target }}
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
|
@@ -126,7 +126,7 @@
|
|||||||
nodeset:
|
nodeset:
|
||||||
nodes:
|
nodes:
|
||||||
- name: builder
|
- name: builder
|
||||||
label: ubuntu-bionic
|
label: ubuntu-jammy
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: zuul-jobs-test-build-docker-image-release
|
name: zuul-jobs-test-build-docker-image-release
|
||||||
@@ -151,7 +151,7 @@
|
|||||||
nodeset:
|
nodeset:
|
||||||
nodes:
|
nodes:
|
||||||
- name: builder
|
- name: builder
|
||||||
label: ubuntu-bionic
|
label: ubuntu-jammy
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: zuul-jobs-test-build-docker-image-release-multiarch
|
name: zuul-jobs-test-build-docker-image-release-multiarch
|
||||||
@@ -255,11 +255,11 @@
|
|||||||
nodeset:
|
nodeset:
|
||||||
nodes:
|
nodes:
|
||||||
- name: intermediate-registry
|
- name: intermediate-registry
|
||||||
label: ubuntu-bionic
|
label: ubuntu-jammy
|
||||||
- name: executor
|
- name: executor
|
||||||
label: ubuntu-bionic
|
label: ubuntu-jammy
|
||||||
- name: builder
|
- name: builder
|
||||||
label: ubuntu-bionic
|
label: ubuntu-jammy
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: zuul-jobs-test-registry-buildset-registry
|
name: zuul-jobs-test-registry-buildset-registry
|
||||||
|
Reference in New Issue
Block a user