blob: 0c31387b142dd91216c2f434d33d3345d21e73c6 [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-ovn
19 gate:
20 jobs:
21 - atmosphere-upload-container-image-ovn
22 promote:
23 jobs:
24 - atmosphere-promote-container-image-ovn
25
26- job:
27 name: atmosphere-build-container-image-ovn
28 parent: atmosphere-build-container-image
29 dependencies:
Mohammed Naser0de47b72024-04-23 00:00:02 -040030 - name: atmosphere-buildset-registry
31 soft: false
Mohammed Naserda994232024-04-13 12:34:01 -040032 - name: atmosphere-build-container-image-openvswitch
33 soft: true
34 vars: &container_image_vars
35 promote_container_image_job: atmosphere-upload-container-image-ovn
36 container_images:
37 - context: images/ovn
38 registry: registry.atmosphere.dev
39 repository: registry.atmosphere.dev/library/ovn-central
40 arch:
41 - linux/amd64
42 build_args:
Mohammed Naserd30f18d2024-04-17 01:20:43 -040043 - "RELEASE={{ zuul.branch | replace('stable/', '') }}"
Mohammed Naserda994232024-04-13 12:34:01 -040044 - OVN_COMPONENT=central
45 tags:
Mohammed Naserd30f18d2024-04-17 01:20:43 -040046 - "{{ zuul.branch | replace('stable/', '') }}"
Mohammed Naserda994232024-04-13 12:34:01 -040047 - context: images/ovn
48 registry: registry.atmosphere.dev
49 repository: registry.atmosphere.dev/library/ovn-host
50 arch:
51 - linux/amd64
52 build_args:
Mohammed Naserd30f18d2024-04-17 01:20:43 -040053 - "RELEASE={{ zuul.branch | replace('stable/', '') }}"
Mohammed Naserda994232024-04-13 12:34:01 -040054 - OVN_COMPONENT=host
55 tags:
Mohammed Naserd30f18d2024-04-17 01:20:43 -040056 - "{{ zuul.branch | replace('stable/', '') }}"
Mohammed Naserda994232024-04-13 12:34:01 -040057 files: &container_image_files
58 - images/openvswitch/.*
59 - images/ovn/.*
60
61- job:
62 name: atmosphere-upload-container-image-ovn
63 parent: atmosphere-upload-container-image
64 dependencies:
Mohammed Naser0de47b72024-04-23 00:00:02 -040065 - name: atmosphere-buildset-registry
66 soft: false
Mohammed Naserda994232024-04-13 12:34:01 -040067 - name: atmosphere-upload-container-image-openvswitch
68 soft: true
69 vars: *container_image_vars
70 files: *container_image_files
71
72- job:
73 name: atmosphere-promote-container-image-ovn
74 parent: atmosphere-promote-container-image
75 vars: *container_image_vars
76 files: *container_image_files