8e3c6052da
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>
61 lines
1.9 KiB
YAML
61 lines
1.9 KiB
YAML
---
|
|
# 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-nagios
|
|
gate:
|
|
jobs:
|
|
- openstack-helm-images-upload-nagios
|
|
promote:
|
|
jobs:
|
|
- openstack-helm-images-promote-nagios
|
|
periodic:
|
|
jobs:
|
|
- openstack-helm-images-upload-nagios
|
|
- openstack-helm-images-promote-nagios:
|
|
dependencies:
|
|
- name: openstack-helm-images-aio-monitoring
|
|
|
|
- job:
|
|
name: openstack-helm-images-build-nagios
|
|
parent: openstack-helm-images-build
|
|
description: Build Prometheus aware Nagios core 4 image
|
|
vars: &nagios_vars
|
|
currentdate: "{{ now(utc=True,fmt='%Y%m%d') }}"
|
|
docker_images:
|
|
- context: nagios
|
|
repository: openstackhelm/nagios
|
|
dockerfile: Dockerfile.ubuntu_xenial
|
|
tags:
|
|
- latest-ubuntu_xenial
|
|
- "ubuntu_xenial-{{ currentdate }}"
|
|
files: &nagios_files
|
|
- nagios/.*
|
|
- zuul.d/nagios.yaml
|
|
|
|
- job:
|
|
name: openstack-helm-images-upload-nagios
|
|
parent: openstack-helm-images-upload
|
|
description: Build and upload Prometheus aware Nagios core 4 image
|
|
vars: *nagios_vars
|
|
files: *nagios_files
|
|
|
|
- job:
|
|
name: openstack-helm-images-promote-nagios
|
|
parent: openstack-helm-images-promote
|
|
description: Promote a previously published Prometheus aware Nagios core 4 image
|
|
vars: *nagios_vars
|
|
files: *nagios_files
|