Clone Kuryr repository by TARGET_BRANCH

The variable $TARGET_BRANCH will be set by devstack. It will point
to the right branch that the devstack is based on. For example,
if the devstack is on a stable branch, TARGET_BRANCH will point to
that stable branch. Using this variable will save us the manual
effort to update the branch whenever we cut a release.

Change-Id: I45f93aa328c4e166d131d18c579651e4e96c3254
This commit is contained in:
Hongbin Lu 2018-07-17 02:18:58 +00:00
parent a6bf01ded6
commit a65ae5590c
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ KURYR_DOCKER_ENGINE_PORT=${KURYR_DOCKER_ENGINE_PORT:-2375}
DOCKER_CLUSTER_STORE=${DOCKER_CLUSTER_STORE:-etcd://$SERVICE_HOST:$ETCD_PORT}
GITREPO["kuryr"]=${KURYR_REPO:-${GIT_BASE}/openstack/kuryr.git}
GITBRANCH["kuryr"]=${KURYR_BRANCH:-master}
GITBRANCH["kuryr"]=${KURYR_BRANCH:-$TARGET_BRANCH}
GITDIR["kuryr"]=$DEST/kuryr
enable_service kuryr-libnetwork docker-engine