diff options
author | Jan Gelety <jgelety@cisco.com> | 2016-06-07 16:38:47 +0200 |
---|---|---|
committer | Jan Gelety <jgelety@cisco.com> | 2016-06-10 15:27:29 +0200 |
commit | 800ff9b53f5c861e4625509d1403c1cb4606583b (patch) | |
tree | de8a521b10456ce05b828acb453096798dec3e32 /bootstrap-vpp-verify-weekly.sh | |
parent | c79921fc24b3e56e6b1a9e263d657ec7a8addd84 (diff) |
Use files to store VPP stable build data
- add VPP_REPO_URL file to store path to VPP build repository
- add VPP_STABLE_VER file to store VPP stable build version
- adapt bootstrap*.sh files to read VPP build repository path
and VPP stable build version from files
Change-Id: I2997320ec3df68eaf092795e5d553fb3f024d366
Signed-off-by: Jan Gelety <jgelety@cisco.com>
Diffstat (limited to 'bootstrap-vpp-verify-weekly.sh')
-rw-r--r-- | bootstrap-vpp-verify-weekly.sh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/bootstrap-vpp-verify-weekly.sh b/bootstrap-vpp-verify-weekly.sh index 1860429956..0b82d381bf 100644 --- a/bootstrap-vpp-verify-weekly.sh +++ b/bootstrap-vpp-verify-weekly.sh @@ -64,13 +64,15 @@ EOF chmod 600 priv_key # Temporarily download VPP packages from nexus.fd.io +SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" + rm -f *.deb if [ "${#}" -ne "0" ]; then arr=(${@}) echo ${arr[0]} else - VPP_STABLE_VER="16.09-rc0~47-g3419d0b~b214_amd64" - VPP_REPO_URL="https://nexus.fd.io/service/local/repositories/fd.io.master.ubuntu.trusty.main/content/io/fd/vpp" + VPP_STABLE_VER=$(cat ${SCRIPT_DIR}/VPP_MASTER_STABLE_VER) + VPP_REPO_URL=$(cat ${SCRIPT_DIR}/VPP_MASTER_REPO_URL) wget -q "${VPP_REPO_URL}/vpp/${VPP_STABLE_VER}/vpp-${VPP_STABLE_VER}.deb" || exit wget -q "${VPP_REPO_URL}/vpp-dbg/${VPP_STABLE_VER}/vpp-dbg-${VPP_STABLE_VER}.deb" || exit wget -q "${VPP_REPO_URL}/vpp-dev/${VPP_STABLE_VER}/vpp-dev-${VPP_STABLE_VER}.deb" || exit @@ -159,7 +161,7 @@ do echo echo ${test_set}. test loop PYTHONPATH=`pwd` pybot -L TRACE \ - -v TOPOLOGY_PATH:topologies/enabled/topology.yaml \ + -v TOPOLOGY_PATH:${SCRIPT_DIR}/topologies/enabled/topology.yaml \ --include vm_envAND3_node_single_link_topo \ --include vm_envAND3_node_double_link_topo \ --exclude PERFTEST \ |