Add an optional path prefix for GCS uploads
In order to support one GCS bucket holding multiple trees of GCS data,
we need to allow for an optional path prefix to sit between the bucket
name and any GCS path structure.
@@ -4,7 +4,10 @@ go_library(
name = "go_default_library",
srcs = ["gcs.go"],
importpath = "k8s.io/test-infra/testgrid/util/gcs",
- visibility = ["//testgrid:__subpackages__"],
+ visibility = [
+ "//prow/gcsupload:__subpackages__",
+ "//testgrid:__subpackages__",
+ ],
deps = [
"//vendor/cloud.google.com/go/storage:go_default_library",
"//vendor/google.golang.org/api/option:go_default_library",
