linkerd2/bin
Joakim Roubert 5c104ebec6
Run shellcheck for all shell scripts in repository (#4441)
* Run shellcheck for all shell scripts in repository

Update the shellcheck command in static_checks.yml to not only scan the
contents of ./bin, but search for all files with mimetype
text/x-shellscript and feed them to shellcheck.

Certainly, this is a tad more time consuming than just scanning one
directory, but still a quite fast thing to do while it prevents any
new scripts to fly under the radar.

(Also, there is no need to exclude *.nuspec or *.ps1 from the find
command as they do not have the text/x-shellscript mimetype.)

Change-Id: I7433d231e8a315df65c03ee8765914e782057343
Signed-off-by: Joakim Roubert <joakimr@axis.com>

* Updates after review comment

Move shellcheck of all scripts to own script that is then called by
static_checks.yml as suggested by @kleimkuhler.
Also updated sources for helm-build and kind-load so that the
new shellcheck-all script can be called from any directory.

Change-Id: I9e82230459cb843c4143ec979c93060f424baed8
Signed-off-by: Joakim Roubert <joakim.roubert@axis.com>
2020-05-20 14:08:45 -07:00
..
win Linkerd CLI Chocolatey Package (#4205) 2020-04-29 09:41:54 -07:00
_docker.sh bin/_docker.sh: Fix shellcheck issues (#4433) 2020-05-19 10:39:41 -07:00
_log.sh bin/_log.sh: Add shebang to please shellcheck (#4437) 2020-05-20 09:55:51 -07:00
_release.sh Fix shellcheck warning (#4137) 2020-03-05 09:49:18 -08:00
_tag.sh bin/_tag.sh: Fix shellcheck issues (#4436) 2020-05-19 14:49:07 -07:00
_test-run.sh Exit tests if linkerd resources exist (#4397) 2020-05-19 13:59:27 -07:00
build-cli-bin Fix SC1090 shellcheck issues in shell script files (#4417) 2020-05-18 11:32:14 -07:00
create-release-tag Run shellcheck for all shell scripts in repository (#4441) 2020-05-20 14:08:45 -07:00
docker Fix whitespace path handling in docker (build) scripts (#3634) 2019-10-30 15:55:38 -07:00
docker-build Fix whitespace path handling in docker (build) scripts (#3634) 2019-10-30 15:55:38 -07:00
docker-build-base Fix SC1090 shellcheck issues in shell script files (#4417) 2020-05-18 11:32:14 -07:00
docker-build-cli-bin Fix SC1090 shellcheck issues in shell script files (#4417) 2020-05-18 11:32:14 -07:00
docker-build-cni-plugin Fix SC1090 shellcheck issues in shell script files (#4417) 2020-05-18 11:32:14 -07:00
docker-build-controller Fix SC1090 shellcheck issues in shell script files (#4417) 2020-05-18 11:32:14 -07:00
docker-build-debug Fix SC1090 shellcheck issues in shell script files (#4417) 2020-05-18 11:32:14 -07:00
docker-build-go-deps Fix SC1090 shellcheck issues in shell script files (#4417) 2020-05-18 11:32:14 -07:00
docker-build-grafana Fix SC1090 shellcheck issues in shell script files (#4417) 2020-05-18 11:32:14 -07:00
docker-build-proxy Fix SC1090 shellcheck issues in shell script files (#4417) 2020-05-18 11:32:14 -07:00
docker-build-web Fix SC1090 shellcheck issues in shell script files (#4417) 2020-05-18 11:32:14 -07:00
docker-images Fix SC1090 shellcheck issues in shell script files (#4417) 2020-05-18 11:32:14 -07:00
docker-pull Fix SC1090 shellcheck issues in shell script files (#4417) 2020-05-18 11:32:14 -07:00
docker-pull-binaries Fix SC1090 shellcheck issues in shell script files (#4417) 2020-05-18 11:32:14 -07:00
docker-pull-deps Fix SC1090 shellcheck issues in shell script files (#4417) 2020-05-18 11:32:14 -07:00
docker-push Fix SC1090 shellcheck issues in shell script files (#4417) 2020-05-18 11:32:14 -07:00
docker-push-deps Fix SC1090 shellcheck issues in shell script files (#4417) 2020-05-18 11:32:14 -07:00
docker-retag-all Fix SC1090 shellcheck issues in shell script files (#4417) 2020-05-18 11:32:14 -07:00
docker-test-proxy Fix whitespace path handling in docker (build) scripts (#3634) 2019-10-30 15:55:38 -07:00
fetch-proxy Fix `bin/fetch-proxy` on Linux (#4117) 2020-03-02 12:33:20 -08:00
fmt bin/fmt: Fix shellcheck issue (#4438) 2020-05-19 14:49:28 -07:00
git-commit-proxy-version Fix whitespace path handling in non-docker (build) scripts (#3650) 2019-11-26 09:48:41 -05:00
go-run Fix whitespace path handling in non-docker (build) scripts (#3650) 2019-11-26 09:48:41 -05:00
goimports Fix whitespace path handling in non-docker (build) scripts (#3650) 2019-11-26 09:48:41 -05:00
helm Upgrade to Helm v3 (#4373) 2020-05-14 12:11:47 -05:00
helm-build Run shellcheck for all shell scripts in repository (#4441) 2020-05-20 14:08:45 -07:00
install-pr Extract common logic in scripts and CI to load images into KinD (#4212) 2020-03-30 16:28:28 -05:00
kind Bump KinD to 0.8.1 (#4445) 2020-05-20 14:46:05 -05:00
kind-load Run shellcheck for all shell scripts in repository (#4441) 2020-05-20 14:08:45 -07:00
kubectl Fix whitespace path handling in non-docker (build) scripts (#3650) 2019-11-26 09:48:41 -05:00
linkerd Fix whitespace path handling in non-docker (build) scripts (#3650) 2019-11-26 09:48:41 -05:00
lint bin/lint: Fix shellcheck issue (#4434) 2020-05-19 23:23:25 -07:00
markdownlint Lint all markdown files in CI (#4402) 2020-05-19 23:03:50 -07:00
markdownlint-all Lint all markdown files in CI (#4402) 2020-05-19 23:03:50 -07:00
minikube-start-hyperv.bat Introducing Conduit, the ultralight service mesh 2017-12-05 00:24:55 +00:00
mkube bin/mkube: Update according to shellcheck suggestions (#4419) 2020-05-18 10:03:42 -07:00
protoc Fix whitespace path handling in non-docker (build) scripts (#3650) 2019-11-26 09:48:41 -05:00
protoc-go.sh bin/protoc-go.sh: Fix shellcheck error (#4420) 2020-05-18 13:13:41 -07:00
root-tag Fix SC1090 shellcheck issues in shell script files (#4417) 2020-05-18 11:32:14 -07:00
shellcheck shellcheck: Bump to version 0.7.1 (#4439) 2020-05-19 10:24:55 -07:00
shellcheck-all Run shellcheck for all shell scripts in repository (#4441) 2020-05-20 14:08:45 -07:00
test-cleanup Improve cni resources labels (#4032) 2020-02-11 12:10:08 +02:00
test-clouds bin/test-clouds: Fix shellcheck issues (#4423) 2020-05-18 13:42:46 -07:00
test-clouds-cleanup bin/test-clouds-cleanup: Fix shellcheck issues (#4422) 2020-05-18 11:53:24 -07:00
test-run Fix SC1090 shellcheck issues in shell script files (#4417) 2020-05-18 11:32:14 -07:00
test-scale bin/test-scale: Fix shellcheck issues (#4424) 2020-05-18 10:41:49 -07:00
update-codegen.sh Upgrade to client-go 0.17.4 and smi-sdk-go 0.3.0 (#4221) 2020-04-01 10:07:23 -07:00
update-go-deps-shas bin/update-go-deps-shas: Fix shellcheck issues (#4435) 2020-05-19 13:00:34 -07:00
web bin/web: Fix shellcheck issues (#4425) 2020-05-18 10:46:28 -07:00