Freeze filename hash so it doesn't track git hash 77/20577/1
authorThomas F Herbert <therbert@redhat.com>
Tue, 6 Sep 2016 22:14:42 +0000 (18:14 -0400)
committerThomas F Herbert <therbert@redhat.com>
Tue, 6 Sep 2016 23:24:46 +0000 (19:24 -0400)
JIRA: OVSNFV-38

Change-Id: If87ced51e7281adb35418b763df450300cb6f26e
Signed-off-by: Thomas F Herbert <therbert@redhat.com>
(cherry picked from commit 68d9c00afcb7fd52479fb9a46fa2afde1397eb74)

build/config
ci/upload_artifacts.sh

index 3181b62..7d4b22f 100644 (file)
@@ -47,6 +47,12 @@ export OVS_VERSION=7d433ae57ebb90cd68e8fa948a096f619ac4e2d8
 export COPR_DPDK_VERSION=039002f07eb1dd96a061235f0bf0493da386bba2
 export COPR_OVS_VERSION=5e311e125035edc706efbd9cc679f67e5972dbb4 
 #
+# Filename version for frozen features.
+# Corresponds to git hash where last OVS and DPDK feature was added.
+# Embedded in output filenames in artifactory of OVSNFV.
+#
+export filever=e8acab14
+#
 # When KMOD is set, the Linux kernel module is built and tested.
 #
 export KMOD=no
index 86774e8..6c35827 100755 (executable)
@@ -22,13 +22,12 @@ set -o pipefail
 echo "Uploading the OVS and DPDK RPM artifacts. "
 echo "-----------------------------------------"
 echo
-gitver=`git log --pretty=oneline -n1|cut -c1-8`
 
 cd $TMP_RELEASE_DIR
 for i in `ls *.rpm`
 do
     echo copying $i to gs://$GS_URL/ovs4opnfv-$gitver
-    gsutil cp $TMP_RELEASE_DIR/$i gs://$GS_URL/ovs4opnfv-$gitver-$i
+    gsutil cp $TMP_RELEASE_DIR/$i gs://$GS_URL/ovs4opnfv-$filever-$i
     echo
 done