blob: 2492adc813a296685d7679163546c884e6a00262 [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:
49 - PROJECT=heat
50 tags:
51 - zed
52 files: &container_image_files
53 - images/ubuntu/.*
54 - images/ubuntu-cloud-archive/.*
55 - images/python-base/.*
56 - images/openstack-venv-builder/.*
57 - images/openstack-python-runtime/.*
58 - images/heat/.*
59
60- job:
61 name: atmosphere-upload-container-image-heat
62 parent: atmosphere-upload-container-image
63 dependencies:
64 - name: atmosphere-upload-container-image-ubuntu
65 soft: true
66 - name: atmosphere-upload-container-image-ubuntu-cloud-archive
67 soft: true
68 - name: atmosphere-upload-container-image-python-base
69 soft: true
70 - name: atmosphere-upload-container-image-openstack-venv-builder
71 soft: true
72 - name: atmosphere-upload-container-image-openstack-python-runtime
73 soft: true
74 vars: *container_image_vars
75 files: *container_image_files
76
77- job:
78 name: atmosphere-promote-container-image-heat
79 parent: atmosphere-promote-container-image
80 vars: *container_image_vars
81 files: *container_image_files