@cryptotaxi247 / netdata-1 / commits / 814b035d8

Bump Coverity scan tool version. (#15003)

Also update the script so that this process becomes a bit easier in the future.

Austin S. Hemmelgarn committed May 3, 2023 at 10:30 UTC 814b035d8cdda0f360ddabb5829ab14dde49939e
1 file changed +2 -1
coverity-scan.sh
+2 -1
@@ -40,7 +40,7 @@ set -e
40 INSTALL_DIR="/opt"
41
42 # the version of coverity to use
43 -COVERITY_BUILD_VERSION="${COVERITY_BUILD_VERSION:-cov-analysis-linux64-2022.06}"
43 +COVERITY_BUILD_VERSION="${COVERITY_BUILD_VERSION:-cov-analysis-linux64-2022.12.2}"
44
45 # TODO: For some reasons this does not fully load on Debian 10 (Haven't checked if it happens on other distros yet), it breaks
46 source packaging/installer/functions.sh || echo "Failed to fully load the functions library"
@@ -150,6 +150,7 @@ installit() {
150 COVERITY_PATH=$(find "${INSTALL_DIR}" -maxdepth 1 -name 'cov*linux*')
151 export PATH=${PATH}:${COVERITY_PATH}/bin/
152 elif find . -name "*.tar.gz" > /dev/null 2>&1; then
153 + ls ./*.tar.gz
154 fatal "Downloaded coverity tool tarball does not appear to be the version we were expecting, exiting."
155 else
156 fatal "Failed to download coverity tool tarball!"