summaryrefslogtreecommitdiffstats
path: root/jjb/vpp/include-raw-vpp-arm-build.sh
diff options
context:
space:
mode:
authorjuraj.linkes <juraj.linkes@pantheon.tech>2018-10-11 17:09:29 +0200
committerJuraj Linkeš <juraj.linkes@pantheon.tech>2018-12-11 08:13:59 +0000
commit34e6385e3633c366ede6cac81b0a1decc1dfd83b (patch)
tree09804982810542506e49d2bf963cf038bdeb2152 /jjb/vpp/include-raw-vpp-arm-build.sh
parent940b95c902ccb4c6ef9f17098e14327512cd7443 (diff)
Enable nonvoting testing in VPP ARM verify jobs
Enable testing utilizing parallel test execution for ARM jobs with parallel test execution code, which has been merged in 1810 and update the OS for these jobs to Ubuntu1804. Create new jobs for branches without parallel test execution which don't have testing enabled and retain the OS. Also exclude some currently failing tests which will be enabled once the underlying issues are fixed. Change-Id: I5bbb1348a5a00676759753e5cf66ab65ce55e57d Signed-off-by: juraj.linkes <juraj.linkes@pantheon.tech>
Diffstat (limited to 'jjb/vpp/include-raw-vpp-arm-build.sh')
-rw-r--r--jjb/vpp/include-raw-vpp-arm-build.sh23
1 files changed, 16 insertions, 7 deletions
diff --git a/jjb/vpp/include-raw-vpp-arm-build.sh b/jjb/vpp/include-raw-vpp-arm-build.sh
index 94cc82449..906e18584 100644
--- a/jjb/vpp/include-raw-vpp-arm-build.sh
+++ b/jjb/vpp/include-raw-vpp-arm-build.sh
@@ -36,13 +36,22 @@ echo "sha1sum of this script: ${0}"
sha1sum $0
echo "CC=${CC}"
-
-make UNATTENDED=yes install-dep
-make UNATTENDED=yes dpdk-install-dev
-make UNATTENDED=yes -C build-root PLATFORM=vpp TAG=vpp wipe-all install-packages
-make UNATTENDED=yes -C build-root PLATFORM=vpp TAG=vpp sample-plugin-install
-make UNATTENDED=yes -C build-root PLATFORM=vpp TAG=vpp libmemif-install
-make UNATTENDED=yes pkg-deb
+echo "IS_CSIT_VPP_JOB=${IS_CSIT_VPP_JOB}"
+# If and only if we are doing verify *after* make verify was made to work
+# and we are not a CSIT job just building packages, then use make verify,
+# else use the old build-root/vagrant/build.sh
+if (git log --oneline | grep 37682e1 > /dev/null 2>&1) && \
+ [ "x${IS_CSIT_VPP_JOB}" != "xTrue" ]
+then
+ echo "Building using \"make verify\""
+ sed -i '33i\ \ DEPENDS api_headers' src/vat/CMakeLists.txt
+ [ "x${DRYRUN}" == "xTrue" ] || make UNATTENDED=yes verify SKIP_AARCH64=yes
+else
+ echo "Building using \"make build-root/vagrant/build.sh\""
+ [ "x${DRYRUN}" == "xTrue" ] || make UNATTENDED=yes install-dep
+ [ "x${DRYRUN}" == "xTrue" ] || make UNATTENDED=yes dpdk-install-dev
+ [ "x${DRYRUN}" == "xTrue" ] || build-root/vagrant/build.sh
+fi
if [ "x${VPP_REPO}" == "x1" ]; then
if [ "x${REBASE_NEEDED}" == "x1" ]; then