openstack-helm-images/zuul.d/ceph-utility.yaml

60 lines
1.9 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-ceph-utility
gate:
jobs:
- openstack-helm-images-upload-ceph-utility
promote:
jobs:
- openstack-helm-images-promote-ceph-utility
periodic-weekly:
jobs:
- openstack-helm-images-build-ceph-utility
- job:
name: openstack-helm-images-build-ceph-utility
parent: openstack-helm-images-build
description: Build ceph-utility images
vars: &ceph-utility_vars
currentdate: "{{ now(utc=True,fmt='%Y%m%d') }}"
docker_images:
- context: ceph-utility
repository: openstackhelm/ceph-utility
dockerfile: Dockerfile.ubuntu_focal
tags:
- latest-ubuntu_focal
- "ubuntu_focal-{{ currentdate }}"
files: &ceph-utility_files
- ceph-utility/.*
- zuul.d/ceph-utility.yaml
- job:
name: openstack-helm-images-upload-ceph-utility
parent: openstack-helm-images-upload
description: Build and upload ceph-utility images
vars: *ceph-utility_vars
files: *ceph-utility_files
- job:
name: openstack-helm-images-promote-ceph-utility
parent: openstack-helm-images-promote
description: Promote a previously published ceph-utility image to latest.
vars: *ceph-utility_vars
files: *ceph-utility_files