Skip to content

Commit c77ab04

Browse files
authored
Fix BCR presubmit pipeline (#3082)
Hopefully this resolves the following: https://buildkite.com/bazel/bcr-presubmit/builds/9302#0193b38a-65b5-4be1-91b6-138d4ab9cc90 ``` ERROR: The test module directory does not exist in the source archive: /Users/buildkite/builds/bk-macos-arm64-0n05/bazel-org-repo-root/output/extensions/bindgen/extensions/bindgen Traceback (most recent call last): File "/Users/buildkite/builds/bk-macos-arm64-0n05/bazel/bcr-presubmit/bcr_presubmit.py", line 537, in <module> sys.exit(main()) ^^^^^^ File "/Users/buildkite/builds/bk-macos-arm64-0n05/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-0n05/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-0n05/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 ^^^ +++ ``` My assumption is that `module_path` is an extension of where the presubmit yaml exists relative to the root one. So this should finally enable CI to run in th eright place with the correct dependency.
1 parent 473caac commit c77ab04

File tree

10 files changed

+14
-14
lines changed

10 files changed

+14
-14
lines changed

.bcr/extensions/bindgen/presubmit.yml

+1-1
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

+1-1
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

+1-1
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

+1-1
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"]

MODULE.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

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

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

extensions/bindgen/MODULE.bazel

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

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

88
bazel_dep(
99
name = "rules_rust",
10-
version = "0.55.4",
10+
version = "0.55.5",
1111
)
1212
bazel_dep(
1313
name = "bazel_skylib",

extensions/prost/MODULE.bazel

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

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

88
bazel_dep(
99
name = "rules_rust",
10-
version = "0.55.4",
10+
version = "0.55.5",
1111
)
1212
bazel_dep(
1313
name = "platforms",

extensions/protobuf/MODULE.bazel

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

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

88
bazel_dep(
99
name = "rules_rust",
10-
version = "0.55.4",
10+
version = "0.55.5",
1111
)
1212
bazel_dep(
1313
name = "bazel_skylib",

extensions/wasm_bindgen/MODULE.bazel

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
module(
44
name = "rules_rust_wasm_bindgen",
5-
version = "0.55.4",
5+
version = "0.55.5",
66
)
77

88
bazel_dep(
99
name = "rules_rust",
10-
version = "0.55.4",
10+
version = "0.55.5",
1111
)
1212
bazel_dep(
1313
name = "bazel_skylib",

version.bzl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
"""The version of rules_rust."""
22

3-
VERSION = "0.55.4"
3+
VERSION = "0.55.5"

0 commit comments

Comments
 (0)