Add zuul job for Node Promblem Detector image

Change-Id: I1e6d9ccdb09ecc07a0bdd8194a60e57e0e96fbaf
This commit is contained in:
Pai Radhika 2020-07-13 22:54:25 +00:00
parent d465eff92d
commit 3676e20257
1 changed files with 57 additions and 0 deletions

View File

@ -0,0 +1,57 @@
---
# 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-node-problem-detector
gate:
jobs:
- openstack-helm-images-upload-node-problem-detector
promote:
jobs:
- openstack-helm-images-promote-node-problem-detector
periodic:
jobs:
- openstack-helm-images-build-node-problem-detector
- job:
name: openstack-helm-images-build-node-problem-detector
parent: openstack-helm-images-build
description: Build Node Problem Detector image
vars: &node-problem-detector_vars
currentdate: "{{ now(utc=True,fmt='%Y%m%d') }}"
docker_images:
- context: node-problem-detector
repository: openstackhelm/node-problem-detector
dockerfile: Dockerfile.ubuntu_bionic
tags:
- latest-ubuntu_bionic
- "ubuntu_bionic-{{ currentdate }}"
files: &node-problem-detector_files
- node-problem-detector/.*
- zuul.d/node-problem-detector.yaml
- job:
name: openstack-helm-images-upload-node-problem-detector
parent: openstack-helm-images-upload
description: Build and upload Node problem detector image
vars: *node-problem-detector_vars
files: *node-problem-detector_files
- job:
name: openstack-helm-images-promote-node-problem-detector
parent: openstack-helm-images-promote
description: Promote a previously published Node Problem Detector image.
vars: *node-problem-detector_vars
files: *node-problem-detector_files