Skip to content

Commit

Permalink
fix(kind): update kind version to fix image arch suffix problem
Browse files Browse the repository at this point in the history
  • Loading branch information
csfldf committed Jul 14, 2024
1 parent 4a33e89 commit 4cf0a1c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/conformance-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v3

- name: Download kind
run: curl --insecure -Lo /usr/local/bin/kind https://kind.sigs.k8s.io/dl/v0.16.0/kind-linux-amd64
run: curl --insecure -Lo /usr/local/bin/kind https://kind.sigs.k8s.io/dl/v0.23.0/kind-linux-amd64

- name: Download sonobuoy
run: |
Expand Down
5 changes: 3 additions & 2 deletions build/build_kind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ if [[ $(docker images -q ${IMAGE}) ]]; then
echo "image ${IMAGE} already found, skipping..."
else
echo
GOPATH=$FAKE_GOPATH kind build node-image --image="${IMAGE}"
GOPATH=$FAKE_GOPATH kind -v=9 build node-image --image="${IMAGE}"
if [[ ! -z ${KIND_PAUSE_IMAGE_TAG} ]]; then
echo "overwriting pause image with ${KIND_PAUSE_IMAGE_TAG}..."
DOCKERFILE=$(mktemp)
Expand All @@ -52,7 +52,8 @@ fi

# Start kind cluster
echo "starting cluster for ${KUBEWHARF_K8S_VERSION}..."
kind create cluster --image="${IMAGE}" --config="${KIND_CONFIG}" --name "${KUBEWHARF_K8S_VERSION}" --retain
kind create cluster --image="${IMAGE}" --config="${KIND_CONFIG}" --name "${KUBEWHARF_K8S_VERSION}" --retain -v=9
echo "finish starting cluster for ${KUBEWHARF_K8S_VERSION}..."
echo

echo "kind cluster ${KUBEWHARF_K8S_VERSION} started"
Expand Down

0 comments on commit 4cf0a1c

Please sign in to comment.