tripleo-quickstart-extras/roles/check-to-build-or-not-to-build
yatinkarel 62cea0868d Fix regex to detect overcloud image build
Image building was not running in stable/ branches
due to wrong regex, this patch fixes it to build on
branches containing / in them.

Change-Id: I692c3db7c14914f3e81b9c042579a6f7c0cf1f1e
2019-10-03 04:18:10 +00:00
..
defaults Add ironic-python-agent to the default build project list 2019-06-07 14:45:06 -04:00
tasks Fix regex to detect overcloud image build 2019-10-03 04:18:10 +00:00
README.md Modify the baremetal playbooks to use baseos undercloud 2019-05-17 10:17:55 -04:00

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