mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-01 00:46:38 +00:00
Merge pull request #3543 from Jakob-Naucke/fwdport-static-args
ci: Pass function arguments in static-checks.sh
This commit is contained in:
@@ -36,7 +36,7 @@ run_static_checks()
|
|||||||
# Make sure we have the targeting branch
|
# Make sure we have the targeting branch
|
||||||
git remote set-branches --add origin "${branch}"
|
git remote set-branches --add origin "${branch}"
|
||||||
git fetch -a
|
git fetch -a
|
||||||
bash "$tests_repo_dir/.ci/static-checks.sh" "github.com/kata-containers/kata-containers"
|
bash "$tests_repo_dir/.ci/static-checks.sh" "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
run_go_test()
|
run_go_test()
|
||||||
|
@@ -9,4 +9,4 @@ set -e
|
|||||||
cidir=$(dirname "$0")
|
cidir=$(dirname "$0")
|
||||||
source "${cidir}/lib.sh"
|
source "${cidir}/lib.sh"
|
||||||
|
|
||||||
run_static_checks
|
run_static_checks "${@:-github.com/kata-containers/kata-containers}"
|
||||||
|
Reference in New Issue
Block a user