From ae9133bb8eb8322d411722617f667e01df63d5b9 Mon Sep 17 00:00:00 2001 From: Thomas F Herbert Date: Sun, 13 Dec 2015 23:22:43 -0500 Subject: Script to build plain OVS RPM from master. Uploads RPM to artifactory. Jira: OVSNFV-19 Change-Id: I586418a5e12435fd9d1594a4d2aca544c16a3a6d Signed-off-by: Thomas F Herbert --- ci/upload_artifacts.sh | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 ci/upload_artifacts.sh (limited to 'ci/upload_artifacts.sh') diff --git a/ci/upload_artifacts.sh b/ci/upload_artifacts.sh new file mode 100755 index 0000000..765a336 --- /dev/null +++ b/ci/upload_artifacts.sh @@ -0,0 +1,24 @@ +#!/bin/bash +set -o errexit +set -o nounset +set -o pipefail + +# log info to console +echo "Uploading the OVS $VERSION RPM artifacts. " +echo "-----------------------------------------" +echo + +export RPMFILE_D=openvswitch-debuginfo-$VERSION-1.x86_64.rpm +export RPMFILE=openvswitch-$VERSION-1.x86_64.rpm + +# upload artifact and additional files to google storage +echo gsutil cp $TMP_RELEASE_DIR/$RPMFILE_D gs://artifacts.opnfv.org/ovsnfv/opnfv-$DATE-$RPMFILE_D +gsutil cp $TMP_RELEASE_DIR/$RPMFILE_D gs://artifacts.opnfv.org/ovsnfv/opnfv-$DATE-$RPMFILE_D + +echo gsutil cp $TMP_RELEASE_DIR/$RPMFILE gs://artifacts.opnfv.org/ovsnfv/opnfv-$DATE-$RPMFILE +gsutil cp $TMP_RELEASE_DIR/$RPMFILE gs://artifacts.opnfv.org/ovsnfv/opnfv-$DATE-$RPMFILE + +echo +echo "------------------------------------------------------" +echo "Done!" +echo "Artifacts are available as http://artifacts.opnfv.org/ovsnfv/opnfv-$DATE-$RPMFILE" -- cgit 1.2.3-korg