Skip status code check and make vagrant install quicker
Under some failure conditions, the status code is not returned. Also skip the agent/os build steps for install inside of vagrant which can add a substantial amount of time to the build process. And minor revision to the test-bifrost.yaml conditional as the pattern was traditionally "is defined", but when running the test scripts, most things are defined, so it was just a side effect of changes being purely tested in CI over time. Change-Id: Icf132b71b243f9fce9d1c2afca656299befcfabc
This commit is contained in:
parent
4ac553bfbe
commit
a2b9412c0a
|
@ -55,7 +55,7 @@
|
|||
force: yes
|
||||
register: ipa_kernel_download_done
|
||||
until: ipa_kernel_download_done|succeeded or
|
||||
(ipa_kernel_download_done|failed and ipa_kernel_download_done.status_code == 404)
|
||||
(ipa_kernel_download_done|failed)
|
||||
retries: 5
|
||||
delay: 10
|
||||
environment: "{{ venv }}"
|
||||
|
|
|
@ -68,7 +68,7 @@
|
|||
- name: "Use a cached cirros image"
|
||||
set_fact:
|
||||
cirros_deploy_image_upstream_url: file:///opt/cache/files/cirros-0.4.0-x86_64-disk.img
|
||||
when: ci_testing is defined
|
||||
when: ci_testing is defined and ci_testing_zuul is defined and ci_testing_zuul
|
||||
roles:
|
||||
- role: bifrost-keystone-install
|
||||
- role: bifrost-ironic-install
|
||||
|
|
|
@ -98,7 +98,7 @@
|
|||
become: yes
|
||||
|
||||
- name: Install Bifrost
|
||||
command: ansible-playbook -vvvv -i inventory/target install.yaml -e network_interface={{network_interface}} -e ansible_python_interpreter="/usr/bin/python3"
|
||||
command: ansible-playbook -vvvv -i inventory/target install.yaml -e network_interface={{network_interface}} -e ansible_python_interpreter="/usr/bin/python3" -e download_ipa=true -e use_cirros=true
|
||||
environment:
|
||||
PATH: "{{ansible_env.HOME}}/.local/bin:{{ansible_env.PATH}}"
|
||||
args:
|
||||
|
|
Loading…
Reference in New Issue