Add ovn images

Change-Id: Ib95867704be475c4bdb3444cb46fd087038819a0
This commit is contained in:
Sadegh Hayeri
2023-03-14 10:28:22 +03:30
parent e0da2c7370
commit dcd9d32302
2 changed files with 67 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
FROM docker.io/ubuntu:focal
RUN apt-get update && apt-get install -y \
ovn-host \
ovn-central \
dnsutils \
&& rm -rf /var/lib/apt/lists/*

60
zuul.d/ovn.yaml Normal file
View File

@@ -0,0 +1,60 @@
---
# Copyright 2019, SUSE LINUX GmbH.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
- project:
check:
jobs:
- openstack-helm-images-build-ovn
gate:
jobs:
- openstack-helm-images-upload-ovn
promote:
jobs:
- openstack-helm-images-promote-ovn
periodic-weekly:
jobs:
- openstack-helm-images-upload-ovn
- openstack-helm-images-promote-ovn
- job:
name: openstack-helm-images-build-ovn
parent: openstack-helm-images-build
description: Build ovn images
vars: &ovn_vars
currentdate: "{{ now(utc=True,fmt='%Y%m%d') }}"
docker_images:
- context: ovn
repository: openstackhelm/ovn
dockerfile: Dockerfile.ubuntu_focal
tags:
- latest-ubuntu_focal
- "ubuntu_focal-{{ currentdate }}"
files: &ovn_files
- ovn/.*
- zuul.d/ovn.yaml
- job:
name: openstack-helm-images-upload-ovn
parent: openstack-helm-images-upload
description: Build and upload ovn images
vars: *ovn_vars
files: *ovn_files
- job:
name: openstack-helm-images-promote-ovn
parent: openstack-helm-images-promote
description: Promote a previously published ovn image to latest.
vars: *ovn_vars
files: *ovn_files