Files
openstack-helm-images/zuul.d/alerta.yaml
Andrii Ostapenko b00a713eb4 Introduce pre-review image testing
This commit introduces buildset registry based pre-review image testing.
Post-review image testing is removed to be introduced in subsequent commit
in another buildset registry based implementation.

As a difference to previous non-buildset implementation, now
single test job will be run with multiple images.

Ceph to go after switching from frozen tags in osh-infra.

[0] https://review.opendev.org/743462

Depends-On: https://review.opendev.org/743462
Change-Id: Ieb45a20592c02e1929ed9804dd05a7e80ab673b1
Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
2020-09-28 13:03:59 -05:00

57 lines
1.6 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-alerta
gate:
jobs:
- openstack-helm-images-upload-alerta
promote:
jobs:
- openstack-helm-images-promote-alerta
periodic:
jobs:
- openstack-helm-images-build-alerta
- job:
name: openstack-helm-images-build-alerta
parent: openstack-helm-images-build
description: Build Alerta image
vars: &alerta_vars
currentdate: "{{ now(utc=True,fmt='%Y%m%d') }}"
docker_images:
- context: alerta
repository: openstackhelm/alerta
dockerfile: Dockerfile
tags:
- 8.0.2
files: &alerta_files
- alerta/.*
- zuul.d/alerta.yaml
- job:
name: openstack-helm-images-upload-alerta
parent: openstack-helm-images-upload
description: Build and upload Alerta image
vars: *alerta_vars
files: *alerta_files
- job:
name: openstack-helm-images-promote-alerta
parent: openstack-helm-images-promote
description: Promote Alerta image.
vars: *alerta_vars
files: *alerta_files