go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/lucicfg/testdata/errors/builder_with_invalid_contact_email.star (about)

     1  luci.project(
     2      name = "project",
     3      buildbucket = "cr-buildbucket.appspot.com",
     4      swarming = "chromium-swarm.appspot.com",
     5  )
     6  
     7  luci.bucket(name = "ci")
     8  
     9  luci.builder(
    10      name = "c",
    11      bucket = "ci",
    12      service_account = "noop@example.com",
    13      executable = "recipe",
    14      contact_team_email = "d@gooble",
    15  )
    16  
    17  # Expect errors like:
    18  #
    19  # Traceback (most recent call last):
    20  #   //testdata/errors/builder_with_invalid_contact_email.star: in <toplevel>
    21  #   ...
    22  # Error: bad "contact_team_email": "d@gooble" is not a valid RFC 2822 email