Browse Source

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
Hongbin Lu 9 months ago
parent
commit
a65ae5590c
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      devstack/settings

+ 1
- 1
devstack/settings View File

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

Loading…
Cancel
Save