Skip to content

Commit

Permalink
invoke stub images tasks from root folder in forklift
Browse files Browse the repository at this point in the history
Signed-off-by: Arik Hadas <[email protected]>
  • Loading branch information
ahadas committed Feb 5, 2024
1 parent fd4ef2f commit 99c4906
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build_tests_bazel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 99c4906

Please sign in to comment.