From 99c4906e000733ee759a5729e6ee95b66c6eedcb Mon Sep 17 00:00:00 2001 From: Arik Hadas Date: Mon, 5 Feb 2024 11:53:10 +0200 Subject: [PATCH] invoke stub images tasks from root folder in forklift Signed-off-by: Arik Hadas --- build_tests_bazel.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build_tests_bazel.sh b/build_tests_bazel.sh index ee7481d..fd43087 100755 --- a/build_tests_bazel.sh +++ b/build_tests_bazel.sh @@ -13,13 +13,13 @@ SCRIPT_DIR=`dirname "$SCRIPT_PATH"` # Change the dir to FORKLIFT_DIR (default forklift) -cd ${FORKLIFT_DIR:-forklift}/virt-v2v/cold +cd ${FORKLIFT_DIR:-forklift} [ ! -e "${SCRIPT_DIR}/stub-images" ] && { echo "stub-images not found";exit 2; } export REGISTRY_TAG=latest # Copy the stub-images under the bazel workspace -cp -fr ${SCRIPT_DIR}/stub-images . -bazel run //stub-images:push-forklift-virt-v2v-stub --verbose_failures -bazel run //stub-images:push-vddk-test-vmdk --verbose_failures +cp -fr ${SCRIPT_DIR}/stub-images virt-v2v/cold +bazel run -package_path=virt-v2v/cold stub-images:push-forklift-virt-v2v-stub --verbose_failures +bazel run -package_path=virt-v2v/cold stub-images:push-vddk-test-vmdk --verbose_failures