blob: 66242ad698f28b6b560519ffa190a15f9c915ca6 [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:
41 - OVN_COMPONENT=central
42 tags:
43 - zed
44 - context: images/ovn
Mohammed Naser602ef252024-04-08 20:02:36 -040045 registry: registry.atmosphere.dev
Mohammed Naserd28fbaf2024-04-08 17:15:00 -040046 repository: registry.atmosphere.dev/library/ovn-host
47 arch:
48 - linux/amd64
49 build_args:
50 - OVN_COMPONENT=host
51 tags:
52 - zed
53 files: &container_image_files
54 - images/openvswitch/.*
55 - images/ovn/.*
56
57- job:
58 name: atmosphere-upload-container-image-ovn
59 parent: atmosphere-upload-container-image
60 dependencies:
61 - name: atmosphere-upload-container-image-openvswitch
62 soft: true
63 vars: *container_image_vars
64 files: *container_image_files
65
66- job:
67 name: atmosphere-promote-container-image-ovn
68 parent: atmosphere-promote-container-image
69 vars: *container_image_vars
70 files: *container_image_files