diff options
author | Brent Baude <bbaude@redhat.com> | 2020-10-05 08:42:15 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-05 08:42:15 -0500 |
commit | caace52d54c846c948c88a62f973f4d11808532e (patch) | |
tree | 41ef903d08193a4f6ff0edba9727f54a1e0583d5 /contrib/cirrus/shellcheck.sh | |
parent | 436dda23852a367807d86e98b7a59f09a82c1802 (diff) | |
parent | 2c9084e2245834094e14e9105e64b6062d70a0f1 (diff) | |
download | podman-caace52d54c846c948c88a62f973f4d11808532e.tar.gz podman-caace52d54c846c948c88a62f973f4d11808532e.tar.bz2 podman-caace52d54c846c948c88a62f973f4d11808532e.zip |
Merge pull request #6784 from cevich/new_ci_cd
Cirrus: Make efficient and performant
Diffstat (limited to 'contrib/cirrus/shellcheck.sh')
-rwxr-xr-x | contrib/cirrus/shellcheck.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/contrib/cirrus/shellcheck.sh b/contrib/cirrus/shellcheck.sh new file mode 100755 index 000000000..edf8248d3 --- /dev/null +++ b/contrib/cirrus/shellcheck.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +set -eo pipefail + +# shellcheck source=./contrib/cirrus/lib.sh +source $(dirname $0)/lib.sh + +cd $CIRRUS_WORKING_DIR +shellcheck --color=always --format=tty \ + --shell=bash --external-sources \ + --enable add-default-case,avoid-nullary-conditions,check-unassigned-uppercase \ + --exclude SC2046,SC2034,SC2090,SC2064 \ + --wiki-link-count=0 --severity=warning \ + $SCRIPT_BASE/*.sh + +echo "Shellcheck: PASS" |