summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas F Herbert <therbert@redhat.com>2016-09-06 18:14:42 -0400
committerThomas F Herbert <therbert@redhat.com>2016-09-06 19:24:46 -0400
commit417d7d91f7a06c78ef50fb9494744870477ef7f6 (patch)
tree412043c5b435ce5a3da2f58d6fb519122d7de154
parente8acab14c393cd1bc4084d3a0c32746fd3e94eb2 (diff)
Freeze filename hash so it doesn't track git hash
JIRA: OVSNFV-38 Change-Id: If87ced51e7281adb35418b763df450300cb6f26e Signed-off-by: Thomas F Herbert <therbert@redhat.com> (cherry picked from commit 68d9c00afcb7fd52479fb9a46fa2afde1397eb74)
-rw-r--r--build/config6
-rwxr-xr-xci/upload_artifacts.sh3
2 files changed, 7 insertions, 2 deletions
diff --git a/build/config b/build/config
index 3181b62..7d4b22f 100644
--- a/build/config
+++ b/build/config
@@ -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
diff --git a/ci/upload_artifacts.sh b/ci/upload_artifacts.sh
index 86774e8..6c35827 100755
--- a/ci/upload_artifacts.sh
+++ b/ci/upload_artifacts.sh
@@ -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