From f197a65e5aa00f40749676235ea184cc2ca83fcd Mon Sep 17 00:00:00 2001 From: Mark Goddard Date: Mon, 3 Sep 2018 14:00:30 +0100 Subject: [PATCH] Use infra's PyPI mirror during using CI Change-Id: I9affd65fea2009404a32825000e74f5edea24832 --- playbooks/kayobe-overcloud-base/overrides.yml.j2 | 4 ++++ playbooks/kayobe-seed-base/overrides.yml.j2 | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/playbooks/kayobe-overcloud-base/overrides.yml.j2 b/playbooks/kayobe-overcloud-base/overrides.yml.j2 index e5190527b..42edfffeb 100644 --- a/playbooks/kayobe-overcloud-base/overrides.yml.j2 +++ b/playbooks/kayobe-overcloud-base/overrides.yml.j2 @@ -8,3 +8,7 @@ kolla_source_version: "{{ zuul.projects['git.openstack.org/openstack/kolla'].che kolla_ansible_source_url: "{{ ansible_env.PWD ~ '/' ~ zuul.projects['git.openstack.org/openstack/kolla-ansible'].src_dir }}" kolla_ansible_source_version: "{{ zuul.projects['git.openstack.org/openstack/kolla-ansible'].checkout }}" kolla_upper_constraints_file: "/tmp/upper-constraints.txt" + +# Use the CI infra's PyPI mirror. +pip_local_mirror: true +pip_index_url: "http://{{ zuul_site_mirror_fqdn }}/pypi/simple" diff --git a/playbooks/kayobe-seed-base/overrides.yml.j2 b/playbooks/kayobe-seed-base/overrides.yml.j2 index 8bd0afce0..c9db6012a 100644 --- a/playbooks/kayobe-seed-base/overrides.yml.j2 +++ b/playbooks/kayobe-seed-base/overrides.yml.j2 @@ -12,3 +12,7 @@ kolla_upper_constraints_file: "/tmp/upper-constraints.txt" # NOTE(mgoddard): We're using a cirros image, which doesn't require the # resolv.conf work around used for CentOS. overcloud_host_image_workaround_resolv_enabled: false + +# Use the CI infra's PyPI mirror. +pip_local_mirror: true +pip_index_url: "http://{{ zuul_site_mirror_fqdn }}/pypi/simple"