Andrii Ostapenko
ef47a743b6
Add ability to use *-docker-image roles in periodic jobs
Use '{{ zuul.pipeline }}' tag prefix in *-docker-image instead of 'change_{{ zuul.change }}' one when zuul.change is not provided, that is the case with periodic jobs. This allows to build, upload and promote images using periodic jobs e.g: - project: periodic: - project-buildset-registry - project-build-image1: dependencies: - name: project-buildset-registry - project-build-image2: dependencies: - name: project-buildset-registry # pulls from buildset registry and tests both images - project-test: dependencies: - name: project-build-image1 - name: project-build-image2 # pre-pulls images from buildset registry for fast build - project-upload-image1: dependencies: - name: project-test - project-upload-image2: dependencies: - name: project-test - project-promote: dependencies: - name: project-upload-image1 - name: project-upload-image2 This fuctionality will allow to keep latest images up to date for the case when image incorporates continuously updating code from multiple repositories. Using true ternary for tag evaluation because ternary filter requires all passed to it variables be defined or defaulted [0]. [0] https://github.com/ansible/ansible/issues/51276 Change-Id: I8eb7d2baa24905e7aac51fce0b2f9b1f24f037f9 Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
Zuul Jobs
This repo contains a set of Zuul jobs and Ansible roles suitable for use by any Zuul system.
Description
Languages
Python
89.3%
Jinja
8.2%
Shell
2.1%
Dockerfile
0.2%
Nim
0.1%