Merge "Add Jammy functesting to dib"
This commit is contained in:
commit
2f06cbc4eb
@ -29,6 +29,7 @@
|
|||||||
- fedora/build-succeeds
|
- fedora/build-succeeds
|
||||||
- ubuntu/bionic-build-succeeds
|
- ubuntu/bionic-build-succeeds
|
||||||
- ubuntu/focal-build-succeeds
|
- ubuntu/focal-build-succeeds
|
||||||
|
- ubuntu/jammy-build-succeeds
|
||||||
|
|
||||||
# NOTE(ianw) : these jobs are split to keep the build times a bit more
|
# NOTE(ianw) : these jobs are split to keep the build times a bit more
|
||||||
# reasonable.
|
# reasonable.
|
||||||
@ -42,6 +43,7 @@
|
|||||||
dib_functests:
|
dib_functests:
|
||||||
- ubuntu-minimal/bionic-arm64-build-succeeds
|
- ubuntu-minimal/bionic-arm64-build-succeeds
|
||||||
- ubuntu-minimal/focal-arm64-build-succeeds
|
- ubuntu-minimal/focal-arm64-build-succeeds
|
||||||
|
- ubuntu-minimal/jammy-arm64-build-succeeds
|
||||||
- debian-minimal/bullseye-arm64-build-succeeds
|
- debian-minimal/bullseye-arm64-build-succeeds
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
|
@ -27,6 +27,7 @@ uuid-runtime [platform:dpkg]
|
|||||||
yum-utils [platform:dpkg !platform:ubuntu-focal !platform:debian-bullseye]
|
yum-utils [platform:dpkg !platform:ubuntu-focal !platform:debian-bullseye]
|
||||||
dnf [platform:debian-bullseye]
|
dnf [platform:debian-bullseye]
|
||||||
debootstrap [platform:dpkg]
|
debootstrap [platform:dpkg]
|
||||||
|
zstd [platform:dpkg]
|
||||||
procps [platform:dpkg]
|
procps [platform:dpkg]
|
||||||
|
|
||||||
# centos/fedora
|
# centos/fedora
|
||||||
|
@ -0,0 +1,4 @@
|
|||||||
|
Verify we can build a ubuntu-minimal image.
|
||||||
|
|
||||||
|
Note this test includes the vm element to test the bootloader install,
|
||||||
|
and specifies to output a .qcow2
|
@ -0,0 +1,3 @@
|
|||||||
|
block-device-efi
|
||||||
|
openstack-ci-mirrors
|
||||||
|
vm
|
@ -0,0 +1 @@
|
|||||||
|
export DIB_RELEASE=jammy
|
@ -0,0 +1 @@
|
|||||||
|
tar,qcow2
|
@ -0,0 +1,4 @@
|
|||||||
|
Verify we can build a ubuntu image.
|
||||||
|
|
||||||
|
Note this test includes the vm element to test the bootloader install,
|
||||||
|
and specifies to output a .qcow2
|
@ -0,0 +1,4 @@
|
|||||||
|
block-device-mbr
|
||||||
|
openstack-ci-mirrors
|
||||||
|
vm
|
||||||
|
|
@ -0,0 +1 @@
|
|||||||
|
export DIB_RELEASE=jammy
|
@ -0,0 +1 @@
|
|||||||
|
tar,qcow2
|
@ -5,5 +5,6 @@
|
|||||||
- bindep
|
- bindep
|
||||||
- dib-setup-gate-mirrors
|
- dib-setup-gate-mirrors
|
||||||
- ensure-podman
|
- ensure-podman
|
||||||
|
- dib-ensure-debootstrap
|
||||||
- dib-functests
|
- dib-functests
|
||||||
|
|
||||||
|
2
roles/dib-ensure-debootstrap/README.rst
Normal file
2
roles/dib-ensure-debootstrap/README.rst
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
Update debootstap from debian unstable. This ensures debootstrap is new
|
||||||
|
enough to recognize Jammy.
|
12
roles/dib-ensure-debootstrap/tasks/main.yaml
Normal file
12
roles/dib-ensure-debootstrap/tasks/main.yaml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
- name: Install debootstrap/unstable
|
||||||
|
# This is shell because doing it with native ansible modules went nowhere
|
||||||
|
become: yes
|
||||||
|
shell: |
|
||||||
|
set -ex
|
||||||
|
echo "APT::Default-Release: 'stable';" > /etc/apt/apt.conf.d/default-release
|
||||||
|
echo "deb http://deb.debian.org/debian unstable main" > /etc/apt/sources.list.d/unstable-debian.list
|
||||||
|
apt-get update
|
||||||
|
apt-get install -y debootstrap/unstable
|
||||||
|
# Remove the use of unstable as it seems to interfere with other tasks
|
||||||
|
rm /etc/apt/sources.list.d/unstable-debian.list
|
||||||
|
apt-get update
|
Loading…
x
Reference in New Issue
Block a user