Skip to content

Commit c07cb1b

Browse files
authored
Fix module path for bcr testing (#3069)
This should hopefully address ``` ERROR: The test module directory does not exist in the source archive: /Users/buildkite/builds/bk-macos-arm64-bcva/bazel-org-repo-root/output/extensions/bindgen Traceback (most recent call last): File "/Users/buildkite/builds/bk-macos-arm64-bcva/bazel/bcr-presubmit/bcr_presubmit.py", line 537, in <module> sys.exit(main()) ^^^^^^ File "/Users/buildkite/builds/bk-macos-arm64-bcva/bazel/bcr-presubmit/bcr_presubmit.py", line 528, in main repo_location, config_file = prepare_test_module_repo(args.module_name, args.module_version, args.overwrite_bazel_version) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/buildkite/builds/bk-macos-arm64-bcva/bazel/bcr-presubmit/bcr_presubmit.py", line 269, in prepare_test_module_repo error("The test module directory does not exist in the source archive: %s" % test_module_root) File "/Users/buildkite/builds/bk-macos-arm64-bcva/bazel/bcr-presubmit/bcr_presubmit.py", line 58, in error raise BcrPipelineException("BCR Presubmit failed!") BcrPipelineException: BCR Presubmit failed! 🚨 Error: The command exited with status 1 ```
1 parent cdccb48 commit c07cb1b

File tree

12 files changed

+17
-17
lines changed

12 files changed

+17
-17
lines changed

.bcr/extensions/bindgen/presubmit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
bcr_test_module:
2-
module_path: "extensions/bindgen"
2+
module_path: ""
33
matrix:
44
platform: ["macos_arm64", "ubuntu2004", "windows"]
55
bazel: ["7.x"]

.bcr/extensions/prost/presubmit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
bcr_test_module:
2-
module_path: "extensions/prost"
2+
module_path: ""
33
matrix:
44
platform: ["macos_arm64", "ubuntu2004", "windows"]
55
bazel: ["7.x"]

.bcr/extensions/protobuf/presubmit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
bcr_test_module:
2-
module_path: "extensions/protobuf"
2+
module_path: ""
33
matrix:
44
platform: ["macos_arm64", "ubuntu2004", "windows"]
55
bazel: ["7.x"]

.bcr/extensions/wasm_bindgen/presubmit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
bcr_test_module:
2-
module_path: "extensions/wasm_bindgen"
2+
module_path: ""
33
matrix:
44
platform: ["macos_arm64", "ubuntu2004", "windows"]
55
bazel: ["7.x"]

.bcr/presubmit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ bcr_test_module:
22
module_path: ""
33
matrix:
44
platform: ["macos_arm64", "ubuntu2004"]
5-
bazel: ["6.x", "7.x"]
5+
bazel: ["7.x"]
66
tasks:
77
run_tests:
88
working_directory: examples/bzlmod/hello_world
@@ -21,7 +21,7 @@ bcr_test_module:
2121
bcr_test_module_windows:
2222
module_path: ""
2323
matrix:
24-
bazel: ["6.x", "7.x"]
24+
bazel: ["7.x"]
2525
tasks:
2626
run_tests:
2727
working_directory: examples/bzlmod/hello_world

.github/release_notes.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ bazel_dep(name = "rules_rust_wasm_bindgen", version = "{version}")
105105
```python
106106
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
107107
http_archive(
108-
name = "rules_rust",
108+
name = "rules_rust_wasm_bindgen",
109109
integrity = "sha256-{ext_wasm_bindgen_sha256_base64}",
110110
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/{version}/rules_rust_wasm_bindgen-{version}.tar.gz"],
111111
)

MODULE.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
module(
44
name = "rules_rust",
5-
version = "0.55.2",
5+
version = "0.55.3",
66
)
77

88
###############################################################################

extensions/bindgen/MODULE.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
module(
44
name = "rules_rust_bindgen",
5-
version = "0.55.2",
5+
version = "0.55.3",
66
)
77

88
bazel_dep(
99
name = "rules_rust",
10-
version = "0.55.2",
10+
version = "0.55.3",
1111
)
1212
local_path_override(
1313
module_name = "rules_rust",

extensions/prost/MODULE.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
module(
44
name = "rules_rust_prost",
5-
version = "0.55.2",
5+
version = "0.55.3",
66
)
77

88
bazel_dep(
99
name = "rules_rust",
10-
version = "0.55.2",
10+
version = "0.55.3",
1111
)
1212
local_path_override(
1313
module_name = "rules_rust",

extensions/protobuf/MODULE.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
module(
44
name = "rules_rust_protobuf",
5-
version = "0.55.2",
5+
version = "0.55.3",
66
)
77

88
bazel_dep(
99
name = "rules_rust",
10-
version = "0.55.2",
10+
version = "0.55.3",
1111
)
1212
local_path_override(
1313
module_name = "rules_rust",

0 commit comments

Comments
 (0)