openstack-helm-images/zuul.d/elasticsearch-s3.yaml

85 lines
2.9 KiB
YAML

---
# 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-elasticsearch-s3
gate:
jobs:
- openstack-helm-images-upload-elasticsearch-s3
promote:
jobs:
- openstack-helm-images-promote-elasticsearch-s3
periodic-weekly:
jobs:
- openstack-helm-images-upload-elasticsearch-s3
- openstack-helm-images-promote-elasticsearch-s3:
dependencies:
- name: openstack-helm-images-aio-logging
- job:
name: openstack-helm-images-build-elasticsearch-s3
parent: openstack-helm-images-build
description: Build s3 compatible elasticsearch image
vars: &elasticsearch-s3_vars
currentdate: "{{ now(utc=True,fmt='%Y%m%d') }}"
docker_images:
- context: elasticsearch-s3
repository: openstackhelm/elasticsearch-s3
dockerfile: Dockerfile.5_6_4
tags:
- latest-5_6_4
- "5_6_4-{{ currentdate }}"
- context: elasticsearch-s3
repository: openstackhelm/elasticsearch-s3
dockerfile: Dockerfile.7_1_0
tags:
- latest-7_1_0
- "7_1_0-{{ currentdate }}"
- context: elasticsearch-s3
repository: openstackhelm/elasticsearch-s3
dockerfile: Dockerfile.7_6_2
tags:
- latest-7_6_2
- "7_6_2-{{ currentdate }}"
- context: elasticsearch-s3
repository: openstackhelm/elasticsearch-s3
dockerfile: Dockerfile.8_7_1
tags:
- latest-8_7_1
- "8_7_1-{{ currentdate }}"
- context: elasticsearch-s3
repository: openstackhelm/elasticsearch-s3
dockerfile: Dockerfile.8_9_0
tags:
- latest-8_9_0
- "8_9_0-{{ currentdate }}"
files: &elasticsearch-s3_files
- elasticsearch-s3/.*
- zuul.d/elasticsearch-s3.yaml
- job:
name: openstack-helm-images-upload-elasticsearch-s3
parent: openstack-helm-images-upload
description: Build and upload s3 compatible elasticsearch images
vars: *elasticsearch-s3_vars
files: *elasticsearch-s3_files
- job:
name: openstack-helm-images-promote-elasticsearch-s3
parent: openstack-helm-images-promote
description: Promote a previously published s3 compatible elasticsearch image to latest.
vars: *elasticsearch-s3_vars
files: *elasticsearch-s3_files