Merge "Set a long package cache timeout for OpenStack-CI"

This commit is contained in:
Jenkins 2016-08-22 14:11:43 +00:00 committed by Gerrit Code Review
commit a7d906283a
2 changed files with 12 additions and 0 deletions

View File

@ -78,6 +78,13 @@
- nodepool_dir.stat.exists
- bootstrap_host_ubuntu_repo is defined
- name: Set the package cache timeout to 60 mins in OpenStack-CI
set_fact:
cache_timeout: 3600
when:
- cache_timeout is not defined
- nodepool_dir.stat.exists
- name: Determine if the host has a global pip config file
stat:
path: /etc/pip.conf

View File

@ -83,6 +83,11 @@ repo_build_pip_extra_indexes:
uca_apt_repo_url: {{ uca_apt_repo_url }}
{% endif %}
{% if cache_timeout is defined %}
## Package cache timeout
cache_timeout: {{ cache_timeout }}
{% endif %}
## Instruct the gate to always build libvirt-python from pip source
repo_build_pip_no_binary:
- libvirt-python