Correct requirements

Correct requirements by limiting testing in the gate testing
to loading the minimal driver set and only installing additional
drivers when not in testing mode.

Change-Id: Ic11705246ab6408e453e3f7552f07f37d1394f22
This commit is contained in:
Julia Kreger 2015-07-15 16:57:38 -04:00
parent 16c19775ad
commit 4c49e0565e
3 changed files with 5 additions and 3 deletions

View File

@ -44,7 +44,10 @@
when: skip_install is not defined and (ironicclient_source_install is not defined or ironicclient_source_install == false) and (ci_testing == false)
- name: "proliantutils - Install from pip"
pip: name=proliantutils state=present
when: skip_install is not defined
when: skip_install is not defined and testing | bool != true
- name: "UcsSdk - Install from pip"
pip: name=UcsSdk version=0.8.1.9
when: skip_install is not defined and testing | bool != true
- name: "Shade - Install from source if configured to do so"
command: pip install --force-reinstall {{ shade_git_folder }}
when: skip_install is not defined and ((shade_source_install is defined and shade_source_install == true) or ci_testing == true)

View File

@ -216,7 +216,7 @@ auth_strategy=noauth
# "ironic.drivers" entrypoint. An example may be found in the
# developer documentation online. (list value)
{% if testing %}
enabled_drivers=agent_ssh,agent_ipmitool,pxe_amt,agent_ilo,agent_ucs
enabled_drivers=agent_ssh
{% else %}
enabled_drivers=agent_ipmitool,pxe_amt,agent_ilo,agent_ucs
{% endif %}

View File

@ -6,4 +6,3 @@ Babel>=1.3
oslo.config>=1.11.0
oslo.log>=1.2.0
six>=1.9.0
UcsSdK==0.8.1.9