Build mariadb jammy images

Change-Id: I69fa9101a87803e760a1ba61e6d9e86599097359
This commit is contained in:
Vladimir Kozhukalov 2023-12-08 19:47:46 -06:00
parent 3ff5d280c5
commit f381d0474a
3 changed files with 18 additions and 7 deletions

View File

@ -6,9 +6,11 @@ cd ${SCRIPT_DIR}/..
IMAGE="mariadb"
VERSION=${VERSION:-10.5.9-focal}
DISTRO=${DISTRO:-ubuntu_focal}
DISTRO=${DISTRO:-ubuntu}
DISTRO_VERSION=${DISTRO_VERSION:-focal}
REGISTRY_URI=${REGISTRY_URI:-"openstackhelm/"}
EXTRA_TAG_INFO=${EXTRA_TAG_INFO:-""}
docker build -f ${IMAGE}/Dockerfile.${DISTRO} --network=host -t ${REGISTRY_URI}${IMAGE}:${VERSION}-${DISTRO}${EXTRA_TAG_INFO} ${extra_build_args} ${IMAGE}
docker build -f ${IMAGE}/Dockerfile.${DISTRO} --network=host -t ${REGISTRY_URI}${IMAGE}:${VERSION}-${DISTRO}_${DISTRO_VERSION}${EXTRA_TAG_INFO} ${extra_build_args} ${IMAGE}
cd -

View File

@ -29,7 +29,7 @@
- openstack-helm-images-promote-mariadb:
dependencies:
- name: openstack-helm-images-upload-mariadb
# - name: openstack-helm-images-compute-kit-2023-1-ubuntu_focal
- name: openstack-helm-images-compute-kit-2023-1-ubuntu_focal
# - name: openstack-helm-images-compute-kit-2023-2-ubuntu_jammy
- job:
@ -38,14 +38,23 @@
description: Build mariadb images
vars: &mariadb_vars
currentdate: "{{ now(utc=True,fmt='%Y%m%d') }}"
release: "focal"
docker_images:
- context: mariadb
repository: openstackhelm/mariadb
dockerfile: Dockerfile.ubuntu_{{ release }}
dockerfile: Dockerfile.ubuntu
build_args:
- FROM=docker.io/mariadb@sha256:aa38c70792b0330da98fbf20b7191f27f65ff2f55790e5a0b0ec2a02fcb3d03d
tags:
- "latest-ubuntu_{{ release }}"
- "ubuntu_{{ release }}-{{ currentdate }}"
- "latest-ubuntu_focal"
- "ubuntu_focal-{{ currentdate }}"
- context: mariadb
repository: openstackhelm/mariadb
dockerfile: Dockerfile.ubuntu
build_args:
- FROM=mariadb:10.11.6-jammy
tags:
- "latest-ubuntu_jammy"
- "ubuntu_jammy-{{ currentdate }}"
files: &mariadb_files
- mariadb/.*
- zuul.d/mariadb.yaml