databuild/examples/basic_job
Stuart Axelbrooke 196622fe17
Some checks are pending
/ setup (push) Waiting to run
Match proto definitions
2025-06-29 20:47:07 -07:00
..
test Match proto definitions 2025-06-29 20:47:07 -07:00
.bazelrc Update docs and protos 2025-05-04 19:06:01 -07:00
BUILD.bazel Fix tests 2025-06-29 20:24:44 -07:00
MODULE.bazel Update docs and protos 2025-05-04 19:06:01 -07:00
MODULE.bazel.lock commit 2025-06-29 19:28:46 -07:00
README.md Update docs and protos 2025-05-04 19:06:01 -07:00
unified_job.sh Match proto definitions 2025-06-29 20:47:07 -07:00

Hello World

Demonstrates a simple parameterized job.

Configure

$ bazel run //:test_job.cfg test_output
{"outputs":["test_output"],"inputs":[],"args":["will", "build", "test_output"],"env":{"foo":"bar"}}

Execute

Doesn't actually write an output.

$ bazel run //:test_job.cfg test_output | bazel run //:test_job
EXECUTE!
foo=bar
args=will build test_output