Apex: Fix fluorine name and patch netvirt reinstall 39/59039/1
authorTim Rozet <trozet@redhat.com>
Tue, 26 Jun 2018 13:50:06 +0000 (09:50 -0400)
committerTim Rozet <trozet@redhat.com>
Tue, 26 Jun 2018 13:50:06 +0000 (09:50 -0400)
Temporarily pull in specific patch to fix ODL netvirt reinstall.

Change-Id: Id3ba00592e81ee0970075b34afb72f76db02d0b4
Signed-off-by: Tim Rozet <trozet@redhat.com>
jjb/3rd_party_ci/download-netvirt-artifact.sh
jjb/3rd_party_ci/install-netvirt.sh

index 5a50e8a..b6df592 100755 (executable)
@@ -10,7 +10,7 @@ if [ "$ODL_BRANCH" != 'master' ]; then
   DIST=$(echo ${ODL_BRANCH} | sed -rn 's#([a-zA-Z]+)/([a-zA-Z]+)#\2#p')
   ODL_BRANCH=$(echo ${ODL_BRANCH} | sed -rn 's#([a-zA-Z]+)/([a-zA-Z]+)#\1%2F\2#p')
 else
-  DIST='flourine'
+  DIST='fluorine'
 fi
 CHANGE_DETAILS_URL="https://git.opendaylight.org/gerrit/changes/netvirt~${ODL_BRANCH}~${GERRIT_CHANGE_ID}/detail"
 # due to limitation with the Jenkins Gerrit Trigger, we need to use Gerrit REST API to get the change details
index ed1a12b..0dcb7bf 100755 (executable)
@@ -26,8 +26,7 @@ fi
 # but we really should check the cache here, and not use a single cache folder
 # for when we support multiple jobs on a single slave
 pushd sdnvpn/odl-pipeline/lib > /dev/null
-# FIXME (trozet) remove this once permissions are fixed in sdnvpn repo
-chmod +x odl_reinstaller.sh
+git fetch https://gerrit.opnfv.org/gerrit/sdnvpn refs/changes/17/59017/3 && git checkout FETCH_HEAD
 ./odl_reinstaller.sh --pod-config ${SNAP_CACHE}/node.yaml \
   --odl-artifact /tmp/${NETVIRT_ARTIFACT} --ssh-key-file ${SNAP_CACHE}/id_rsa
 popd > /dev/null