Skip to content

Commit 84725ee

Browse files
committed
update Go version to v1.17 in kubeflow-katib-presubmit
To avoid the `../../../../pkg/mod/k8s.io/[email protected]/plugin/pkg/client/auth/exec/metrics.go:21:2: package io/fs is not in GOROOT (/usr/local/go/src/io/fs)` error, we need to update Go version, but as described in kubeflow/trainer#1581, we do not have permission to update `public.ecr.aws/j1r0q0g6/kubeflow-testing:latest` so we need to update it in this.
1 parent 6d9bf2e commit 84725ee

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/e2e/v1beta1/scripts/setup-katib.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,12 @@ if [ $? -ne 1 ]; then
7676
exit 1
7777
fi
7878

79+
# TODO (tenzen-y): Once the changes on https://github.com/kubeflow/testing/pull/974 are reflected in the `public.ecr.aws` registry, we must remove this process.
80+
# To avoid the `../../../../pkg/mod/k8s.io/[email protected]/plugin/pkg/client/auth/exec/metrics.go:21:2: package io/fs is not in GOROOT (/usr/local/go/src/io/fs)` error,
81+
# we need to update Go version, but as described in https://github.com/kubeflow/training-operator/issues/1581,
82+
# we do not have permission to update `public.ecr.aws/j1r0q0g6/kubeflow-testing:latest` so we need to update it in this.
83+
wget -O /tmp/go.tar.gz https://dl.google.com/go/go1.17.10.linux-amd64.tar.gz && tar -C /usr/local -xzf /tmp/go.tar.gz
84+
7985
# Build the binary for e2e test
8086
echo "Building run-e2e-experiment for e2e test cases"
8187
go build -o run-e2e-experiment test/e2e/v1beta1/run-e2e-experiment.go

0 commit comments

Comments
 (0)