File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -17,17 +17,17 @@ set -o errexit
17
17
set -o nounset
18
18
set -o pipefail
19
19
20
- TESTINFRA_ROOT=$( git rev-parse --show-toplevel)
20
+ REPO_ROOT=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) /.." && pwd -P) "
21
+ cd " ${REPO_ROOT} "
21
22
22
23
for output in gs://k8s-testgrid-canary/configs/k8s/config gs://k8s-testgrid/configs/k8s/config; do
23
- dir=" $( dirname " ${BASH_SOURCE} " ) "
24
24
(
25
25
set -o xtrace
26
- bazel run // testgrid/cmd/configurator -- \
27
- --yaml=" ${TESTINFRA_ROOT } /config/testgrids" \
28
- --default=" ${TESTINFRA_ROOT } /config/testgrids/default.yaml" \
29
- --prow-config=" ${TESTINFRA_ROOT } /config/prow/config.yaml" \
30
- --prow-job-config=" ${TESTINFRA_ROOT } /config/jobs/" \
26
+ go run ./ testgrid/cmd/configurator \
27
+ --yaml=" ${REPO_ROOT } /config/testgrids" \
28
+ --default=" ${REPO_ROOT } /config/testgrids/default.yaml" \
29
+ --prow-config=" ${REPO_ROOT } /config/prow/config.yaml" \
30
+ --prow-job-config=" ${REPO_ROOT } /config/jobs/" \
31
31
--output=" ${output} " \
32
32
--prowjob-url-prefix=" https://git.k8s.io/test-infra/config/jobs/" \
33
33
--update-description \
You can’t perform that action at this time.
0 commit comments