chore: remove output of script sha1sum from jjb scripts
[ci-management.git] / jjb / scripts / vpp / dpdk-rdma-version-mismatch.sh
1 #!/bin/bash
2
3 # Copyright (c) 2022 Cisco and/or its affiliates.
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at:
7 #
8 #     http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15
16 echo "---> jjb/scripts/vpp/dpdk-rdma-version-mismatch.sh"
17
18 set -euxo pipefail
19
20 line="*************************************************************************"
21 EXTERNAL_BUILD_DIR="$WORKSPACE/build/external"
22 RETVAL="0"
23 MISMATCH_RESULT="INCLUDED IN"
24
25 make -C "$EXTERNAL_BUILD_DIR" build-deb
26 source "$EXTERNAL_BUILD_DIR/dpdk_mlx_default.sh" || true
27
28 if [ "${DPDK_MLX_DEFAULT-}" = "n" ] ; then
29     MISMATCH_RESULT="MISSING FROM"
30     RETVAL="1"
31 fi
32 echo -e "\n$line\n* MLX DPDK DRIVER $MISMATCH_RESULT VPP-EXT-DEPS PACKAGE\n$line\n"
33 exit $RETVAL