Merge "Set a long package cache timeout for OpenStack-CI"
This commit is contained in:
commit
a7d906283a
@ -78,6 +78,13 @@
|
|||||||
- nodepool_dir.stat.exists
|
- nodepool_dir.stat.exists
|
||||||
- bootstrap_host_ubuntu_repo is defined
|
- 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
|
- name: Determine if the host has a global pip config file
|
||||||
stat:
|
stat:
|
||||||
path: /etc/pip.conf
|
path: /etc/pip.conf
|
||||||
|
@ -83,6 +83,11 @@ repo_build_pip_extra_indexes:
|
|||||||
uca_apt_repo_url: {{ uca_apt_repo_url }}
|
uca_apt_repo_url: {{ uca_apt_repo_url }}
|
||||||
{% endif %}
|
{% 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
|
## Instruct the gate to always build libvirt-python from pip source
|
||||||
repo_build_pip_no_binary:
|
repo_build_pip_no_binary:
|
||||||
- libvirt-python
|
- libvirt-python
|
||||||
|
Loading…
x
Reference in New Issue
Block a user