Fix focal amphora image build

Purge packages based on the ditro name and release
Add a testing job for building a jammy amphora image

Change-Id: Ic1ec002062f91b7d3a43669e86380a2ffbdd7b18
This commit is contained in:
Gregory Thiemonge 2023-03-20 07:57:57 +01:00
parent 764cbf014f
commit 8c6f1a0ae5
2 changed files with 26 additions and 3 deletions

View File

@ -7,10 +7,21 @@ build-essential:
build-only: True
gcc:
uninstall: True
gcc-10:
uninstall: True
when:
- DISTRO_NAME = ubuntu
- DIB_RELEASE = focal
gcc-11:
uninstall: True
when:
- DISTRO_NAME = ubuntu
- DIB_RELEASE != focal
gcc-12:
uninstall: True
when:
- DISTRO_NAME = ubuntu
- DIB_RELEASE != focal
git-man:
uninstall: True
perl:

View File

@ -161,9 +161,6 @@
required-projects:
- openstack/octavia
- openstack/octavia-lib
vars:
amphora_os: ubuntu
amphora_os_release: focal
- job:
name: octavia-amphora-image-build-live-focal
@ -173,6 +170,21 @@
master. This job does not publish the image.
required-projects:
- openstack/diskimage-builder
vars:
amphora_os: ubuntu
amphora_os_release: focal
- job:
name: octavia-amphora-image-build-live-jammy
parent: octavia-amphora-image-build
description: |
Builds an Ubuntu Jammy amphora image using diskimage-builder from Git
master. This job does not publish the image.
required-projects:
- openstack/diskimage-builder
vars:
amphora_os: ubuntu
amphora_os_release: jammy
- job:
name: octavia-amphora-image-build-live-centos-9-stream