Skip to content

Commit

Permalink
turn off doc building in CI (#797)
Browse files Browse the repository at this point in the history
stardoc is borked if you have builds that are both WORKSPACE and bzlmod
And at bazel 7.0.0 if we have a local_repository in MODULE.bazel that
seems to break the build with a wonky errorr.
I reverted to WORKSPACE.bzlmod in examples/naming to correct for that.
  • Loading branch information
cgrindel authored Dec 21, 2023
2 parents a0d0deb + bc0f33d commit eaa1b45
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .bazelci/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ tasks:
build_targets:
- "//distro:distro"
- "//distro:relnotes"
- "//doc_build:*"
# - "//doc_build:*" Temporary disable
lts_windows:
name: lts_windows
<<: *windows
Expand Down
9 changes: 5 additions & 4 deletions examples/naming_package_files/MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ module(
version = "0.0.1",
)

local_path_override(
module_name = "rules_pkg",
path = "../..",
)
# Temporarilly using WORKSPACE.bzlmod until CI switches to bazel past 7.0.0
#local_path_override(
# module_name = "rules_pkg",
# path = "../..",
#)

bazel_dep(name = "rules_cc", version = "0.0.2")
8 changes: 8 additions & 0 deletions examples/naming_package_files/WORKSPACE.bzlmod
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
local_repository(
name = "rules_pkg",
path = "../..",
)

load("@rules_pkg//pkg:deps.bzl", "rules_pkg_dependencies")

rules_pkg_dependencies()

0 comments on commit eaa1b45

Please sign in to comment.