From c96e29af295322912aad05b3170a639f0ffefc51 Mon Sep 17 00:00:00 2001 From: selias Date: Thu, 8 Dec 2016 10:53:03 +0100 Subject: CSIT-484: New csit-hc2vpp job set Removes obsolete csit-hc2vpp job and adds 2 new jobs: - hc2vpp-csit-integration - runs on master after hc2vpp-integration succeeds - hc2vpp-csit-verify - can be run manually on commits to hc2vpp project Related csit change - https://gerrit.fd.io/r/4170 Change-Id: I0552c593e7080351e1d53c4b0b0d5a7aeb21089d Signed-off-by: selias --- jjb/hc2vpp/include-raw-hc2vpp-csit-verify.sh | 29 ++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 jjb/hc2vpp/include-raw-hc2vpp-csit-verify.sh (limited to 'jjb/hc2vpp/include-raw-hc2vpp-csit-verify.sh') diff --git a/jjb/hc2vpp/include-raw-hc2vpp-csit-verify.sh b/jjb/hc2vpp/include-raw-hc2vpp-csit-verify.sh new file mode 100644 index 000000000..cb75c2338 --- /dev/null +++ b/jjb/hc2vpp/include-raw-hc2vpp-csit-verify.sh @@ -0,0 +1,29 @@ +#!/bin/bash +set -xeu -o pipefail + +# create HC .deb packages +if [ "${OS}" == "ubuntu1404" ]; then + + ./packaging/deb/trusty/debuild.sh + cp ./packaging/deb/trusty/*.deb ./ + +elif [ "${OS}" == "ubuntu1604" ]; then + + ./packaging/deb/xenial/debuild.sh + cp ./packaging/deb/xenial/*.deb ./ +fi + +cd csit +# execute csit bootstrap script if it exists +if [ ! -e bootstrap-hc2vpp-verify.sh ] +then + echo 'ERROR: No bootstrap-hc2vpp-verify.sh found' + exit 1 +else + # make sure that bootstrap.sh is executable + chmod +x bootstrap-hc2vpp-verify.sh + # run the script + ./bootstrap-hc2vpp-verify.sh +fi + +# vim: ts=4 ts=4 sts=4 et : \ No newline at end of file -- cgit 1.2.3-korg