mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2025-03-16 21:38:23 +00:00
scripts/test-infra: run postsubmit e2e test in kind
This commit is contained in:
parent
0b43631018
commit
23fda76070
1 changed files with 4 additions and 13 deletions
|
@ -1,22 +1,13 @@
|
||||||
#!/bin/bash -e
|
#!/bin/bash -e
|
||||||
|
|
||||||
# Install deps
|
|
||||||
curl -o /usr/local/bin/aws-iam-authenticator -L https://github.com/kubernetes-sigs/aws-iam-authenticator/releases/download/v0.5.7/aws-iam-authenticator_0.5.7_linux_amd64
|
|
||||||
chmod a+x /usr/local/bin/aws-iam-authenticator
|
|
||||||
|
|
||||||
curl -o /usr/local/bin/kubectl -L https://dl.k8s.io/release/v1.24.0/bin/linux/amd64/kubectl
|
|
||||||
chmod a+x /usr/local/bin/kubectl
|
|
||||||
|
|
||||||
|
|
||||||
# Configure environment
|
# Configure environment
|
||||||
|
export KIND_VERSION="v0.23.0"
|
||||||
|
export KIND_NODE_IMAGE="kindest/node:v1.30.2"
|
||||||
|
export CLUSTER_NAME="nfd-e2e"
|
||||||
export KUBECONFIG=`pwd`/kubeconfig
|
export KUBECONFIG=`pwd`/kubeconfig
|
||||||
export E2E_TEST_CONFIG=`pwd`/e2e-test-config
|
export IMAGE_REGISTRY="gcr.io/k8s-staging-nfd"
|
||||||
export E2E_TEST_FULL_IMAGE=true
|
export E2E_TEST_FULL_IMAGE=true
|
||||||
|
|
||||||
echo "$KUBECONFIG_DATA" > "$KUBECONFIG"
|
|
||||||
echo "$E2E_TEST_CONFIG_DATA" > "$E2E_TEST_CONFIG"
|
|
||||||
|
|
||||||
|
|
||||||
# Wait for the image to be built and published
|
# Wait for the image to be built and published
|
||||||
i=1
|
i=1
|
||||||
while true; do
|
while true; do
|
||||||
|
|
Loading…
Add table
Reference in a new issue