fix manual invocation of versionchecker testdata fetch

Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
This commit is contained in:
Ashley Davis 2022-01-17 17:41:43 +00:00
parent 4cbfd2e9a5
commit 6429b65235
No known key found for this signature in database
GPG Key ID: DD14CC017E32BEB1

View File

@ -28,8 +28,8 @@ elif ! command -v bazel &>/dev/null; then
else
(
set -o xtrace
bazel build //pkg/util/versionchecker/testdata:test_manifests.tar
cp -f "$(bazel info bazel-bin)/pkg/util/versionchecker/testdata/test_manifests.tar" "$SCRIPT_ROOT"
bazel build //test/integration/versionchecker/testdata:test_manifests.tar
cp -f "$(bazel info bazel-bin)/test/integration/versionchecker/testdata/test_manifests.tar" "$SCRIPT_ROOT"
)
exit 0
fi