blob: 52403ef7beb6833632d5b2df1bfabd08738b853d [file] [log] [blame]
Mohammed Naserd28fbaf2024-04-08 17:15:00 -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-heat
19 gate:
20 jobs:
21 - atmosphere-upload-container-image-heat
22 promote:
23 jobs:
24 - atmosphere-promote-container-image-heat
25
26- job:
27 name: atmosphere-build-container-image-heat
28 parent: atmosphere-build-container-image
29 dependencies:
30 - name: atmosphere-build-container-image-ubuntu
31 soft: true
32 - name: atmosphere-build-container-image-ubuntu-cloud-archive
33 soft: true
34 - name: atmosphere-build-container-image-python-base
35 soft: true
36 - name: atmosphere-build-container-image-openstack-venv-builder
37 soft: true
38 - name: atmosphere-build-container-image-openstack-python-runtime
39 soft: true
40 vars: &container_image_vars
41 promote_container_image_job: atmosphere-upload-container-image-heat
42 container_images:
43 - context: images/heat
Mohammed Naser602ef252024-04-08 20:02:36 -040044 registry: registry.atmosphere.dev
Mohammed Naserd28fbaf2024-04-08 17:15:00 -040045 repository: registry.atmosphere.dev/library/heat
46 arch:
47 - linux/amd64
48 build_args:
Mohammed Naser19c6c8a2024-04-18 01:47:10 -040049 - "RELEASE={{ zuul.branch | replace('stable/', '') }}"
Mohammed Naserd28fbaf2024-04-08 17:15:00 -040050 - PROJECT=heat
51 tags:
Mohammed Naser19c6c8a2024-04-18 01:47:10 -040052 - "{{ zuul.branch | replace('stable/', '') }}"
Mohammed Naserd28fbaf2024-04-08 17:15:00 -040053 files: &container_image_files
54 - images/ubuntu/.*
55 - images/ubuntu-cloud-archive/.*
56 - images/python-base/.*
57 - images/openstack-venv-builder/.*
58 - images/openstack-python-runtime/.*
59 - images/heat/.*
60
61- job:
62 name: atmosphere-upload-container-image-heat
63 parent: atmosphere-upload-container-image
64 dependencies:
65 - name: atmosphere-upload-container-image-ubuntu
66 soft: true
67 - name: atmosphere-upload-container-image-ubuntu-cloud-archive
68 soft: true
69 - name: atmosphere-upload-container-image-python-base
70 soft: true
71 - name: atmosphere-upload-container-image-openstack-venv-builder
72 soft: true
73 - name: atmosphere-upload-container-image-openstack-python-runtime
74 soft: true
75 vars: *container_image_vars
76 files: *container_image_files
77
78- job:
79 name: atmosphere-promote-container-image-heat
80 parent: atmosphere-promote-container-image
81 vars: *container_image_vars
82 files: *container_image_files