blob: 67eaaec0972d4e3bc3d8b9bbabc24b988577fa73 [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:
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 registry: registry.atmosphere.dev
37 repository: registry.atmosphere.dev/library/ovn-central
38 arch:
39 - linux/amd64
40 build_args:
41 - OVN_COMPONENT=central
42 tags:
43 - main
44 - context: images/ovn
45 registry: registry.atmosphere.dev
46 repository: registry.atmosphere.dev/library/ovn-host
47 arch:
48 - linux/amd64
49 build_args:
50 - OVN_COMPONENT=host
51 tags:
52 - main
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