github.com/GoogleCloudPlatform/testgrid@v0.0.174/images/BUILD.bazel (about) 1 # Copyright 2018 The Kubernetes Authors. 2 # 3 # Licensed under the Apache License, Version 2.0 (the "License"); 4 # you may not use this file except in compliance with the License. 5 # You may obtain a copy of the License at 6 # 7 # http://www.apache.org/licenses/LICENSE-2.0 8 # 9 # Unless required by applicable law or agreed to in writing, software 10 # distributed under the License is distributed on an "AS IS" BASIS, 11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 # See the License for the specific language governing permissions and 13 # limitations under the License. 14 15 load("//:def.bzl", "push_image", "tags") 16 17 package(default_visibility = ["//visibility:public"]) 18 19 push_image( 20 name = "push", 21 images = tags({ 22 "{STABLE_TESTGRID_REPO}/updater": "//cmd/updater:image", 23 "{STABLE_TESTGRID_REPO}/summarizer": "//cmd/summarizer:image", 24 "{STABLE_TESTGRID_REPO}/config_merger": "//cmd/config_merger:image", 25 "{STABLE_TESTGRID_REPO}/api": "//cmd/api:image", 26 "{STABLE_TESTGRID_REPO}/tabulator": "//cmd/tabulator:image", 27 }), 28 ) 29 30 filegroup( 31 name = "package-srcs", 32 srcs = glob(["**"]), 33 tags = ["automanaged"], 34 visibility = ["//visibility:private"], 35 ) 36 37 filegroup( 38 name = "all-srcs", 39 srcs = [":package-srcs"], 40 tags = ["automanaged"], 41 visibility = ["//visibility:public"], 42 )