openstack-helm-images/zuul.d/mini-mirror.yaml
Scott Hussey 37f0185f65 (minimirror) Create Bionic based minimirror image
- aptly v0.9.7 switched to SHA256 package signatures, required
  by 18.04 for trust. 18.04 uses aptly 1.2.x.

- Remove dead code from Makefile that duplicated the build block
  for 'ubuntu_bionic'

Change-Id: Ib6290beac8110cc9b21fcaab6cfbdb331c3bb8c5
2019-10-03 18:44:09 -05:00

94 lines
3.2 KiB
YAML

---
# Copyright 2019, AT&T Intellectual Property
# 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-mini-mirror-xenial
- openstack-helm-images-build-mini-mirror-bionic
gate:
jobs:
- openstack-helm-images-upload-mini-mirror-xenial
- openstack-helm-images-upload-mini-mirror-bionic
promote:
jobs:
- openstack-helm-images-promote-mini-mirror-xenial
- openstack-helm-images-promote-mini-mirror-bionic
periodic:
jobs:
- openstack-helm-images-build-mini-mirror-xenial
- openstack-helm-images-build-mini-mirror-bionic
- job:
name: openstack-helm-images-build-mini-mirror-xenial
parent: openstack-helm-images-build
description: Build mini-mirror images
vars: &mini-mirror-xenial_vars
currentdate: "{{ now(utc=True,fmt='%Y%m%d') }}"
docker_images:
- context: mini-mirror
repository: openstackhelm/mini-mirror
dockerfile: Dockerfile.ubuntu_xenial
tags:
- latest-ubuntu_xenial
- "ubuntu_xenial-{{ currentdate }}"
files: &mini-mirror_files
- mini-mirror/.*
- zuul.d/mini-mirror.yaml
- job:
name: openstack-helm-images-build-mini-mirror-bionic
parent: openstack-helm-images-build
description: Build mini-mirror images
vars: &mini-mirror-bionic_vars
currentdate: "{{ now(utc=True,fmt='%Y%m%d') }}"
docker_images:
- context: mini-mirror
repository: openstackhelm/mini-mirror
dockerfile: Dockerfile.ubuntu_bionic
tags:
- latest-ubuntu_bionic
- "ubuntu_bionic-{{ currentdate }}"
files: *mini-mirror_files
- job:
name: openstack-helm-images-upload-mini-mirror-xenial
parent: openstack-helm-images-upload
description: Build and upload mini-mirror images
vars: *mini-mirror-xenial_vars
files: *mini-mirror_files
- job:
name: openstack-helm-images-upload-mini-mirror-bionic
parent: openstack-helm-images-upload
description: Build and upload mini-mirror images
vars: *mini-mirror-bionic_vars
files: *mini-mirror_files
- job:
name: openstack-helm-images-promote-mini-mirror-xenial
parent: openstack-helm-images-promote
description: Promote a previously published mini-mirror image to latest.
vars: *mini-mirror-xenial_vars
files: *mini-mirror_files
- job:
name: openstack-helm-images-promote-mini-mirror-bionic
parent: openstack-helm-images-promote
description: Promote a previously published mini-mirror image to latest.
vars: *mini-mirror-bionic_vars
files: *mini-mirror_files