Use prow config when uploading testgrid config.
@@ -18,9 +18,13 @@ set -o nounset
set -o pipefail
set -o xtrace
+TESTINFRA_ROOT=$(git rev-parse --show-toplevel)
+
for output in gs://k8s-testgrid-canary/config gs://k8s-testgrid/config; do
bazel run //testgrid/cmd/configurator -- \
--yaml="$(realpath "$(dirname "${BASH_SOURCE}")"/config.yaml)" \
+ --prow-config="${TESTINFRA_ROOT}/prow/config.yaml" \
+ --prow-job-config="${TESTINFRA_ROOT}/config/jobs/" \
--output="${output}" \
--oneshot \
--world-readable
