Skip to content

Commit

Permalink
Fix stardoc first run
Browse files Browse the repository at this point in the history
Seems like avoiding the sandbox fixes this.
  • Loading branch information
keith committed Oct 29, 2021
1 parent 10b0699 commit d2b8ce9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# NOTE: These are mainly just for the BazelCI setup so they don't have
# to be repeated multiple times in .bazelci/presubmit.yml.

# https://github.com/bazelbuild/stardoc/issues/112
common --incompatible_allow_tags_propagation

# Force the tests to not run in sandboxed mode, since it can introduce
# errors and flakes.
test --spawn_strategy=local
Expand Down
1 change: 1 addition & 0 deletions doc/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ _DOC_SRCS = [
out = file + ".md",
header_template = ":header.vm",
input = "//apple:%s.bzl" % file,
tags = ["no-sandbox"], # https://github.com/bazelbuild/stardoc/issues/112
deps = ["//apple:" + file],
)
for file in _DOC_SRCS
Expand Down

0 comments on commit d2b8ce9

Please sign in to comment.