openstack-helm-images/zuul.d/base.yaml
Jean-Philippe Evrard 510a3ddfd5 Freeze libvirt image with date
This starts an alternative approach to the use of Zuul's date time,
whose fact availability is inconsistent across check/gates/promote
pipeline.

This implements an alternative approach for testing in the promote
pipeline.

Change-Id: Ib41797cabbb226ee35daab9f886fa0fc38120c32
2019-06-25 15:03:18 +00:00

101 lines
3.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:
templates:
- publish-openstack-docs-pti
- release-notes-jobs-python3
# This takes the same structure as other infra jobs.
# This dict keyname matter. See also job definition for more explanations.
- secret:
name: openstack-helm-dockerhub
data:
username: !encrypted/pkcs1-oaep
- RToLVrVSLl4ih5OcfL/AnemDTVLsg+TLijXniZ+MPK8h332v813CRMH2vVFf7zZxVw+fA
rjVjonkSaNkseXlGd9+psv8gRvxV5qg63emxFtpARSJiS7HgyOdBUy4ZhsrweF7F1KfH1
LNKXoaYdDCn7UcP/YaqYBkr2UQ/F0t7Yu6ACjdQYUr3FKh8XfAhrUtcc+uAv7broiIxKq
LRi7UTXa1NEpA0rH0dLep5eNKQBpiXo/7cF3fCIMJ8oCGTZToaUkJfoqax96g/oncpf+a
wQvlML5WN7YrB5Fi9RkylOVkCOUJcO5HUeFWpfcnPsvwELulpIKnxLlLxR94ZM0ZmCNcI
of8yyEAoxCOHOLYZcKNSKjWl6rMmKElTEeedqiJniBSWRwxz7/pj27fQKHDJPfPSXgfqU
GNkOLBHdK03idEL39G3rvPKt+lR5xV29iX5EH03VoJoKUBoeggxkC9/3/DcjZ2M8hUD7Q
IM5UjMV1Lgo5apodGZu5tUfaoCMPN4xHCzI2vZZ08ZP5952opp9A4c/OLKOUDHV63qei5
e2SA8BBtvz/eiUWhLhwMHZK18XqsB8vLZNeO8BUDS5oOfw8YYaEfm3t3hqXNn7khWNlT6
MAn3KrFsslsP7ENNFHIxIy4eVXDoDtG90CZWReM2cLdGnbQa2YLdwjjPWN6tlc=
password: !encrypted/pkcs1-oaep
- GPDRxEQwaaFK7427kQByOYoEzcAXvNkGJKcBhoiwXPZ2V2taDH3vZWMDByfWLPDp7HTNp
MHIJqeGE446EtO+eGmDNFuXHDCbwEwBIGd27QNNKGdmYAXlrU5dxKaoChra+8gcxsXYxJ
FlNlfdMqz3Dt+ZTA7f68db9T/hBm2PDAuJml2dHsHCQg5yFljZADcNvbRV4PPf/9SylMa
wJPI6XAbzo/bTBnMmsn5u6ovlrIBkO+OMdYQ2Bd22GZkOoUo04M7mz10kPTeSCaGI10b2
LR1eN7thS+1ViB+VqoecZ3yOf3KgU9KmVsLkmEGfJUjBXV7dfWZsCvzSM/72WE6yjybQ3
iwhpiKVr8EmZAePgiEvjfI/eFcDp+BCfn7fjA5vpJ1qhYXx6WX+IebC8bQ/SfDBXz2kgI
kgeCOCqszqR6z/lF//j6ttIIKMGM/OV8AVN8mSwqbx9x6W9y0wFX+Qr4awDcHV0eVJelA
aYZxpgceCShEZp54yIVNjDoe01m8UpDDSSj7qtaehX+5U8vKd6lWOf13YEVIfaYUCoNaK
Zp1xo0hJ2T2/8FGY/+sgZtjXJ4SETyTTw0kzQy/Ias8h63YIsDi7cQ2Yx48rGtugxArTD
Kkrob2q6wFLBIutk8NgfXUy0oLClufRmHidne4XB0VLHeykuxKjiujGm+O9AcQ=
# In docker_images:
# `context` is the folder in osh-images
# `repository` is the repo on dockerhub
# `tags` is a list of the tags when promoted
# (images are published with change id)
# `dockerfile`. Explicit.
- job:
name: openstack-helm-images-build
parent: build-docker-image
abstract: true
# Minimum version required is 2.8.
# When default in zuul moves to 2.8, remove
# this line.
# See also: https://zuul-ci.org/docs/zuul/user/config.html#attr-job.ansible-version
ansible-version: 2.8
description: |
This job is building a docker image for
OpenStack-Helm usage.
Image specific tests can be added by
running a post script on the relevant
jobs.
irrelevant-files:
- ^\.git.*
- ^.*\.(example|md|rst)$
- ^doc/.*
- ^releasenotes/.*
timeout: 3600
# The secret openstack-helm-dockerhub is exposed as docker_credentials dict,
# which is used by upload-docker-image job to pass those vars to the
# upload role.
- job:
name: openstack-helm-images-upload
parent: upload-docker-image
abstract: true
ansible-version: 2.8
secrets:
name: docker_credentials
secret: openstack-helm-dockerhub
pass-to-parent: true
timeout: 3600
- job:
name: openstack-helm-images-promote
parent: promote-docker-image
abstract: true
ansible-version: 2.8
secrets:
name: docker_credentials
secret: openstack-helm-dockerhub
pass-to-parent: true
timeout: 3600