| luci.project( |
| name = "project", |
| buildbucket = "cr-buildbucket.appspot.com", |
| swarming = "chromium-swarm.appspot.com", |
| ) |
| |
| luci.bucket(name = "ci") |
| |
| luci.builder( |
| name = "b", |
| bucket = "ci", |
| executable = luci.recipe( |
| name = "main/recipe", |
| cipd_package = "recipe/bundles/main", |
| ), |
| experiments = { |
| "luci.enable_next_gen_feature": 150, |
| }, |
| ) |
| |
| # Expect errors like: |
| # |
| # Traceback (most recent call last): |
| # //testdata/errors/invalid_experiments_int.star: in <toplevel> |
| # ... |
| # Error: bad "experiments": 150 should be between 0-100 |