blob: b78c251d862a233d6fe1c5e148e36e518decf053 [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-nova
19 gate:
20 jobs:
21 - atmosphere-upload-container-image-nova
22 promote:
23 jobs:
24 - atmosphere-promote-container-image-nova
25
26- job:
27 name: atmosphere-build-container-image-nova
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-nova
42 container_images:
43 - context: images/nova
44 repository: registry.atmosphere.dev/library/nova
45 arch:
46 - linux/amd64
47 build_args:
48 - PROJECT=nova
49 tags:
50 - zed
51 files: &container_image_files
52 - images/ubuntu/.*
53 - images/ubuntu-cloud-archive/.*
54 - images/python-base/.*
55 - images/openstack-venv-builder/.*
56 - images/openstack-python-runtime/.*
57 - images/nova/.*
58
59- job:
60 name: atmosphere-upload-container-image-nova
61 parent: atmosphere-upload-container-image
62 dependencies:
63 - name: atmosphere-upload-container-image-ubuntu
64 soft: true
65 - name: atmosphere-upload-container-image-ubuntu-cloud-archive
66 soft: true
67 - name: atmosphere-upload-container-image-python-base
68 soft: true
69 - name: atmosphere-upload-container-image-openstack-venv-builder
70 soft: true
71 - name: atmosphere-upload-container-image-openstack-python-runtime
72 soft: true
73 vars: *container_image_vars
74 files: *container_image_files
75
76- job:
77 name: atmosphere-promote-container-image-nova
78 parent: atmosphere-promote-container-image
79 vars: *container_image_vars
80 files: *container_image_files