blob: 5a3e18097ee4325fd486a5e8690416b26acf5c26 [file] [log] [blame]
Mohammed Naserd28fbaf2024-04-08 17:15:00 -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:
30 - name: atmosphere-build-container-image-openvswitch
31 soft: true
32 vars: &container_image_vars
33 promote_container_image_job: atmosphere-upload-container-image-ovn
34 container_images:
35 - context: images/ovn
Mohammed Naser602ef252024-04-08 20:02:36 -040036 registry: registry.atmosphere.dev
Mohammed Naserd28fbaf2024-04-08 17:15:00 -040037 repository: registry.atmosphere.dev/library/ovn-central
38 arch:
39 - linux/amd64
40 build_args:
Mohammed Naser19c6c8a2024-04-18 01:47:10 -040041 - "RELEASE={{ zuul.branch | replace('stable/', '') }}"
Mohammed Naserd28fbaf2024-04-08 17:15:00 -040042 - OVN_COMPONENT=central
43 tags:
Mohammed Naser19c6c8a2024-04-18 01:47:10 -040044 - "{{ zuul.branch | replace('stable/', '') }}"
Mohammed Naserd28fbaf2024-04-08 17:15:00 -040045 - context: images/ovn
Mohammed Naser602ef252024-04-08 20:02:36 -040046 registry: registry.atmosphere.dev
Mohammed Naserd28fbaf2024-04-08 17:15:00 -040047 repository: registry.atmosphere.dev/library/ovn-host
48 arch:
49 - linux/amd64
50 build_args:
Mohammed Naser19c6c8a2024-04-18 01:47:10 -040051 - "RELEASE={{ zuul.branch | replace('stable/', '') }}"
Mohammed Naserd28fbaf2024-04-08 17:15:00 -040052 - OVN_COMPONENT=host
53 tags:
Mohammed Naser19c6c8a2024-04-18 01:47:10 -040054 - "{{ zuul.branch | replace('stable/', '') }}"
Mohammed Naserd28fbaf2024-04-08 17:15:00 -040055 files: &container_image_files
56 - images/openvswitch/.*
57 - images/ovn/.*
58
59- job:
60 name: atmosphere-upload-container-image-ovn
61 parent: atmosphere-upload-container-image
62 dependencies:
63 - name: atmosphere-upload-container-image-openvswitch
64 soft: true
65 vars: *container_image_vars
66 files: *container_image_files
67
68- job:
69 name: atmosphere-promote-container-image-ovn
70 parent: atmosphere-promote-container-image
71 vars: *container_image_vars
72 files: *container_image_files