Add OpenStack Xena image building

This change adds in the script and jobs to build and promote images
for the OpenStack Xena release.

Change-Id: I327007346eac452fcf9a9279b3f2dc3bc868ee7f
This commit is contained in:
Gage Hugo 2022-01-19 14:08:14 -06:00
parent 10365638fd
commit b7d6dad4a8
2 changed files with 80 additions and 0 deletions

24
openstack/loci/build-xena.sh Executable file
View File

@ -0,0 +1,24 @@
#!/bin/bash
SCRIPT=`realpath $0`
SCRIPT_DIR=`dirname ${SCRIPT}`
## Only build from main folder
# Replace with Registry URI with your registry like your
# dockerhub user. Example: "docker.io/openstackhelm"
VERSION=${VERSION:-"latest"}
OPENSTACK_VERSION="stable/xena"
keystone_pip_packages=${keystone_pip_packages:-"'python-openstackclient'"}
heat_pip_packages=${heat_pip_packages:-"''"}
barbican_pip_packages=${barbican_pip_packages:-"''"}
glance_pip_packages=${glance_pip_packages:-"'python-swiftclient'"}
cinder_pip_packages=${cinder_pip_packages:-"'python-swiftclient'"}
neutron_pip_packages=${neutron_pip_packages:-"''"}
nova_pip_packages=${nova_pip_packages:-"''"}
horizon_pip_packages=${horizon_pip_packages:-"'heat-dashboard'"}
senlin_pip_packages=${senlin_pip_packages:-"''"}
congress_pip_packages=${congress_pip_packages:-"'python-congressclient'"}
magnum_pip_packages=${magnum_pip_packages:-"''"}
ironic_pip_packages=${ironic_pip_packages:-"''"}
neutron_sriov_pip_packages=${neutron_sriov_pip_packages:-"'networking-baremetal'"}
placement_pip_packages=${placement_pip_packages:-"httplib2"}
source ${SCRIPT_DIR}/build.sh

View File

@ -20,6 +20,7 @@
- openstack-helm-images-build-openstack-loci-ussuri-ubuntu_bionic
- openstack-helm-images-build-openstack-loci-victoria-ubuntu_focal
- openstack-helm-images-build-openstack-loci-wallaby-ubuntu_focal
- openstack-helm-images-build-openstack-loci-xena-ubuntu_focal
- openstack-helm-images-build-openstack-loci-master-ubuntu_focal
gate:
jobs:
@ -27,6 +28,7 @@
- openstack-helm-images-upload-openstack-loci-ussuri-ubuntu_bionic
- openstack-helm-images-upload-openstack-loci-victoria-ubuntu_focal
- openstack-helm-images-upload-openstack-loci-wallaby-ubuntu_focal
- openstack-helm-images-upload-openstack-loci-xena-ubuntu_focal
- openstack-helm-images-upload-openstack-loci-master-ubuntu_focal
promote:
jobs:
@ -34,6 +36,7 @@
- openstack-helm-images-promote-openstack-loci-ussuri-ubuntu_bionic
- openstack-helm-images-promote-openstack-loci-victoria-ubuntu_focal
- openstack-helm-images-promote-openstack-loci-wallaby-ubuntu_focal
- openstack-helm-images-promote-openstack-loci-xena-ubuntu_focal
- openstack-helm-images-promote-openstack-loci-master-ubuntu_focal
periodic:
jobs:
@ -427,6 +430,59 @@
vars: *build_master_focal_images
files: *loci-files
########
# XENA #
########
- job:
name: openstack-helm-images-build-openstack-loci-xena-ubuntu_focal
description: Build LOCI xena focal images
parent: openstack-helm-images-build-openstack-loci-master
vars: &build_xena_focal_images
currentdate: "{{ now(utc=True,fmt='%Y%m%d') }}"
branchname: "stable/xena"
shortbranchname: "xena"
distroname: "ubuntu_focal"
from: "docker.io/ubuntu:20.04"
python3: "yes"
wheels_location: "http://172.17.0.1:8080/wheels.tar.gz"
base_repository: "base"
ceph_repo: "deb https://download.ceph.com/debian-octopus/ focal main"
ceph_key: "https://download.ceph.com/keys/release.asc"
base_docker_image:
- <<: *base_image
prep_docker_images:
- <<: *prep_requirements_project
docker_images:
- <<: *requirements_project
- <<: *keystone_project
- <<: *glance_project
- <<: *cinder_project
- <<: *nova_project
- <<: *ironic_project
- <<: *neutron_project
- <<: *horizon_project
- <<: *heat_project
- <<: *barbican_project
- <<: *placement_project
- <<: *monasca_api_project
- <<: *watcher_project
- <<: *cyborg_project
- <<: *masakari_project
- <<: *masakari_monitors_project
- job:
name: openstack-helm-images-upload-openstack-loci-xena-ubuntu_focal
parent: openstack-helm-images-upload-openstack-loci-master
description: Build and upload LOCI xena focal images
vars: *build_xena_focal_images
- job:
name: openstack-helm-images-promote-openstack-loci-xena-ubuntu_focal
parent: openstack-helm-images-promote-openstack-loci-master
description: Promote previously published LOCI xena focal images
vars: *build_xena_focal_images
###########
# WALLABY #
###########