blob: e7735cb1b59d511881b128265fa56c184d421543 [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
Tadas Sutkaitis1bb945e2024-06-21 08:46:05 +030052 - linux/arm64
Mohammed Naserda994232024-04-13 12:34:01 -040053 build_args:
Mohammed Naserd30f18d2024-04-17 01:20:43 -040054 - "RELEASE={{ zuul.branch | replace('stable/', '') }}"
Mohammed Naserda994232024-04-13 12:34:01 -040055 - OVN_COMPONENT=host
56 tags:
Mohammed Naserd30f18d2024-04-17 01:20:43 -040057 - "{{ zuul.branch | replace('stable/', '') }}"
Mohammed Naserda994232024-04-13 12:34:01 -040058 files: &container_image_files
59 - images/openvswitch/.*
60 - images/ovn/.*
61
62- job:
63 name: atmosphere-upload-container-image-ovn
64 parent: atmosphere-upload-container-image
65 dependencies:
Mohammed Naser0de47b72024-04-23 00:00:02 -040066 - name: atmosphere-buildset-registry
67 soft: false
Mohammed Naserda994232024-04-13 12:34:01 -040068 - name: atmosphere-upload-container-image-openvswitch
69 soft: true
70 vars: *container_image_vars
71 files: *container_image_files
72
73- job:
74 name: atmosphere-promote-container-image-ovn
75 parent: atmosphere-promote-container-image
76 vars: *container_image_vars
77 files: *container_image_files