blob: b0378756c9f407241ad2a51acf2a54686ef72e1b [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:
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-nova
44 container_images:
45 - context: images/nova
Yaguang Tangae1f4102024-12-13 22:27:22 +080046 registry: harbor.atmosphere.dev
Mohammed Naseraa212e62025-01-15 16:49:44 -050047 repository: "{{ container_registry }}/nova"
Mohammed Naserd28fbaf2024-04-08 17:15:00 -040048 arch:
49 - linux/amd64
Mohammed Naser25b395a2024-06-21 15:01:19 -040050 - linux/arm64
Mohammed Naserd28fbaf2024-04-08 17:15:00 -040051 build_args:
Mohammed Naseraa212e62025-01-15 16:49:44 -050052 - REGISTRY={{ container_registry }}
Mohammed Naser19c6c8a2024-04-18 01:47:10 -040053 - "RELEASE={{ zuul.branch | replace('stable/', '') }}"
Mohammed Naserd28fbaf2024-04-08 17:15:00 -040054 - PROJECT=nova
vexxhost-bot63ebbab2024-09-04 23:33:45 -040055 - SHELL=/bin/bash
Mohammed Naserd28fbaf2024-04-08 17:15:00 -040056 tags:
Mohammed Naser19c6c8a2024-04-18 01:47:10 -040057 - "{{ zuul.branch | replace('stable/', '') }}"
Mohammed Naserd28fbaf2024-04-08 17:15:00 -040058 files: &container_image_files
59 - images/ubuntu/.*
60 - images/ubuntu-cloud-archive/.*
61 - images/python-base/.*
62 - images/openstack-venv-builder/.*
63 - images/openstack-python-runtime/.*
64 - images/nova/.*
65
66- job:
67 name: atmosphere-upload-container-image-nova
68 parent: atmosphere-upload-container-image
69 dependencies:
vexxhost-bot022ccb02024-04-24 13:05:22 -040070 - name: atmosphere-buildset-registry
71 soft: false
Mohammed Naserd28fbaf2024-04-08 17:15:00 -040072 - name: atmosphere-upload-container-image-ubuntu
73 soft: true
74 - name: atmosphere-upload-container-image-ubuntu-cloud-archive
75 soft: true
76 - name: atmosphere-upload-container-image-python-base
77 soft: true
78 - name: atmosphere-upload-container-image-openstack-venv-builder
79 soft: true
80 - name: atmosphere-upload-container-image-openstack-python-runtime
81 soft: true
82 vars: *container_image_vars
83 files: *container_image_files
84
85- job:
86 name: atmosphere-promote-container-image-nova
87 parent: atmosphere-promote-container-image
88 vars: *container_image_vars
89 files: *container_image_files