| commit | 1a977c62f116b25f1759d32d2f0a7a69d56f8f3a | [log] [tgz] |
|---|---|---|
| author | Zane Bitter <zbitter@redhat.com> | Thu Sep 08 15:37:51 2016 -0400 |
| committer | Zane Bitter <zbitter@redhat.com> | Mon Sep 12 21:39:01 2016 -0400 |
| tree | 30600e1e2b0a4ca144a0a0bc29617b9038121d3d | |
| parent | a9b5aafe974b97abdc206e84b620e76bfe374a8f [diff] |
Allow referencing conditions by name
This change allows reference with other conditions by name in
definition of a condition, something like:
conditions:
cd1: {equals: [{get_param: env_type}, 'prod']}
cd2: {not: cd1}
cd3: {equals: [{get_param: zone}, 'fujian']}
cd4: {and: [cd1, cd3]}
Change-Id: I6a0a00c23aa7d559dedd6998adaa7962d607f315
Co-Authored-By: huangtianhua <huangtianhua@huawei.com>
Blueprint: support-conditions-function
Related-Bug: #1621529