blob: 5089cd9eb44cbcf1d8cc37137782c18ba61a8da6 [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-octavia
gate:
jobs:
- atmosphere-build-container-image-octavia
promote:
jobs:
- atmosphere-promote-container-image-octavia
- job:
name: atmosphere-build-container-image-octavia
parent: atmosphere-build-container-image
dependencies:
- name: atmosphere-buildset-registry
soft: false
- name: atmosphere-build-container-image-ubuntu
soft: true
- name: atmosphere-build-container-image-ubuntu-cloud-archive
soft: true
- name: atmosphere-build-container-image-python-base
soft: true
- name: atmosphere-build-container-image-openstack-venv-builder
soft: true
- name: atmosphere-build-container-image-openstack-python-runtime
soft: true
vars: &container_image_vars
promote_container_image_job: atmosphere-build-container-image-octavia
container_images:
- context: images/octavia
registry: harbor.atmosphere.dev
repository: "{{ container_registry }}/octavia"
arch:
- linux/amd64
build_args:
- REGISTRY={{ container_registry }}
- "RELEASE={{ zuul.branch | replace('stable/', '') }}"
- PROJECT=octavia
tags:
- "{{ zuul.branch | replace('stable/', '') }}"
files: &container_image_files
- images/ubuntu/.*
- images/ubuntu-cloud-archive/.*
- images/python-base/.*
- images/openstack-venv-builder/.*
- images/openstack-python-runtime/.*
- images/octavia/.*
- job:
name: atmosphere-promote-container-image-octavia
parent: atmosphere-promote-container-image
vars: *container_image_vars
files: *container_image_files