We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb0ecfc commit 3ca5089Copy full SHA for 3ca5089
.kokoro/common.sh
@@ -347,3 +347,15 @@ function install_modules() {
347
-T 1C
348
fi
349
}
350
+
351
+scriptDir=$(realpath $(dirname "${BASH_SOURCE[0]}"))
352
+root_dir=$(realpath "$scriptDir/..")
353
+function install_dependencies() {
354
+ target_module_path=$(realpath "$1")
355
+ rel_target_path=$(realpath --relative-to="$root_dir" "$target_module_path")
356
+ echo "Resolving dependencies for $rel_target_path..."
357
+ dependencies=$(python3 "$scriptDir/determine_dependencies.py" "$1")
358
+ echo "Found dependencies: $dependencies"
359
360
+ install_modules "${dependencies}"
361
+}
0 commit comments