mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-16 08:26:16 +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:
commit
905b4b09d2
@ -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}"
|
||||||
|
Loading…
Reference in New Issue
Block a user