Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 1 | # 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: |
Mohammed Naser | 0de47b7 | 2024-04-23 00:00:02 -0400 | [diff] [blame] | 30 | - name: atmosphere-buildset-registry |
| 31 | soft: false |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 32 | - 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 |
| 38 | registry: registry.atmosphere.dev |
| 39 | repository: registry.atmosphere.dev/library/ovn-central |
| 40 | arch: |
| 41 | - linux/amd64 |
| 42 | build_args: |
Mohammed Naser | d30f18d | 2024-04-17 01:20:43 -0400 | [diff] [blame] | 43 | - "RELEASE={{ zuul.branch | replace('stable/', '') }}" |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 44 | - OVN_COMPONENT=central |
| 45 | tags: |
Mohammed Naser | d30f18d | 2024-04-17 01:20:43 -0400 | [diff] [blame] | 46 | - "{{ zuul.branch | replace('stable/', '') }}" |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 47 | - context: images/ovn |
| 48 | registry: registry.atmosphere.dev |
| 49 | repository: registry.atmosphere.dev/library/ovn-host |
| 50 | arch: |
| 51 | - linux/amd64 |
vexxhost-bot | 2db27b9 | 2024-06-21 20:27:43 +0200 | [diff] [blame] | 52 | - linux/arm64 |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 53 | build_args: |
Mohammed Naser | d30f18d | 2024-04-17 01:20:43 -0400 | [diff] [blame] | 54 | - "RELEASE={{ zuul.branch | replace('stable/', '') }}" |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 55 | - OVN_COMPONENT=host |
| 56 | tags: |
Mohammed Naser | d30f18d | 2024-04-17 01:20:43 -0400 | [diff] [blame] | 57 | - "{{ zuul.branch | replace('stable/', '') }}" |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 58 | files: &container_image_files |
| 59 | - images/openvswitch/.* |
| 60 | - images/ovn/.* |
| 61 | |
| 62 | - job: |
| 63 | name: atmosphere-upload-container-image-ovn |
| 64 | parent: atmosphere-upload-container-image |
| 65 | dependencies: |
Mohammed Naser | 0de47b7 | 2024-04-23 00:00:02 -0400 | [diff] [blame] | 66 | - name: atmosphere-buildset-registry |
| 67 | soft: false |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 68 | - name: atmosphere-upload-container-image-openvswitch |
| 69 | soft: true |
| 70 | vars: *container_image_vars |
| 71 | files: *container_image_files |
| 72 | |
| 73 | - job: |
| 74 | name: atmosphere-promote-container-image-ovn |
| 75 | parent: atmosphere-promote-container-image |
| 76 | vars: *container_image_vars |
| 77 | files: *container_image_files |