Files
openstack-helm-images/zuul.d/mariadb.yaml
Gage Hugo 1087d84d41 Update mariadb upload job
A previous change[0] added an ubuntu bionic Dockerfile for mariadb
but did not update the zuul file to properly tag the new image.

This change updates the zuul job in order to correctly tag the image,
as well as simplifying the ability to specify the ubuntu release.

Also updates the previous change's bionic Dockerfile to focal.

[0] https://review.opendev.org/c/openstack/openstack-helm-images/+/782843

Change-Id: I0c803bf1d2d4705b669a48bba0b9576c71d4b77d
2021-04-13 17:53:52 +00:00

65 lines
2.0 KiB
YAML

---
# Copyright 2019, SUSE LINUX GmbH.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
- project:
check:
jobs:
- openstack-helm-images-build-mariadb
gate:
jobs:
- openstack-helm-images-upload-mariadb
promote:
jobs:
- openstack-helm-images-promote-mariadb
periodic:
jobs:
- openstack-helm-images-upload-mariadb
- openstack-helm-images-promote-mariadb:
dependencies:
- name: openstack-helm-images-compute-kit-stein-ubuntu_bionic
- name: openstack-helm-images-compute-kit-train-ubuntu_bionic
- job:
name: openstack-helm-images-build-mariadb
parent: openstack-helm-images-build
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 }}
tags:
- "latest-ubuntu_{{ release }}"
- "ubuntu_{{ release }}-{{ currentdate }}"
files: &mariadb_files
- mariadb/.*
- zuul.d/mariadb.yaml
- job:
name: openstack-helm-images-upload-mariadb
parent: openstack-helm-images-upload
description: Build and upload mariadb images
vars: *mariadb_vars
files: *mariadb_files
- job:
name: openstack-helm-images-promote-mariadb
parent: openstack-helm-images-promote
description: Promote a previously published mariadb image to latest.
vars: *mariadb_vars
files: *mariadb_files