Files
openstack-helm-images/zuul.d/patroni.yaml
Andrii Ostapenko 8e3c6052da Don't pause image build jobs in periodic buildset
Some clouds may not support number of nodes needed by buildset
in the case when affiliation is required.
Changing logic to avoid pausing build job before uploading to dockerhub
and promotion. This will also lead to uploading a temporary tag to
dockerhub prior test deployment is done.

Change-Id: I49ddd4c3992ce1e4c6a0e4a84374df920f308e56
Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
2020-12-23 19:42:20 +00:00

63 lines
1.9 KiB
YAML

---
# Copyright 2019, AT&T Corporation.
#
# 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-patroni
gate:
jobs:
- openstack-helm-images-upload-patroni
promote:
jobs:
- openstack-helm-images-promote-patroni
periodic:
jobs:
- openstack-helm-images-upload-patroni
- openstack-helm-images-promote-patroni:
dependencies:
- name: openstack-helm-images-aio-monitoring
- job:
name: openstack-helm-images-build-patroni
parent: openstack-helm-images-build
description: Build patroni images
vars: &patroni_vars
currentdate: "{{ now(utc=True,fmt='%Y%m%d') }}"
docker_images:
- context: patroni
repository: openstackhelm/patroni
dockerfile: Dockerfile.ubuntu_xenial
tags:
- latest-ubuntu_xenial
- "ubuntu_xenial-{{ currentdate }}"
files: &patroni_files
- patroni/.*
- zuul.d/patroni.yaml
- job:
name: openstack-helm-images-upload-patroni
parent: openstack-helm-images-upload
description: Build and upload patroni images
vars: *patroni_vars
files: *patroni_files
- job:
name: openstack-helm-images-promote-patroni
parent: openstack-helm-images-promote
description: Promote a previously published patroni image to latest.
vars: *patroni_vars
files: *patroni_files