Skip to content

Commit 44c7315

Browse files
committed
Enhance debugability for kubernetes rig
Signed-off-by: apostasie <[email protected]>
1 parent 5f004d2 commit 44c7315

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

hack/build-integration-kubernetes.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,10 @@ main(){
104104

105105
# Hack to get go into kind control plane
106106
exec::nerdctl rm -f go-kind 2>/dev/null || true
107-
exec::nerdctl run -d --name go-kind golang:"$GO_VERSION" sleep Inf
107+
exec::nerdctl pull --quiet golang:"$GO_VERSION"
108+
exec::nerdctl run -d --pull never --name go-kind golang:"$GO_VERSION" sleep Inf
108109
exec::nerdctl cp go-kind:/usr/local/go /tmp/go
110+
exec::nerdctl rm -f go-kind
109111

110112
# Create fresh cluster
111113
log::info "Creating new cluster"

0 commit comments

Comments
 (0)