blob: d1f65adff7185cfab07a70a4a876ba7b4c68c97c [file] [log] [blame]
Mohammed Naserda994232024-04-13 12:34:01 -04001# Copyright (c) 2024 VEXXHOST, Inc.
2#
3# Licensed under the Apache License, Version 2.0 (the "License"); you may
4# not use this file except in compliance with the License. You may obtain
5# a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12# License for the specific language governing permissions and limitations
13# under the License.
14
15- project:
16 check:
17 jobs:
18 - atmosphere-build-container-image-horizon
19 gate:
20 jobs:
Mohammed Naser62c07432025-01-15 17:08:19 -050021 - atmosphere-build-container-image-horizon
Mohammed Naserda994232024-04-13 12:34:01 -040022 promote:
23 jobs:
24 - atmosphere-promote-container-image-horizon
25
26- job:
27 name: atmosphere-build-container-image-horizon
28 parent: atmosphere-build-container-image
29 dependencies:
Mohammed Naser0de47b72024-04-23 00:00:02 -040030 - name: atmosphere-buildset-registry
31 soft: false
Mohammed Naserda994232024-04-13 12:34:01 -040032 - name: atmosphere-build-container-image-ubuntu
33 soft: true
34 - name: atmosphere-build-container-image-ubuntu-cloud-archive
35 soft: true
36 - name: atmosphere-build-container-image-python-base
37 soft: true
38 - name: atmosphere-build-container-image-openstack-venv-builder
39 soft: true
40 - name: atmosphere-build-container-image-openstack-python-runtime
41 soft: true
42 vars: &container_image_vars
Mohammed Naser62c07432025-01-15 17:08:19 -050043 promote_container_image_job: atmosphere-build-container-image-horizon
Mohammed Naserda994232024-04-13 12:34:01 -040044 container_images:
45 - context: images/horizon
Mohammed Naser4ad7b512024-12-11 23:34:48 -050046 registry: harbor.atmosphere.dev
Mohammed Naserbcd53112025-01-15 16:49:44 -050047 repository: "{{ container_registry }}/horizon"
Mohammed Naserda994232024-04-13 12:34:01 -040048 arch:
49 - linux/amd64
50 build_args:
Mohammed Naserbcd53112025-01-15 16:49:44 -050051 - REGISTRY={{ container_registry }}
Mohammed Naserd30f18d2024-04-17 01:20:43 -040052 - "RELEASE={{ zuul.branch | replace('stable/', '') }}"
Mohammed Naserda994232024-04-13 12:34:01 -040053 - PROJECT=horizon
54 tags:
Mohammed Naserd30f18d2024-04-17 01:20:43 -040055 - "{{ zuul.branch | replace('stable/', '') }}"
Mohammed Naserda994232024-04-13 12:34:01 -040056 files: &container_image_files
57 - images/ubuntu/.*
58 - images/ubuntu-cloud-archive/.*
59 - images/python-base/.*
60 - images/openstack-venv-builder/.*
61 - images/openstack-python-runtime/.*
62 - images/horizon/.*
63
64- job:
Mohammed Naserda994232024-04-13 12:34:01 -040065 name: atmosphere-promote-container-image-horizon
66 parent: atmosphere-promote-container-image
67 vars: *container_image_vars
68 files: *container_image_files