blob: 5b4087eaa34b4ebcaa12379f6b6559fa010789db [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:
vexxhost-bot022ccb02024-04-24 13:05:22 -040030 - name: atmosphere-buildset-registry
31 soft: false
Mohammed Naserd28fbaf2024-04-08 17:15:00 -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
43 promote_container_image_job: atmosphere-upload-container-image-heat
44 container_images:
45 - context: images/heat
Mohammed Naser602ef252024-04-08 20:02:36 -040046 registry: registry.atmosphere.dev
Mohammed Naserd28fbaf2024-04-08 17:15:00 -040047 repository: registry.atmosphere.dev/library/heat
48 arch:
49 - linux/amd64
50 build_args:
Mohammed Naser19c6c8a2024-04-18 01:47:10 -040051 - "RELEASE={{ zuul.branch | replace('stable/', '') }}"
Mohammed Naserd28fbaf2024-04-08 17:15:00 -040052 - PROJECT=heat
53 tags:
Mohammed Naser19c6c8a2024-04-18 01:47:10 -040054 - "{{ zuul.branch | replace('stable/', '') }}"
Mohammed Naserd28fbaf2024-04-08 17:15:00 -040055 files: &container_image_files
56 - images/ubuntu/.*
57 - images/ubuntu-cloud-archive/.*
58 - images/python-base/.*
59 - images/openstack-venv-builder/.*
60 - images/openstack-python-runtime/.*
61 - images/heat/.*
62
63- job:
64 name: atmosphere-upload-container-image-heat
65 parent: atmosphere-upload-container-image
66 dependencies:
vexxhost-bot022ccb02024-04-24 13:05:22 -040067 - name: atmosphere-buildset-registry
68 soft: false
Mohammed Naserd28fbaf2024-04-08 17:15:00 -040069 - name: atmosphere-upload-container-image-ubuntu
70 soft: true
71 - name: atmosphere-upload-container-image-ubuntu-cloud-archive
72 soft: true
73 - name: atmosphere-upload-container-image-python-base
74 soft: true
75 - name: atmosphere-upload-container-image-openstack-venv-builder
76 soft: true
77 - name: atmosphere-upload-container-image-openstack-python-runtime
78 soft: true
79 vars: *container_image_vars
80 files: *container_image_files
81
82- job:
83 name: atmosphere-promote-container-image-heat
84 parent: atmosphere-promote-container-image
85 vars: *container_image_vars
86 files: *container_image_files