openstack-helm-images/zuul.d/openvswitch.yaml

90 lines
2.9 KiB
YAML

---
# 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-openvswitch
gate:
jobs:
- openstack-helm-images-upload-openvswitch
promote:
jobs:
- openstack-helm-images-promote-openvswitch
periodic-weekly:
jobs:
- openstack-helm-images-upload-openvswitch
- openstack-helm-images-promote-openvswitch:
dependencies:
- name: openstack-helm-images-compute-kit-yoga-ubuntu_focal
- name: openstack-helm-images-compute-kit-zed-ubuntu_focal
- job:
name: openstack-helm-images-build-openvswitch
parent: openstack-helm-images-build
description: Build openvswitch images
vars: &openvswitch_vars
currentdate: "{{ now(utc=True,fmt='%Y%m%d') }}"
docker_images:
- context: openvswitch
repository: openstackhelm/openvswitch
dockerfile: Dockerfile.ubuntu
tags:
- latest-ubuntu_focal
- "ubuntu_focal-{{ currentdate }}"
build_args:
- FROM=ubuntu:focal
- context: openvswitch
repository: openstackhelm/openvswitch
dockerfile: Dockerfile.ubuntu-dpdk
tags:
- latest-ubuntu_focal-dpdk
- "ubuntu_focal-dpdk-{{ currentdate }}"
build_args:
- FROM=ubuntu:focal
- context: openvswitch
repository: openstackhelm/openvswitch
dockerfile: Dockerfile.ubuntu
tags:
- latest-ubuntu_jammy
- "ubuntu_jammy-{{ currentdate }}"
build_args:
- FROM=ubuntu:jammy
- context: openvswitch
repository: openstackhelm/openvswitch
dockerfile: Dockerfile.ubuntu-dpdk
tags:
- latest-ubuntu_jammy-dpdk
- "ubuntu_jammy-dpdk-{{ currentdate }}"
build_args:
- FROM=ubuntu:jammy
files: &openvswitch_files
- openvswitch/.*
- zuul.d/openvswitch.yaml
- job:
name: openstack-helm-images-upload-openvswitch
parent: openstack-helm-images-upload
description: Build and upload openvswitch images
vars: *openvswitch_vars
files: *openvswitch_files
- job:
name: openstack-helm-images-promote-openvswitch
parent: openstack-helm-images-promote
description: Promote a previously published openvswitch image to latest.
vars: *openvswitch_vars
files: *openvswitch_files