blob: 07fa1510ff4a03fe331d87535479030204d1724d [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:
vexxhost-bot022ccb02024-04-24 13:05:22 -040030 - name: atmosphere-buildset-registry
31 soft: false
Mohammed Naserd28fbaf2024-04-08 17:15:00 -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
Yaguang Tangae1f4102024-12-13 22:27:22 +080038 registry: harbor.atmosphere.dev
Mohammed Naseraa212e62025-01-15 16:49:44 -050039 repository: "{{ container_registry }}/ovn-central"
Mohammed Naserd28fbaf2024-04-08 17:15:00 -040040 arch:
41 - linux/amd64
42 build_args:
Mohammed Naseraa212e62025-01-15 16:49:44 -050043 - REGISTRY={{ container_registry }}
Mohammed Naser19c6c8a2024-04-18 01:47:10 -040044 - "RELEASE={{ zuul.branch | replace('stable/', '') }}"
Mohammed Naserd28fbaf2024-04-08 17:15:00 -040045 - OVN_COMPONENT=central
46 tags:
Mohammed Naser19c6c8a2024-04-18 01:47:10 -040047 - "{{ zuul.branch | replace('stable/', '') }}"
Mohammed Naserd28fbaf2024-04-08 17:15:00 -040048 - context: images/ovn
Yaguang Tangae1f4102024-12-13 22:27:22 +080049 registry: harbor.atmosphere.dev
Mohammed Naseraa212e62025-01-15 16:49:44 -050050 repository: "{{ container_registry }}/ovn-host"
Mohammed Naserd28fbaf2024-04-08 17:15:00 -040051 arch:
52 - linux/amd64
Mohammed Naser25b395a2024-06-21 15:01:19 -040053 - linux/arm64
Mohammed Naserd28fbaf2024-04-08 17:15:00 -040054 build_args:
Mohammed Naseraa212e62025-01-15 16:49:44 -050055 - REGISTRY={{ container_registry }}
Mohammed Naser19c6c8a2024-04-18 01:47:10 -040056 - "RELEASE={{ zuul.branch | replace('stable/', '') }}"
Mohammed Naserd28fbaf2024-04-08 17:15:00 -040057 - OVN_COMPONENT=host
58 tags:
Mohammed Naser19c6c8a2024-04-18 01:47:10 -040059 - "{{ zuul.branch | replace('stable/', '') }}"
Mohammed Naserd28fbaf2024-04-08 17:15:00 -040060 files: &container_image_files
61 - images/openvswitch/.*
62 - images/ovn/.*
63
64- job:
65 name: atmosphere-upload-container-image-ovn
66 parent: atmosphere-upload-container-image
67 dependencies:
vexxhost-bot022ccb02024-04-24 13:05:22 -040068 - name: atmosphere-buildset-registry
69 soft: false
Mohammed Naserd28fbaf2024-04-08 17:15:00 -040070 - name: atmosphere-upload-container-image-openvswitch
71 soft: true
72 vars: *container_image_vars
73 files: *container_image_files
74
75- job:
76 name: atmosphere-promote-container-image-ovn
77 parent: atmosphere-promote-container-image
78 vars: *container_image_vars
79 files: *container_image_files