tests: Use function from Kata repo

Switch to use function from Kata repo in common.bash to reduce
dependency on the tests repo.

Fixes #8713

Signed-off-by: Chelsea Mafrica <chelsea.e.mafrica@intel.com>
This commit is contained in:
Chelsea Mafrica
2023-12-20 16:39:53 -08:00
parent d916da15dd
commit 9f394f6e18

View File

@@ -57,11 +57,10 @@ run_docs_url_alive_check()
run_get_pr_changed_file_details()
{
clone_tests_repo
# Make sure we have the targeting branch
git remote set-branches --add origin "${branch}"
git fetch -a
source "$tests_repo_dir/.ci/lib.sh"
source "$kata_repo_dir/tests/common.bash"
get_pr_changed_file_details
}