blob: 6650af8a8ec8ff49ae9ce85dcc590112473dc0ec [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
36 repository: registry.atmosphere.dev/library/ovn-central
37 arch:
38 - linux/amd64
39 build_args:
40 - OVN_COMPONENT=central
41 tags:
42 - zed
43 - context: images/ovn
44 repository: registry.atmosphere.dev/library/ovn-host
45 arch:
46 - linux/amd64
47 build_args:
48 - OVN_COMPONENT=host
49 tags:
50 - zed
51 files: &container_image_files
52 - images/openvswitch/.*
53 - images/ovn/.*
54
55- job:
56 name: atmosphere-upload-container-image-ovn
57 parent: atmosphere-upload-container-image
58 dependencies:
59 - name: atmosphere-upload-container-image-openvswitch
60 soft: true
61 vars: *container_image_vars
62 files: *container_image_files
63
64- job:
65 name: atmosphere-promote-container-image-ovn
66 parent: atmosphere-promote-container-image
67 vars: *container_image_vars
68 files: *container_image_files