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 |
Yaguang Tang | 0953b61 | 2024-12-13 04:14:34 +0800 | [diff] [blame] | 36 | registry: harbor.atmosphere.dev |
Mohammed Naser | e5b6ff7 | 2025-01-15 16:49:44 -0500 | [diff] [blame] | 37 | repository: "{{ container_registry }}/ubuntu" |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 38 | arch: |
| 39 | - linux/amd64 |
vexxhost-bot | f77e4ba | 2024-06-21 14:24:28 +0200 | [diff] [blame] | 40 | - linux/arm64 |
Mohammed Naser | d30f18d | 2024-04-17 01:20:43 -0400 | [diff] [blame] | 41 | build_args: |
Mohammed Naser | e5b6ff7 | 2025-01-15 16:49:44 -0500 | [diff] [blame] | 42 | - REGISTRY={{ container_registry }} |
Mohammed Naser | d30f18d | 2024-04-17 01:20:43 -0400 | [diff] [blame] | 43 | - "RELEASE={{ zuul.branch | replace('stable/', '') }}" |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 44 | tags: |
Mohammed Naser | d30f18d | 2024-04-17 01:20:43 -0400 | [diff] [blame] | 45 | - "{{ zuul.branch | replace('stable/', '') }}" |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 46 | files: &container_image_files |
| 47 | - images/ubuntu/.* |
| 48 | |
| 49 | - job: |
| 50 | name: atmosphere-upload-container-image-ubuntu |
| 51 | parent: atmosphere-upload-container-image |
vexxhost-bot | 69a7f3c | 2024-06-20 14:16:03 +0200 | [diff] [blame] | 52 | dependencies: |
| 53 | - name: atmosphere-buildset-registry |
| 54 | soft: false |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 55 | vars: *container_image_vars |
| 56 | files: *container_image_files |
| 57 | |
| 58 | - job: |
| 59 | name: atmosphere-promote-container-image-ubuntu |
| 60 | parent: atmosphere-promote-container-image |
| 61 | vars: *container_image_vars |
| 62 | files: *container_image_files |