porthole/zuul.d/mysqlclient-utility.yaml
Roman Gorshunov 33ce528756 Image builds and publishing, CI gates
This patch set removes porthole-images-build and porthole-images-upload
zuul jobs, as they seem to be not used. Parent job upload-docker-image
currently does not support quay.io registry.

Add Zuul jobs to build and upload to quay.io mysqlclient-utility container
image, basing on other Airship project jobs.

Change Dockerfile of mysqlclient-utility to make it more consistent with
other Airship Dockerfiles.

Removed mysqlclient-utility/build.sh, as this seem not to be used.

Rewrite Makefile to support build-image-$(IMAGE_NAME) target, which
should be used to build images from different directories and allows to
base them on different base image.

Remove Makefile targets (pull-all-images, pull-images, dev-deploy) which
could not be executed anyway, because of absence of scripts they refer to.
Remove other unused Makefile targets.

Adjust copyright (license) message in files which are largely sourced
from Airship Apache 2.0 code.

Removed calicoctl, ceph, compute and openstack -utility jobs, as this
jobs only do linting of the same code multiple time, burdening OpenStack
Infrastructure. Added one linting job which runs agains complete code base.

Removed unused helm_install.sh, helm_tk.sh and
install_*_utility.sh scripts.

Change-Id: I2d8f4b0cfaa6a8def0539ce6c40cc3c320f36a7d
2019-09-25 18:39:11 +02:00

44 lines
1.4 KiB
YAML

# Copyright 2019 AT&T Intellectual Property. All other rights reserved.
#
# 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
#
# https://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.
- job:
name: porthole-image-build-mysqlclient-utility
parent: &parent porthole-images
vars:
image_name: &image_name mysqlclient-utility
distro_suffix: &distro_suffix ubuntu_xenial
files: &mysqlclient_files
- ^Dockerfiles/mysqlclient-utility/.*$
- ^install_mysqlclient_utility.sh$
- ^mysqlclient-utility/.*$
- ^Makefile$
- ^tools/.*$
- ^zuul.d/.*$
- job:
name: porthole-image-upload-mysqlclient-utility
parent: *parent
secrets:
- name: quay_credentials
secret: quay_credentials
pass-to-parent: true
vars:
image_name: *image_name
distro_suffix: *distro_suffix
publish: true
tags:
dynamic:
commit: true
files: *mysqlclient_files