Specify etcd download location for all CI jobs

In Ibbb430fb1dbf66942168e0cb52d990ab6a2eb8d7 change for devstack,
we download etcd from github for end user scenarios. However this
is not acceptable for our CI. So we need to set the environment
variable for devstack to something in our CI infrastructure. We
need to do this such that it is available to all jobs as etcd
will run for all jobs from now on.

NOTE: We can get rid of the wget in devstack when the distro(s)
package etcd 3.x for general use.

Change-Id: If06731ed540072e78e7fceacf4ebf650ed89f3ea
This commit is contained in:
Davanum Srinivas 2017-05-22 13:01:11 -04:00
parent 49bde67668
commit 53db8c8d18
1 changed files with 5 additions and 0 deletions

View File

@ -382,6 +382,11 @@ function setup_localrc {
localrc_set "$localrc_file" "export OS_NO_CACHE" "True"
localrc_set "$localrc_file" "CEILOMETER_BACKEND" "$DEVSTACK_GATE_CEILOMETER_BACKEND"
localrc_set "$localrc_file" "LIBS_FROM_GIT" "$DEVSTACK_PROJECT_FROM_GIT"
# etcd 3.x is not available in debian/ubuntu etc. As a stop gap measure, devstack uses wget to download
# from the location below for all the CI jobs.
localrc_set "$localrc_file" "ETCD_DOWNLOAD_URL" "http://tarballs.openstack.org/etcd/"
# set this until all testing platforms have libvirt >= 1.2.11
# see bug #1501558
localrc_set "$localrc_file" "EBTABLES_RACE_FIX" "True"