Merge "Add Debian Bullseye Zuul job"

This commit is contained in:
Zuul 2021-04-12 13:16:23 +00:00 committed by Gerrit Code Review
commit d7becbeb2b
5 changed files with 33 additions and 1 deletions

View File

@ -287,6 +287,23 @@
DIB_DISABLE_APT_CLEANUP: '1'
DIB_DEBOOTSTRAP_EXTRA_ARGS: '--no-check-gpg'
- job:
name: dib-nodepool-functional-openstack-debian-bullseye-src
description: |
Test building and booting a Debian bullseye image with Nodepool
and OpenStack
parent: dib-nodepool-functional-src-base
pre-run: playbooks/dib-nodepool/debootstrap.yaml
vars:
nodepool_diskimage:
base_element: debian-minimal
release: 'bullseye'
mirror: "http://{{ zuul_site_mirror_fqdn }}/debian"
env-vars:
DIB_APT_LOCAL_CACHE: '0'
DIB_DISABLE_APT_CLEANUP: '1'
DIB_DEBOOTSTRAP_EXTRA_ARGS: '--no-check-gpg'
- job:
name: dib-nodepool-functional-openstack-debian-buster-src
description: |

View File

@ -61,5 +61,6 @@
- dib-nodepool-functional-openstack-gentoo-src
- dib-nodepool-functional-openstack-debian-stretch-src
- dib-nodepool-functional-openstack-debian-buster-src
- dib-nodepool-functional-openstack-debian-bullseye-src
- octavia-v1-dsvm-scenario
- octavia-v1-dsvm-py3x-scenario

View File

@ -18,11 +18,17 @@ DIB_DEBIAN_SECURITY_SUBPATH=${DIB_DEBIAN_SECURITY_SUBPATH:-/updates}
export DIB_DEBIAN_COMPONENTS=${DIB_DEBIAN_COMPONENTS:-main}
export DIB_DEBIAN_COMPONENTS_WS=${DIB_DEBIAN_COMPONENTS//,/ }
if [ "${DIB_RELEASE}" = "bullseye" ]; then
DIB_DEBIAN_SECURITY_PATH="${DIB_RELEASE}-security"
else
DIB_DEBIAN_SECURITY_PATH="${DIB_RELEASE}"
fi
DIB_APT_SOURCES_CONF_DEFAULT=\
"default:deb ${DIB_DISTRIBUTION_MIRROR} ${DIB_RELEASE} ${DIB_DEBIAN_COMPONENTS_WS}
backports:deb ${DIB_DISTRIBUTION_MIRROR} ${DIB_RELEASE}-backports ${DIB_DEBIAN_COMPONENTS_WS}
updates:deb ${DIB_DISTRIBUTION_MIRROR} ${DIB_RELEASE}-updates ${DIB_DEBIAN_COMPONENTS_WS}
security:deb ${DIB_DEBIAN_SECURITY_MIRROR} ${DIB_RELEASE}${DIB_DEBIAN_SECURITY_SUBPATH} ${DIB_DEBIAN_COMPONENTS_WS}
security:deb ${DIB_DEBIAN_SECURITY_MIRROR} ${DIB_DEBIAN_SECURITY_PATH}${DIB_DEBIAN_SECURITY_SUBPATH} ${DIB_DEBIAN_COMPONENTS_WS}
"
if [ "${DIB_RELEASE}" = "testing" -o "${DIB_RELEASE}" = "unstable" ]; then

View File

@ -1,5 +1,6 @@
adduser:
ca-certificates:
cloud-initramfs-growroot:
locales:
lsb-release:
phase: pre-install.d

View File

@ -1,4 +1,11 @@
{
"release": {
"debian": {
"bullseye": {
"cloud-initramfs-growroot": "cloud-initramfs-growroot"
}
}
},
"default": {
"cloud-initramfs-growroot": ""
}