summaryrefslogtreecommitdiffstats
path: root/coverity-scan.sh
AgeCommit message (Collapse)Author
2021-03-17Update Coverity version so that scanning works again. (#10794)Austin S. Hemmelgarn
2020-03-13Fix coverity scan (#8388)James Mills
* Fix coverity scan * Add path filter to pull_request: condition * Add missing dependency
2019-09-12netdata/ci: second batch of fixes for coverity scan script and others (#6804)Paul Emm. Katsoulakis
* netdata/ci: fine grain coverity scan toolkit 1) Deprecate coverity-install.sh 2) add set -e to raise errors more aggressively when something is wrong 3) refactor some variable definitions for temp and install paths, use mktemp and clean up temp dir when all ok * netdata/ci: reduce the scope * netdata/ci: require curl * netdata/ci: go soft on functions loading * netdata/ci: allow override of build version without touching the script * netdata/ci: handle shellcheck errors, some were silenced because we dont handle them * netdata/ci: coverity scan, parse any extra options other than --with-install and pass them to configure 1) add default configure arguments if no extras are given 2) parse all possible arguments individually, handle --with-install and pass the rest to scanit * netdata/ci: focus, argument parsing in one place a bit more consistently * netdata/ci: prepare for using * netdata/ci: coverity - add more flags, adjust deps list 1) Add with math and with zlib flags on the script 2) add xenstat dependencies 3) run in coverity with custom flags, so that we add xenstat (no need to be by default for the users of the script) * netdata/packaging: add xen-utils also * test the flow * netdata/ci: dont forget to go back to the original directory * netdata/ci: please, travis, stop it * netdata/ci: how about this then * netdata/ci: silence that, we cant call it otherwise * netdata/packaging: update documentation around xenstat on centos * netdata/packaging: dont enable xenstat at this stage * netdata/ci: add += instead of variable reusage
2019-08-31make coverity-scan.sh usable by hand (#6747)Costa Tsaousis
* make coverity-scan.sh usable by hand * updated debug variable and docs * merge coverity-scan.sh and coverity-install.sh -- MERGING AND TAKING OVER FURTHER IMPROVEMENTS as agreed --
2019-03-19netdata/build: A small house keeping around coverity scan (no functional or ↵Paul Katsoulakis
process change) (#5656) * netdata/build: a small house keeping around coverity scan (no functional or process change) 1) Split coverity install on seperate scriptlet, call it through travis when needed 2) Remove shellcheck exclussions, they dont seem to be raised any more (i might be using wrong version of shellcheck, will see) 3) Fix authors,copyrights etc 4) Make sure all echo goes to stderr 5) When installing, use mktemp for the temporary directory and put everything there. Remove afterwards * netdata/build: missed - remove temp folder once done * Rebumping with empty commit to trigger build * Temp commit to force execution of modified code for coverity * [ci skip] Revert "Temp commit to force execution of modified code for coverity" This reverts commit 70e770cbbcb2b9cb4c8040d6249688c810d823f3. * Temp commit to force execution of modified code for coverity * Temp commit to force execution of modified code for coverity * packaging/netdata/coverity-scan: Missed PATH export during scan phase * netdata/packaging/coverity-scan: the source folder not so temporary after all Use a more permanent path for the workdir and we will deep dive on the details of this if necessary at a later stage * netdata/packaging: This is a more general change, push REPOSITORY variable up to travis layer to help testing against personal accounts * netdata/packaging/coverity-scan: Missed folder creation (no longer using mktemp, duh), also make sure you do a couple of validations so that you know install is failed or not, otherwise we exit with success but nothing has happened * netdata/coverity-scan: a few more changes towards abstraction 1) move for submit email to travis environment variables 2) Use REPOSITORY in project name 3) Add some new lines on the last log message, to separate it from the curl result * netdata/coverity: missed parameter from echo * Reinstate the flag that controls coverity scan execution (was removed for testing purposes, to run coverity in a controlled environment) * netdata/coverity-scan: Control coverity scan results submission and report back the potential error without blocking the pipeline by failing the step completely
2018-09-29[cleanup crusade] Shellcheck (#4261)Paweł Krupa
* lint libreswan module * disable linting obsolete shell modules * shellcheck more shell modules * fix review; lint helper scripts * more shellcheck * fix SC2235 in apache.chart.sh * shellcheck last portion of charts.d scripts * final shellcheck; make travis blocking * fix cppcheck * fix indents; fix expansion * fix local var assignments
2018-09-27Update coverity-scan.sh (#4304)Paweł Krupa
2018-09-26update variable after install (#4292)Paweł Krupa
* update variable after install * normalize indent
2018-09-25fix typo (#4290)Paweł Krupa
2018-09-24nightly builds + coverity scan (#4273)Paweł Krupa
* nightly + enable coverity * better releasing * coverity in travis * move var * start travis * remove quotes * Update coverity-scan.sh
2018-09-22coverity should still use firehol/netdata until we find a solutionCosta Tsaousis (ktsaou)
2018-09-22replaced referenced to firehol github org with netdata github org (#4249)Costa Tsaousis
* replaced referenced to firehol github org with netdata github org * increased versions of js files * added new docker hub badge netdata/netdata and restored firehol/netdata
2018-09-22show version on console when submitting to coverityCosta Tsaousis (ktsaou)
2018-09-13[cleanup crusade] linting shell scripts for docker, tests and python (#4162)Paweł Krupa
* shell linting various scripts * remove python-modules-installer.sh.in
2018-09-10allow coverity-scan.sh to obtain the token from environment variableCosta Tsaousis (ktsaou)
2017-12-26removed duplicate shebangCosta Tsaousis (ktsaou)
2017-12-26more fixesCosta Tsaousis (ktsaou)
2017-09-10fix issue identified by coverityCosta Tsaousis (ktsaou)
2017-06-18use all cpus for coverity scanCosta Tsaousis (ktsaou)
2017-03-18updated coverity scan to detect netdata versionCosta Tsaousis (ktsaou)
2017-03-01updated coverity versionCosta Tsaousis (ktsaou)
2017-01-02updated coverity-scan.sh versionCosta Tsaousis (ktsaou)
2016-09-30updated all javascript librariesCosta Tsaousis (ktsaou)