![]() Fix undefined value substituted for mirror_fqdn, when there is no mirror_path defined in inventory variables used for the zuul-based CI reproducer. Ditch confusing alternative variable mirror_path and use mirror_fqdn as it directly comes from zuul ansible variables. For compatibility sakes, if mirror_path is in inventory, its value will be used for mirror_fqdn in zuul playbooks. Also pass for zuul playbooks pypi_fqdn, if defined. If pypi_fqdn is skipped, custom mirror_fqdn always also overwrites the used (and trusted) pypi mirror, what might be undesired, like when configuring different mirrors for packages versus pip eggs. For the depreceted reproducer, wire in mirror_fqdn as well. Depends-On: https://review.opendev.org/696337 Change-Id: I9f87ea6335ce0a0b7c3e8c4cb1fe00187f474dd1 Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com> |
||
---|---|---|
.. | ||
defaults | ||
files | ||
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