-
Notifications
You must be signed in to change notification settings - Fork 271
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Setup ginkgo cli build properly to avoid double dep (#3378)
* Setup ginkgo cli build properly to avoid double dep Today we have the ginkgo CLI brought into the builder and also to the project itself. This results in ``` Ginkgo detected a version mismatch between the Ginkgo CLI and the version of Ginkgo imported by your packages: Ginkgo CLI Version: 2.12.0 Mismatched package versions found: 2.17.1 used by tests ``` This commit provides the necessary build adaptations to get rid of the builder ginkgo CLI dependency. Signed-off-by: Alex Kalenyuk <[email protected]> * update builder to latest #3379 Signed-off-by: Alex Kalenyuk <[email protected]> --------- Signed-off-by: Alex Kalenyuk <[email protected]>
- Loading branch information
Showing
6 changed files
with
32 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -ex | ||
|
||
source hack/build/common.sh | ||
source hack/build/config.sh | ||
|
||
rm -rf "${TESTS_OUT_DIR}/ginkgo" | ||
|
||
bazel build \ | ||
--verbose_failures \ | ||
--config=${ARCHITECTURE} \ | ||
//vendor/github.com/onsi/ginkgo/v2/ginkgo:ginkgo | ||
|
||
bazel run \ | ||
--verbose_failures \ | ||
--config=${ARCHITECTURE} \ | ||
:build-ginkgo -- ${TESTS_OUT_DIR}/ginkgo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters