diff options
author | Markos Chandras <mchandras@suse.de> | 2018-04-26 09:38:54 +0100 |
---|---|---|
committer | Markos Chandras <mchandras@suse.de> | 2018-04-30 16:09:20 +0100 |
commit | c10fb5f0aceee722f34f5963c4bdbea3e32a7a7f (patch) | |
tree | 94a5a0fc6f9997d0ec9e8d1d52a77ca6ad51aa6d /xci/installer/kubespray/playbooks/configure-kubenet.yml | |
parent | 15be5eb8da9881428ea1635a3184c39f63dfaf80 (diff) |
xci: playbooks: Simplify scenario overrides mechanism
Now that releng-xci does not have any internal scenarios anymore, we can
simplify the way we plug scenarios to XCI. We keep cloning scenarios in
the cache directory but we also allow users to pass a special
'xci_scenarios_overrides' variable similar to the
'opnfv_scenario_requirements.yml' file to allow them to override
specific keys of the dictionaries. This can be used by Jenkins to test
incoming changes by altering the defaults values. For example, when
we want to test a Gerrit change we can create a file called foobar.yml
with the following contents
xci_scenarios_overrides:
- scenario: os-odl-sfc
version: 9fa5400012e02408b416eb7bd26307e7d179abce
refspec: refs/changes/79/55879/7
and load it using
XCI_ANSIBLE_PARAMS="-e @foobar.yml"
This will make XCI checkout the refspec that we want instead of the
default version.
Change-Id: Ida49910b4c79b843582ddd70c00063fe9bc90dd4
Signed-off-by: Markos Chandras <mchandras@suse.de>
Diffstat (limited to 'xci/installer/kubespray/playbooks/configure-kubenet.yml')
0 files changed, 0 insertions, 0 deletions