tripleo-quickstart-extras/roles/create-reproducer-script
Bogdan Dobrelya 849e2fe485 Fix setting custom mirror/pypi FQDNs for CI repro
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>
2019-11-28 10:48:17 +01:00
..
defaults clean up reproducer files 2019-03-21 14:56:06 +00:00
files Move reproducer README file 2019-07-31 20:17:28 +00:00
meta Adopt yamllint strict linting 2018-11-26 12:37:21 +00:00
tasks Move reproducer README file 2019-07-31 20:17:28 +00:00
templates Fix setting custom mirror/pypi FQDNs for CI repro 2019-11-28 10:48:17 +01:00
README.md Add reproducer script for OVB and multinode jobs 2017-12-16 22:21:33 +00:00

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