blob: edef0aaf089e65438cbc75860600c5428418391a [file] [edit]
#!/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://chromium.googlesource.com/external/github.com/flutter/cocoon)
which is mirrored from https://github.com/flutter/cocoon.
"""
load("//lib/ci_yaml/ci_yaml.star", "ci_yaml")
def _setup():
platform_args = {
"linux": {
"caches": [swarming.cache(name = "dart_pub_cache", path = ".pub-cache")],
"os": "Linux",
},
"windows": {"os": "Windows"},
"mac": {"os": "Mac-10.15"},
}
ci_yaml.recipes("cocoon")
ci_yaml.builders("cocoon", platform_args)
cocoon_config = struct(setup = _setup)