Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 1 | # 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-ironic |
| 19 | gate: |
| 20 | jobs: |
| 21 | - atmosphere-upload-container-image-ironic |
| 22 | promote: |
| 23 | jobs: |
| 24 | - atmosphere-promote-container-image-ironic |
| 25 | |
| 26 | - job: |
| 27 | name: atmosphere-build-container-image-ironic |
| 28 | parent: atmosphere-build-container-image |
| 29 | dependencies: |
Mohammed Naser | 0de47b7 | 2024-04-23 00:00:02 -0400 | [diff] [blame] | 30 | - name: atmosphere-buildset-registry |
| 31 | soft: false |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 32 | - 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-ironic |
| 44 | container_images: |
| 45 | - context: images/ironic |
Yaguang Tang | 1d50b80 | 2024-12-13 03:35:11 +0800 | [diff] [blame] | 46 | registry: harbor.atmosphere.dev |
Mohammed Naser | d4ae9be | 2025-01-15 16:49:44 -0500 | [diff] [blame] | 47 | repository: "{{ container_registry }}/ironic" |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 48 | arch: |
| 49 | - linux/amd64 |
| 50 | build_args: |
Mohammed Naser | d4ae9be | 2025-01-15 16:49:44 -0500 | [diff] [blame] | 51 | - REGISTRY={{ container_registry }} |
Mohammed Naser | d30f18d | 2024-04-17 01:20:43 -0400 | [diff] [blame] | 52 | - "RELEASE={{ zuul.branch | replace('stable/', '') }}" |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 53 | - PROJECT=ironic |
| 54 | tags: |
Mohammed Naser | d30f18d | 2024-04-17 01:20:43 -0400 | [diff] [blame] | 55 | - "{{ zuul.branch | replace('stable/', '') }}" |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 56 | files: &container_image_files |
| 57 | - images/ubuntu/.* |
| 58 | - images/ubuntu-cloud-archive/.* |
| 59 | - images/python-base/.* |
| 60 | - images/openstack-venv-builder/.* |
| 61 | - images/openstack-python-runtime/.* |
| 62 | - images/ironic/.* |
| 63 | |
| 64 | - job: |
| 65 | name: atmosphere-upload-container-image-ironic |
| 66 | parent: atmosphere-upload-container-image |
| 67 | dependencies: |
Mohammed Naser | 0de47b7 | 2024-04-23 00:00:02 -0400 | [diff] [blame] | 68 | - name: atmosphere-buildset-registry |
| 69 | soft: false |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 70 | - name: atmosphere-upload-container-image-ubuntu |
| 71 | soft: true |
| 72 | - name: atmosphere-upload-container-image-ubuntu-cloud-archive |
| 73 | soft: true |
| 74 | - name: atmosphere-upload-container-image-python-base |
| 75 | soft: true |
| 76 | - name: atmosphere-upload-container-image-openstack-venv-builder |
| 77 | soft: true |
| 78 | - name: atmosphere-upload-container-image-openstack-python-runtime |
| 79 | soft: true |
| 80 | vars: *container_image_vars |
| 81 | files: *container_image_files |
| 82 | |
| 83 | - job: |
| 84 | name: atmosphere-promote-container-image-ironic |
| 85 | parent: atmosphere-promote-container-image |
| 86 | vars: *container_image_vars |
| 87 | files: *container_image_files |