mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Merge pull request #113514 from oscr/update-shellcheck-version
Update shellcheck version (0.7.1 -> 0.7.2) and fix findings
This commit is contained in:
commit
26c88ccee2
@ -140,6 +140,7 @@ eval "testargs=(${KUBE_TEST_ARGS:-})"
|
|||||||
# Used to filter verbose test output.
|
# Used to filter verbose test output.
|
||||||
go_test_grep_pattern=".*"
|
go_test_grep_pattern=".*"
|
||||||
|
|
||||||
|
goflags=()
|
||||||
# The junit report tool needs full test case information to produce a
|
# The junit report tool needs full test case information to produce a
|
||||||
# meaningful report.
|
# meaningful report.
|
||||||
if [[ -n "${KUBE_JUNIT_REPORT_DIR}" ]] ; then
|
if [[ -n "${KUBE_JUNIT_REPORT_DIR}" ]] ; then
|
||||||
|
@ -25,6 +25,7 @@ cd "${KUBE_ROOT}"
|
|||||||
|
|
||||||
# Filter out arguments that start with "-" and move them to goflags.
|
# Filter out arguments that start with "-" and move them to goflags.
|
||||||
targets=()
|
targets=()
|
||||||
|
goflags=()
|
||||||
for arg; do
|
for arg; do
|
||||||
if [[ "${arg}" == -* ]]; then
|
if [[ "${arg}" == -* ]]; then
|
||||||
goflags+=("${arg}")
|
goflags+=("${arg}")
|
||||||
|
@ -30,9 +30,8 @@ DOCKER="${DOCKER:-docker}"
|
|||||||
|
|
||||||
# required version for this script, if not installed on the host we will
|
# required version for this script, if not installed on the host we will
|
||||||
# use the official docker image instead. keep this in sync with SHELLCHECK_IMAGE
|
# use the official docker image instead. keep this in sync with SHELLCHECK_IMAGE
|
||||||
SHELLCHECK_VERSION="0.7.1"
|
SHELLCHECK_VERSION="0.7.2"
|
||||||
# upstream shellcheck latest stable image as of October 23rd, 2019
|
SHELLCHECK_IMAGE="docker.io/koalaman/shellcheck-alpine:v0.7.2@sha256:ce6fd9cc808a47d1d121ba92c203ecc02e8ed78e0e4c412f7fca54c2e954526d"
|
||||||
SHELLCHECK_IMAGE="docker.io/koalaman/shellcheck-alpine:v0.7.1@sha256:d6147f30864ddb7c9cf983fc277d345bc315e798e309ddf70062b194843ee252"
|
|
||||||
|
|
||||||
# disabled lints
|
# disabled lints
|
||||||
disabled=(
|
disabled=(
|
||||||
|
Loading…
Reference in New Issue
Block a user