To ensure reproducible deployments, change gerrit branches to
2.0.0-ONAP tag instead of using the beijing branch since the
beijing branches are not locked.
Change-Id: I1becd46c10b3ea5b2e2adb2ff32f2a577b756559
Issue-ID: INT-506
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
# Clone OOM:
cd ~
-git clone -b beijing http://gerrit.onap.org/r/oom
+git clone -b 2.0.0-ONAP http://gerrit.onap.org/r/oom
cd oom
git log -1
git tag -a "deploy0" -m "initial deployment"
fi
echo "ONAP_WORKDIR=${ONAP_WORKDIR}"
if [ ! -d ${ONAP_WORKDIR}/demo ]; then
- git clone -b beijing https://gerrit.onap.org/r/demo ${ONAP_WORKDIR}/demo
+ git clone -b 2.0.0-ONAP https://gerrit.onap.org/r/demo ${ONAP_WORKDIR}/demo
else
pushd ${ONAP_WORKDIR}/demo
- git checkout beijing
+ git checkout 2.0.0-ONAP
git pull
popd
fi