a21afc0329
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 |
||
---|---|---|
.. | ||
defaults | ||
meta | ||
tasks | ||
templates | ||
README.md |
README.md
create-reproducer-script
This role creates a script to reproduce OVB and multinode jobs.
Role Variables
For the defaults of these variables, see the defaults/main.yml file in this role.
- env_vars_to_source_file: env_vars_to_src.sh
- reproducer_quickstart_script: reproducer-quickstart.sh.j2 From the extras-common role:
- artcl_collect_dir: "{{ local_working_dir }}/collected_files"
Dependencies
The role is run within the collect-logs role.
Example Playbook
---
- name: Create a file to reproduce the job
hosts: localhost
roles:
- create-reproducer-script
License
Apache 2.0
Author Information
OpenStack