Skip to content

Commit

Permalink
Enable git_submodules tests and merge git_repository and starlark_git…
Browse files Browse the repository at this point in the history
…_repository (bazelbuild#17247)

- Added necessary flags to allow clone submodule from local repository.
- We only have the starlark version of git repository rule and most test cases in two integration tests are duplicated.

Fixes bazelbuild#17040

RELNOTES: None
PiperOrigin-RevId: 498989149
Change-Id: I1eec3efa17382ddd0a608c0984e2f6c9f29c5c7c

Co-authored-by: Googler <[email protected]>
  • Loading branch information
ShreeM01 and meteorcloudy authored Jan 19, 2023
1 parent 06deebf commit c2bfb2e
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 529 deletions.
11 changes: 0 additions & 11 deletions src/test/shell/bazel/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -716,17 +716,6 @@ sh_test(
tags = ["no_windows"],
)

sh_test(
name = "git_repository_test",
size = "large",
srcs = ["git_repository_test.sh"],
data = [
":test-deps",
"//src/test/shell/bazel/testdata:git-repos",
"@bazel_tools//tools/bash/runfiles",
],
)

sh_test(
name = "starlark_git_repository_test",
size = "large",
Expand Down
Loading

0 comments on commit c2bfb2e

Please sign in to comment.