spyglass/.zuul.yaml
Alexander Hughes b9f2ce32b3 Add docker build gate
There is a future requirement for Spyglass to have helm charts. These
charts will need docker images published in a source countrolled
manner.

This change depends on https://review.opendev.org/#/c/657614/ which
adds the airship_spyglass_quay_creds parameters. This patch:
1. Adds the docker-image-build playbook for Spyglass.
2. Uses the playbook in zuul jobs: check, gate and post.
3. Adds the spyglass-single-node nodeset.
4. Adds the vars.yaml file required by docker-image-build playbook.
5. Adds the image_tags.py script required by docker-image-build
   playbook.
6. Adds the docker-systemd.conf file required by docker-image-build
   playbook.

Change-Id: I76981e719a7e42984089fec08e1161a6923c5c52
2019-05-07 18:45:16 -04:00

83 lines
3.1 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-tox-pep8
- spyglass-docker-build-gate
gate:
jobs:
- openstack-tox-pep8
- spyglass-docker-build-gate
post:
jobs:
- spyglass-docker-publish
- nodeset:
name: spyglass-single-node
nodes:
- name: primary
label: ubuntu-xenial
- job:
name: spyglass-docker-build-gate
timeout: 1800
run: tools/gate/playbooks/docker-image-build.yaml
nodeset: spyglass-single-node
vars:
publish: false
tags:
dynamic:
patch_set: true
- job:
name: spyglass-docker-publish
timeout: 1800
run: tools/gate/playbooks/docker-image-build.yaml
nodeset: armada-single-node
secrets:
- airship_spyglass_quay_creds
vars:
publish: true
tags:
dynamic:
branch: true
commit: true
static:
- latest
- secret:
name: airship_spyglass_quay_creds
data:
username: !encrypted/pkcs1-oaep
- vW9FvKGXcUOLEaq8gjcbfrUXZWen5he2FfNVs4IIa7PtXMToiSbw4+07ZpkqhmgLAvVJ1
xCk274kPoYztCEOODyHUCJQVkROBhb2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