Files
openstack-helm-images/zuul.d/gate-utils.yaml
Vladimir Kozhukalov 48b2fac501 Fix gate-utils image build job
- Use ubuntu:focal as a base image
- Do not build the gate-utils image weekly.
  The only place we use this image is in the
  kube-node-subnet.sh script where we use the
  image published a while ago.
  And the only package we install into this image
  is ipcalc.

Change-Id: I06dfaef2e429f690b8ca7583933fa85eabcbfea8
2023-06-30 02:16:28 +03:00

57 lines
1.8 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-gate-utils
gate:
jobs:
- openstack-helm-images-upload-gate-utils
promote:
jobs:
- openstack-helm-images-promote-gate-utils
- job:
name: openstack-helm-images-build-gate-utils
parent: openstack-helm-images-build
description: Build gate-utils images
vars: &gate-utils_vars
currentdate: "{{ now(utc=True,fmt='%Y%m%d') }}"
docker_images:
- context: gate-utils
repository: openstackhelm/gate-utils
dockerfile: Dockerfile.ubuntu_focal
tags:
- latest-ubuntu_focal
- "ubuntu_focal-{{ currentdate }}"
files: &gate-utils_files
- gate-utils/.*
- zuul.d/gate-utils.yaml
- job:
name: openstack-helm-images-upload-gate-utils
parent: openstack-helm-images-upload
description: Build and upload gate-utils images
vars: *gate-utils_vars
files: *gate-utils_files
- job:
name: openstack-helm-images-promote-gate-utils
parent: openstack-helm-images-promote
description: Promote a previously published gate-utils image to latest.
vars: *gate-utils_vars
files: *gate-utils_files