blob: 8469a0ed669b26e41a9714f6f4fcc8d0ead9f73a [file] [log] [blame]
# Copyright (c) 2024 VEXXHOST, Inc.
#
# 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:
- atmosphere-build-container-image-cluster-api-provider-openstack
gate:
jobs:
- atmosphere-upload-container-image-cluster-api-provider-openstack
promote:
jobs:
- atmosphere-promote-container-image-cluster-api-provider-openstack
- job:
name: atmosphere-build-container-image-cluster-api-provider-openstack
parent: atmosphere-build-container-image
dependencies:
- name: atmosphere-buildset-registry
soft: false
vars: &container_image_vars
promote_container_image_job: atmosphere-upload-container-image-cluster-api-provider-openstack
container_images:
- context: images/cluster-api-provider-openstack
registry: registry.atmosphere.dev
repository: registry.atmosphere.dev/library/capi-openstack-controller
arch:
- linux/amd64
tags:
- "{{ zuul.branch | replace('stable/', '') }}"
files: &container_image_files
- images/cluster-api-provider-openstack/.*
- job:
name: atmosphere-upload-container-image-cluster-api-provider-openstack
parent: atmosphere-upload-container-image
dependencies:
- name: atmosphere-buildset-registry
soft: false
vars: *container_image_vars
files: *container_image_files
- job:
name: atmosphere-promote-container-image-cluster-api-provider-openstack
parent: atmosphere-promote-container-image
vars: *container_image_vars
files: *container_image_files