-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: use rules_bazel_integration_test to join a standard
- Loading branch information
1 parent
e5d1fa5
commit 4fed056
Showing
19 changed files
with
253 additions
and
718 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
# ignore the examples which are used to document suggested usage, validate this project, and -- in future -- repro issues | ||
examples | ||
#examples/** | ||
#examples/*/*/external | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Needed for rules_bazel_integration_test is `bazel test //examples:all_integration_tests | ||
# | ||
# To update these lines, execute | ||
# `bazel run @rules_bazel_integration_test//tools:update_deleted_packages` | ||
build --deleted_packages=examples/cross-helloworld,examples/cross-helloworld-no-go,examples/cross-helloworld-no-go/bzl/patches,examples/cross-helloworld/bzl/patches,examples/example-docker-project,examples/example-docker-project/maintainers,examples/example-docker-project/spk/nginx,examples/example-docker-project/tests,examples/example-kernelmod-spk,examples/example-kernelmod-spk/maintainers,examples/example-kernelmod-spk/spk/netfilter-mods,examples/example-kernelmod-spk/tests,examples/example-server,examples/example-server/api,examples/example-server/maintainers,examples/example-server/server,examples/example-server/spk/exampleserver,examples/example-server/tests,patches | ||
query --deleted_packages=examples/cross-helloworld,examples/cross-helloworld-no-go,examples/cross-helloworld-no-go/bzl/patches,examples/cross-helloworld/bzl/patches,examples/example-docker-project,examples/example-docker-project/maintainers,examples/example-docker-project/spk/nginx,examples/example-docker-project/tests,examples/example-kernelmod-spk,examples/example-kernelmod-spk/maintainers,examples/example-kernelmod-spk/spk/netfilter-mods,examples/example-kernelmod-spk/tests,examples/example-server,examples/example-server/api,examples/example-server/maintainers,examples/example-server/server,examples/example-server/spk/exampleserver,examples/example-server/tests,patches |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
7.4.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
bazel-* | ||
MODULE.bazel.lock | ||
|
||
# Needed for ibazel | ||
WORKSPACE | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# The only build target here is used only in integration-testing | ||
|
||
# TL;DR: needed for `bazel test //examples:all_integration_tests` | ||
# | ||
# For Integration Tests -- rules_bazel_integration_test -- every child workspace (ie every example | ||
# that exercises the rules) needs to refer to all the files of the ruleset. For this reason, we | ||
# have this rule collecting all the files in this "package" for collection at Workspace in | ||
# //:local_repository_files to be passed to the workspace of the child workspace (test example) in | ||
# //examples:BUILD.bazel, | ||
# | ||
# ``` | ||
# bazel_integration_test( workspace_files = ... "//:local_repository_files", ], ... ) | ||
# ```` | ||
filegroup( | ||
name = "all_files", | ||
srcs = glob(["*"]), # TODO: *.bzl BUILD.bazel | ||
visibility = ["//:__subpackages__"], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.