#!/usr/bin/env bash | |
# Copyright 2021 The Fuchsia Authors. All rights reserved. | |
# Use of this source code is governed by a BSD-style license that can be | |
# found in the LICENSE file. | |
declare -A repos_and_builders=( | |
["cobalt"]="tricium-cobalt" | |
["fuchsia"]="tricium" | |
["infra/recipes"]="tricium-recipes" | |
["tools"]="tricium-infra" | |
["topaz"]="tricium" | |
) | |
for repo in "${!repos_and_builders[@]}"; do | |
builder="${repos_and_builders[$repo]}" | |
lucicfg generate -var repo="$repo" -var builder="$builder" main.star | |
done |