Support custom sequence of playbooks to run
When reproducing CI job sometimes needs to run a specific set of playbooks only. Support this by pasing PLAYBOOKS variable in env_source script. Usage example: - one needs to run everything before undercloud installation: * PLAYBOOKS="quickstart.yml" ./reproduce-quickstart.sh (in case of multinode) * PLAYBOOKS:-"ovb-setup.yml" ./reproduce-quickstart.sh (in case of OVB job) - one needs to deploy everything before overcloud deployment: * PLAYBOOKS="quickstart.yml multinode-undercloud.yml multinode-overcloud-prep.yml" ./reproduce-quickstart.sh (in case of multinode) * PLAYBOOKS="ovb-setup.yml baremetal-full-undercloud.yml baremetal-full-overcloud-prep.yml" ./reproduce-quickstart.sh (in case of OVB) List of used playbooks is in toci_gate_test-oooq.sh script in tripleo-ci repo: http://git.openstack.org/cgit/openstack-infra/tripleo-ci/tree/toci_gate_test-oooq.sh#n157 Change-Id: I6388c5e20d499a2e6c5e06f23de9851ef53b40a6
This commit is contained in:
parent
a89bd86366
commit
a21afc0329
@ -298,6 +298,7 @@ export NODES_FILE="${NODES_FILE}"
|
||||
export TOCI_JOBTYPE="${TOCI_JOBTYPE}"
|
||||
export EXTRA_VARS="\$EXTRA_VARS {% if dlrn_hash is defined or ('undercloud' in hostvars and 'dlrn_hash' in hostvars['undercloud']) %}--extra-vars dlrn_hash_tag={{ hostvars['undercloud'].dlrn_hash }}{% endif %} "
|
||||
export REMAINING_TIME="$TIMEOUT"
|
||||
export PLAYBOOKS=$PLAYBOOKS
|
||||
EOF
|
||||
|
||||
{% if stable_release != '' %}
|
||||
|
Loading…
Reference in New Issue
Block a user