Modify common patches schema to per branch 65/60965/3
authorTim Rozet <trozet@redhat.com>
Wed, 15 Aug 2018 01:17:33 +0000 (21:17 -0400)
committerTim Rozet <trozet@redhat.com>
Wed, 15 Aug 2018 14:58:31 +0000 (10:58 -0400)
commitc0a4aa96bbe70eefb179d59a1267b8115651bba5
tree27fdca2b00d5ef995d00bf7e91922d78358123bd
parentae5fcc0dd1d19c750cba8d9bf16545f5a7802287
Modify common patches schema to per branch

The common patch design doesn't really work across branches very well.
This patch makes it so the common patches are specified in the same
file, but on a per branch basis. Making it easier to manage common
patches per branch.

Also, includes a fix and adds test coverage to the prep_image method
where we were referencing 'undercloud_admin_ip' before assignment in a
case where we were not using ODL and had patches to overcloud.

Change-Id: I7672947afd826fdc0042361a0139e22d6d5dd864
Signed-off-by: Tim Rozet <trozet@redhat.com>
13 files changed:
apex/deployment/tripleo.py
apex/overcloud/deploy.py
apex/tests/config/common-patches.yaml
apex/tests/test_apex_overcloud_deploy.py
config/deploy/common-patches.yaml
config/deploy/os-nosdn-nofeature-ha.yaml
config/deploy/os-nosdn-nofeature-noha.yaml
config/deploy/os-odl-bgpvpn-ha.yaml
config/deploy/os-odl-bgpvpn-noha.yaml
config/deploy/os-odl-nofeature-ha.yaml
config/deploy/os-odl-nofeature-noha.yaml
config/deploy/os-odl-queens-ha.yaml
config/deploy/os-odl-queens-noha.yaml