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-ubuntu |
| 19 | gate: |
| 20 | jobs: |
| 21 | - atmosphere-upload-container-image-ubuntu |
| 22 | promote: |
| 23 | jobs: |
| 24 | - atmosphere-promote-container-image-ubuntu |
| 25 | |
| 26 | - job: |
| 27 | name: atmosphere-build-container-image-ubuntu |
| 28 | parent: atmosphere-build-container-image |
Mohammed Naser | 1259ead | 2024-05-30 20:01:26 -0400 | [diff] [blame] | 29 | dependencies: |
| 30 | - name: atmosphere-buildset-registry |
| 31 | soft: false |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 32 | vars: &container_image_vars |
| 33 | promote_container_image_job: atmosphere-upload-container-image-ubuntu |
| 34 | container_images: |
| 35 | - context: images/ubuntu |
| 36 | registry: registry.atmosphere.dev |
| 37 | repository: registry.atmosphere.dev/library/ubuntu |
| 38 | arch: |
| 39 | - linux/amd64 |
Tadas Sutkaitis | 1bb945e | 2024-06-21 08:46:05 +0300 | [diff] [blame] | 40 | - linux/arm64 |
Mohammed Naser | d30f18d | 2024-04-17 01:20:43 -0400 | [diff] [blame] | 41 | build_args: |
| 42 | - "RELEASE={{ zuul.branch | replace('stable/', '') }}" |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 43 | tags: |
Mohammed Naser | d30f18d | 2024-04-17 01:20:43 -0400 | [diff] [blame] | 44 | - "{{ zuul.branch | replace('stable/', '') }}" |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 45 | files: &container_image_files |
| 46 | - images/ubuntu/.* |
| 47 | |
| 48 | - job: |
| 49 | name: atmosphere-upload-container-image-ubuntu |
| 50 | parent: atmosphere-upload-container-image |
Mohammed Naser | 7270870 | 2024-06-20 00:07:56 -0400 | [diff] [blame] | 51 | dependencies: |
| 52 | - name: atmosphere-buildset-registry |
| 53 | soft: false |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 54 | vars: *container_image_vars |
| 55 | files: *container_image_files |
| 56 | |
| 57 | - job: |
| 58 | name: atmosphere-promote-container-image-ubuntu |
| 59 | parent: atmosphere-promote-container-image |
| 60 | vars: *container_image_vars |
| 61 | files: *container_image_files |