-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit removes the test/test-framework sample project used for
internal testing, and updates or removes any referent legacy tests. test/test-framework: remove *: remove references to the test-framework project or remove legacy tests using it
- Loading branch information
Showing
58 changed files
with
161 additions
and
2,950 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
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 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,31 +1,27 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -eux | ||
set -eu | ||
|
||
# This image tag corresponds to a Kubernetes version that kind installs using | ||
# images at: | ||
source hack/lib/common.sh | ||
|
||
# This image tag corresponds to a Kubernetes version that kind installs using node images: | ||
# https://hub.docker.com/r/kindest/node/tags | ||
K8S_VERSION=$1 | ||
KIND_VERSION="v0.8.1" | ||
KIND_IMAGE="docker.io/kindest/node:${K8S_VERSION}" | ||
|
||
# Download the latest version of kind, which supports all versions of | ||
# Kubernetes v1.11+. | ||
curl -Lo kind https://github.com/kubernetes-sigs/kind/releases/download/${KIND_VERSION}/kind-$(uname)-amd64 | ||
chmod +x kind | ||
sudo mv kind /usr/local/bin/ | ||
# Download the latest version of kind and kubectl, which are needed for project unit and e2e tests. | ||
prepare_staging_dir $tmp_sdk_root | ||
install_kind $tmp_sdk_root | ||
install_kubectl $tmp_sdk_root | ||
fetch_tools $tmp_sdk_root | ||
setup_envs $tmp_sdk_root | ||
|
||
# Create a cluster of version $K8S_VERSION. | ||
kind create cluster --image="$KIND_IMAGE" | ||
|
||
# Run this command externally after installation: | ||
kind export kubeconfig | ||
|
||
# kubectl is needed for the single namespace local test and the ansible tests. | ||
curl -Lo kubectl https://storage.googleapis.com/kubernetes-release/release/${K8S_VERSION}/bin/linux/amd64/kubectl | ||
chmod +x kubectl | ||
sudo mv kubectl /usr/local/bin/ | ||
|
||
# Use the "default" namespace, and ensure kind is running. | ||
kubectl config set-context --current --namespace=default | ||
kubectl cluster-info |
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
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.