Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
csfldf committed Jul 13, 2024
1 parent 9f175d6 commit dde2bd4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 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
6 changes: 4 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,9 @@ 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; mkdir -p /tmp/kindlog; kind export logs -n ${KUBEWHARF_K8S_VERSION} /tmp/kindlog; grep "" -rn /tmp/kindlog/
#kind create cluster --image="${IMAGE}" --config="${KIND_CONFIG}" --name "${KUBEWHARF_K8S_VERSION}" --retain -v=9; mkdir -p /tmp/kindlog; rm -rf /tmp/kindlog/*; kind export logs -n ${KUBEWHARF_K8S_VERSION} /tmp/kindlog
echo "finish starting cluster for ${KUBEWHARF_K8S_VERSION}..."
echo

echo "kind cluster ${KUBEWHARF_K8S_VERSION} started"
Expand Down
2 changes: 1 addition & 1 deletion build/helper/setup.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

set -o errexit
#set -o errexit
set -o nounset
set -o pipefail

Expand Down

0 comments on commit dde2bd4

Please sign in to comment.