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

- 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 #17040

RELNOTES: None
PiperOrigin-RevId: 498989149
Change-Id: I1eec3efa17382ddd0a608c0984e2f6c9f29c5c7c
  • Loading branch information
meteorcloudy authored and hvadehra committed Feb 14, 2023
1 parent 1825c80 commit ec0452c
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 541 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 ec0452c

Please sign in to comment.