tripleo-quickstart-extras/roles/check-to-build-or-not-to-build
Ronelle Landy 60698f0eb2 Always build images in component jobs
This review sets the to_build variable to be true
if the 'component' var is defined - which is true
when running jobs from the component pipeline.

Change-Id: Ia60b56847cc31e65841c9033efb780ee5ee3ddfb
2020-06-02 08:20:31 -04:00
..
defaults Add ironic-python-agent to the default build project list 2019-06-07 14:45:06 -04:00
tasks Always build images in component jobs 2020-06-02 08:20:31 -04:00
README.md Modify the baremetal playbooks to use baseos undercloud 2019-05-17 10:17:55 -04:00

README.md

check-to-build-or-not-to-build

An Ansible role created from the original playbook to decide whether we need to build images. The role was created to allow this functionality to run on hosts other than the undercloud.

This output of this role is a to_build variable, that is set to true or false to make image build and other related workflow decisions in later steps.

Role Variables:

  • default_projects_need_build_list -- list of repos can affect the image building itelf

Example Usage

---
- name: Decide whether we need to build images
  hosts: undercloud
  tasks:
    - include_role:
         name: check-to-build-or-not-to-build

License

Apache