-
Notifications
You must be signed in to change notification settings - Fork 259
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2222 from Nordix/lentzi90/e2e-kind-release-0.9
🌱 Switch e2e to kind
- Loading branch information
Showing
39 changed files
with
198 additions
and
457 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,6 +28,7 @@ go.work.sum | |
*~ | ||
*.tmp | ||
.DS_Store | ||
.zed* | ||
|
||
# Tilt files. | ||
.tiltbuild | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
DEPLOY_KERNEL_URL=http://192.168.222.199:6180/images/ironic-python-agent.kernel | ||
DEPLOY_RAMDISK_URL=http://192.168.222.199:6180/images/ironic-python-agent.initramfs | ||
IRONIC_ENDPOINT=https://192.168.222.199:6385/v1/ | ||
DEPLOY_KERNEL_URL=http://192.168.222.1:6180/images/ironic-python-agent.kernel | ||
DEPLOY_RAMDISK_URL=http://192.168.222.1:6180/images/ironic-python-agent.initramfs | ||
IRONIC_ENDPOINT=https://192.168.222.1:6385/v1/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
DEPLOY_KERNEL_URL=http://192.168.222.199:6180/images/ironic-python-agent.kernel | ||
DEPLOY_RAMDISK_URL=http://192.168.222.199:6180/images/ironic-python-agent.initramfs | ||
IRONIC_ENDPOINT=https://192.168.222.199:6385/v1/ | ||
DEPLOY_KERNEL_URL=http://192.168.222.1:6180/images/ironic-python-agent.kernel | ||
DEPLOY_RAMDISK_URL=http://192.168.222.1:6180/images/ironic-python-agent.initramfs | ||
IRONIC_ENDPOINT=https://192.168.222.1:6385/v1/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
DEPLOY_KERNEL_URL=http://192.168.222.199:6180/images/ironic-python-agent.kernel | ||
DEPLOY_RAMDISK_URL=http://192.168.222.199:6180/images/ironic-python-agent.initramfs | ||
IRONIC_ENDPOINT=https://192.168.222.199:6385/v1/ | ||
DEPLOY_KERNEL_URL=http://192.168.222.1:6180/images/ironic-python-agent.kernel | ||
DEPLOY_RAMDISK_URL=http://192.168.222.1:6180/images/ironic-python-agent.initramfs | ||
IRONIC_ENDPOINT=https://192.168.222.1:6385/v1/ |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -eux | ||
|
||
USR_LOCAL_BIN="/usr/local/bin" | ||
MINIMUM_KIND_VERSION=v0.26.0 | ||
|
||
# Ensure the kind tool exists and is a viable version, or installs it | ||
verify_kind_version() | ||
{ | ||
# If kind is not available on the path, get it | ||
if ! [ -x "$(command -v kind)" ]; then | ||
if [[ "${OSTYPE}" == "linux-gnu" ]]; then | ||
echo "kind not found, installing" | ||
curl -LO "https://kind.sigs.k8s.io/dl/${MINIMUM_KIND_VERSION}/kind-linux-amd64" | ||
sudo install kind-linux-amd64 "${USR_LOCAL_BIN}/kind" | ||
else | ||
echo "Missing required binary in path: kind" | ||
return 2 | ||
fi | ||
fi | ||
|
||
local kind_version | ||
IFS=" " read -ra kind_version <<< "$(kind version)" | ||
if [[ "${MINIMUM_KIND_VERSION}" != $(echo -e "${MINIMUM_KIND_VERSION}\n${kind_version[1]}" | sort -s -t. -k 1,1 -k 2,2n -k 3,3n | head -n1) ]]; then | ||
cat << EOF | ||
Detected kind version: ${kind_version[2]}. | ||
Requires ${MINIMUM_KIND_VERSION} or greater. | ||
Please install ${MINIMUM_KIND_VERSION} or later. | ||
EOF | ||
return 2 | ||
fi | ||
} | ||
|
||
verify_kind_version |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.