Merge "Introduce zuul.projects and executed pre-run playbooks for reproducer"
This commit is contained in:
commit
d9b119acda
|
@ -84,6 +84,9 @@
|
|||
- name: Create the reproducer script
|
||||
include_role:
|
||||
name: create-reproducer-script
|
||||
vars:
|
||||
zuul_variables: "{{ (lookup('file', artcl_collect_dir + '/zuul-variables.yaml') | from_yaml)['zuul'] }}"
|
||||
zuul_console: "{{ (lookup('file', artcl_collect_dir + '/zuul_console.json') | from_json) }}"
|
||||
when: ansible_env.TOCI_JOBTYPE is defined
|
||||
|
||||
- name: upload to the artifact server using pubkey auth
|
||||
|
|
|
@ -215,6 +215,19 @@ rm -rf tripleo-quickstart tripleo-quickstart-extras
|
|||
git clone https://github.com/openstack/tripleo-quickstart
|
||||
git clone https://github.com/openstack/tripleo-quickstart-extras
|
||||
|
||||
# Use passed zuul_variables to get projects tripleo-ci-board/task/270
|
||||
{% for project in zuul_variables['projects'] %}
|
||||
: git clone "https://{{ project }}"
|
||||
{% endfor %}
|
||||
|
||||
# Use passed zuul_console to recover playbooks tripleo-ci-board/task/270
|
||||
zuul_playbooks=""
|
||||
{% for item in zuul_console %}
|
||||
{% if item.playbook is defined %}
|
||||
zuul_playbooks+="{{ item.playbook }};"
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
# Set up a virtual env if requested
|
||||
if [ "$CREATE_VIRTUALENV" = "true" ]; then
|
||||
check_installed virtualenv
|
||||
|
|
Loading…
Reference in New Issue