diff --git a/.bazelci/presubmit.yml b/.bazelci/presubmit.yml index c45fc78990..8c0252c3c8 100644 --- a/.bazelci/presubmit.yml +++ b/.bazelci/presubmit.yml @@ -48,6 +48,7 @@ buildifier: - "--noenable_bzlmod" - "--test_tag_filters=-integration-test" .common_workspace_flags: &common_workspace_flags + skip_in_bazel_downstream_pipeline: "Bazel 9 doesn't support workspace" test_flags: - "--noenable_bzlmod" - "--enable_workspace" diff --git a/examples/pip_repository_annotations/.bazelrc b/examples/pip_repository_annotations/.bazelrc index 4f62c6e76f..d893227946 100644 --- a/examples/pip_repository_annotations/.bazelrc +++ b/examples/pip_repository_annotations/.bazelrc @@ -3,5 +3,5 @@ try-import %workspace%/user.bazelrc # This example is WORKSPACE specific. The equivalent functionality # is in examples/bzlmod as the `whl_mods` feature. -build --experimental_enable_bzlmod=false +build --experimental_enable_bzlmod=false --enable_workspace=true common:bazel7.x --incompatible_python_disallow_native_rules diff --git a/examples/py_proto_library/.bazelrc b/examples/py_proto_library/.bazelrc index 65d8a0a2f6..d73fc5387a 100644 --- a/examples/py_proto_library/.bazelrc +++ b/examples/py_proto_library/.bazelrc @@ -1,3 +1,3 @@ # The equivalent bzlmod behavior is covered by examples/bzlmod/py_proto_library -common --noenable_bzlmod +common --noenable_bzlmod --enable_workspace=true common:bazel7.x --incompatible_python_disallow_native_rules