| #!/usr/bin/env lucicfg |
| # Copyright 2019 The Flutter Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| """ |
| Configurations for the cocoon repository. |
| |
| The schedulers pull commits indirectly from GoB repo (https://flutter.googlesource.com/mirrors/cocoon) |
| which is mirrored from https://github.com/flutter/cocoon. |
| """ |
| |
| load("//lib/ci_yaml/ci_yaml.star", "ci_yaml") |
| load("//lib/release_branches/release_branches.star", "release_branches") |
| |
| def _setup(): |
| ci_yaml.generate("cocoon", "main", None, "refs/heads/main", {}, {}, recipes_ref = release_branches.main.recipes_ref) |
| |
| cocoon_config = struct(setup = _setup) |