blob: 2b54f92240afa6456bcc6e7cab35f0b504e33168 [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-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 Naser1259ead2024-05-30 20:01:26 -040029 dependencies:
30 - name: atmosphere-buildset-registry
31 soft: false
Mohammed Naserda994232024-04-13 12:34:01 -040032 vars: &container_image_vars
33 promote_container_image_job: atmosphere-upload-container-image-ubuntu
34 container_images:
35 - context: images/ubuntu
Yaguang Tang0953b612024-12-13 04:14:34 +080036 registry: harbor.atmosphere.dev
Mohammed Nasere5b6ff72025-01-15 16:49:44 -050037 repository: "{{ container_registry }}/ubuntu"
Mohammed Naserda994232024-04-13 12:34:01 -040038 arch:
39 - linux/amd64
vexxhost-botf77e4ba2024-06-21 14:24:28 +020040 - linux/arm64
Mohammed Naserd30f18d2024-04-17 01:20:43 -040041 build_args:
Mohammed Nasere5b6ff72025-01-15 16:49:44 -050042 - REGISTRY={{ container_registry }}
Mohammed Naserd30f18d2024-04-17 01:20:43 -040043 - "RELEASE={{ zuul.branch | replace('stable/', '') }}"
Mohammed Naserda994232024-04-13 12:34:01 -040044 tags:
Mohammed Naserd30f18d2024-04-17 01:20:43 -040045 - "{{ zuul.branch | replace('stable/', '') }}"
Mohammed Naserda994232024-04-13 12:34:01 -040046 files: &container_image_files
47 - images/ubuntu/.*
48
49- job:
50 name: atmosphere-upload-container-image-ubuntu
51 parent: atmosphere-upload-container-image
vexxhost-bot69a7f3c2024-06-20 14:16:03 +020052 dependencies:
53 - name: atmosphere-buildset-registry
54 soft: false
Mohammed Naserda994232024-04-13 12:34:01 -040055 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