go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/lucicfg/examples/01-minimal/main.star (about) 1 #!/usr/bin/env lucicfg 2 3 """Minimal example. 4 5 This example shows a bare minimum needed to declare a builder. This builder is 6 not really functional, since it still misses many important parts (e.g. a list 7 of Swarming dimensions). 8 """ 9 10 luci.project( 11 name = "hello-world", 12 buildbucket = "cr-buildbucket.appspot.com", 13 swarming = "chromium-swarm.appspot.com", 14 ) 15 16 luci.bucket(name = "my-bucket") 17 18 luci.builder( 19 name = "my-builder", 20 bucket = "my-bucket", 21 executable = luci.recipe( 22 name = "my-recipe", 23 cipd_package = "recipe/bundle/package", 24 ), 25 )