blob: 86d736305a47da0883f9eda78d66204cad073b25 [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
36 registry: registry.atmosphere.dev
37 repository: registry.atmosphere.dev/library/ubuntu
38 arch:
39 - linux/amd64
Tadas Sutkaitis1bb945e2024-06-21 08:46:05 +030040 - linux/arm64
Mohammed Naserd30f18d2024-04-17 01:20:43 -040041 build_args:
42 - "RELEASE={{ zuul.branch | replace('stable/', '') }}"
Mohammed Naserda994232024-04-13 12:34:01 -040043 tags:
Mohammed Naserd30f18d2024-04-17 01:20:43 -040044 - "{{ zuul.branch | replace('stable/', '') }}"
Mohammed Naserda994232024-04-13 12:34:01 -040045 files: &container_image_files
46 - images/ubuntu/.*
47
48- job:
49 name: atmosphere-upload-container-image-ubuntu
50 parent: atmosphere-upload-container-image
Mohammed Naser72708702024-06-20 00:07:56 -040051 dependencies:
52 - name: atmosphere-buildset-registry
53 soft: false
Mohammed Naserda994232024-04-13 12:34:01 -040054 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