blob: f377b8a5a97107c499cff0e9fd64df36b37e4801 [file] [log] [blame]
Mohammed Naserda994232024-04-13 12:34:01 -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:
Mohammed Naser0de47b72024-04-23 00:00:02 -040030 - name: atmosphere-buildset-registry
31 soft: false
Mohammed Naserda994232024-04-13 12:34:01 -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 Tang0953b612024-12-13 04:14:34 +080046 registry: harbor.atmosphere.dev
47 repository: harbor.atmosphere.dev/library/nova
Mohammed Naserda994232024-04-13 12:34:01 -040048 arch:
49 - linux/amd64
vexxhost-botf77e4ba2024-06-21 14:24:28 +020050 - linux/arm64
Mohammed Naserda994232024-04-13 12:34:01 -040051 build_args:
Mohammed Naserd30f18d2024-04-17 01:20:43 -040052 - "RELEASE={{ zuul.branch | replace('stable/', '') }}"
Mohammed Naserda994232024-04-13 12:34:01 -040053 - PROJECT=nova
vexxhost-bot900967a2024-09-04 23:31:30 -040054 - SHELL=/bin/bash
Mohammed Naserda994232024-04-13 12:34:01 -040055 tags:
Mohammed Naserd30f18d2024-04-17 01:20:43 -040056 - "{{ zuul.branch | replace('stable/', '') }}"
Mohammed Naserda994232024-04-13 12:34:01 -040057 files: &container_image_files
58 - images/ubuntu/.*
59 - images/ubuntu-cloud-archive/.*
60 - images/python-base/.*
61 - images/openstack-venv-builder/.*
62 - images/openstack-python-runtime/.*
63 - images/nova/.*
64
65- job:
66 name: atmosphere-upload-container-image-nova
67 parent: atmosphere-upload-container-image
68 dependencies:
Mohammed Naser0de47b72024-04-23 00:00:02 -040069 - name: atmosphere-buildset-registry
70 soft: false
Mohammed Naserda994232024-04-13 12:34:01 -040071 - name: atmosphere-upload-container-image-ubuntu
72 soft: true
73 - name: atmosphere-upload-container-image-ubuntu-cloud-archive
74 soft: true
75 - name: atmosphere-upload-container-image-python-base
76 soft: true
77 - name: atmosphere-upload-container-image-openstack-venv-builder
78 soft: true
79 - name: atmosphere-upload-container-image-openstack-python-runtime
80 soft: true
81 vars: *container_image_vars
82 files: *container_image_files
83
84- job:
85 name: atmosphere-promote-container-image-nova
86 parent: atmosphere-promote-container-image
87 vars: *container_image_vars
88 files: *container_image_files