-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Define example manifest files and add --watch
flag
#1105
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name = "abitest" | ||
|
||
[modules] | ||
module_0 = { Cargo = { cargo_manifest = "examples/abitest/module_0/rust/Cargo.toml" } } | ||
module_1 = { Cargo = { cargo_manifest = "examples/abitest/module_1/rust/Cargo.toml" } } | ||
|
||
[clients] | ||
cpp = { Bazel = { bazel_target = "//examples/abitest/client:client" }, additional_args = [ | ||
"--test_exclude=(Storage|GrpcServerServerStreamingMethod)", | ||
"--cert_chain=../../../../../../../../examples/certs/local/local.pem", | ||
"--private_key=../../../../../../../../examples/certs/local/local.key", | ||
Comment on lines
+10
to
+11
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I know it's a minor thing, but the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah, that's orthogonal to this change, please ignore for now :) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Feel free to ignore this since it's not actionable, but purely to satisfy my curiosity,: This basically navigates us out of the bazel runner directory and back into the working directory to load the certs, right? Had we considered instead copying the certs in into the bazel runner dir with a build rule? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, bazel artifacts are nested deep inside the guts of bazel cache. I don't think it's possible to just copy additional stuff in the cache folder, but I haven't looked into it closely. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I've seen some examples do it, but yeah don't know what's best practice. Relying on the cache path seems a bit like using internals, not APIs, but thankfully I'm told we're moving away from bazel anyway. :) |
||
] } |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
name = "aggregator" | ||
|
||
[modules] | ||
module = { Cargo = { cargo_manifest = "examples/aggregator/module/rust/Cargo.toml" } } | ||
|
||
[clients] | ||
cpp = { Bazel = { bazel_target = "//examples/aggregator/client:client" }, additional_args = [ | ||
"--bucket=test", | ||
"--data=1:10,2:20,3:30" | ||
] } |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
name = "chat" | ||
|
||
[modules] | ||
module = { Cargo = { cargo_manifest = "examples/chat/module/rust/Cargo.toml" } } | ||
|
||
[clients] | ||
cpp = { Bazel = { bazel_target = "//examples/chat/client:client" }, additional_args = [ | ||
"--test" | ||
] } |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
name = "hello_world" | ||
|
||
[modules] | ||
module = { Cargo = { cargo_manifest = "examples/hello_world/module/rust/Cargo.toml" } } | ||
translator = { Cargo = { cargo_manifest = "examples/translator/module/rust/Cargo.toml" } } | ||
|
||
[clients] | ||
cpp = { Bazel = { bazel_target = "//examples/hello_world/client:client" } } |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name = "machine_learning" | ||
|
||
[modules] | ||
module = { Cargo = { cargo_manifest = "examples/machine_learning/module/rust/Cargo.toml" } } | ||
|
||
[clients] | ||
cpp = { Bazel = { bazel_target = "//examples/machine_learning/client:client" } } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI @conradgrobler I added this to the list of allowed licenses, as per go/thirdpartylicenses#unencumbered .