crosvm/infra/recipes/hello_world.py
Dennis Kempin 793004384d infra: Add recipes and example builder
Following the onboarding instructions. If everything works we should
have a builder at:
https://ci.chromium.org/p/crosvm/builders/ci/Example%20Builder

BUG=chromium:1300370
TEST=None

Change-Id: I98eeaad6ccffd228fdee116e664c9d2760708e24
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3500817
Reviewed-by: Dmitry Torokhov <dtor@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
2022-04-26 19:26:47 +00:00

20 lines
714 B
Python

# Enumerates the recipe modules that this recipe uses.
#
# "recipe_engine" is the "repo_name" for the recipes-py repo, and "step"
# is the name of the "step" recipe module within that repo. The
# "recipe_engine/step" module will be the most frequently-used module in your
# recipes as it allows you to run executables within your build.
DEPS = [
"recipe_engine/step",
]
def RunSteps(api):
# Creates an 'empty' (i.e. no-op) step in the UI with the name "Hello world".
api.step.empty("Hello world")
def GenTests(api):
# Tells the recipe engine to generate an expectation file (JSON simulation
# output) for this recipe when it is run without any input properties.
yield api.test("basic")