Last active
November 19, 2023 10:45
-
-
Save dims/eace914fc47209a9f9f8a2cafed586c9 to your computer and use it in GitHub Desktop.
Running the AWS sig-node tests and conformance tests in provider-aws-test-infra repo
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
# Run from $HOME/go/src/sigs.k8s.io/provider-aws-test-infra | |
FOCUS="should get a host IP" \ | |
USER=ec2-user \ | |
CLEANUP=false \ | |
DELETE_INSTANCES=false \ | |
IMAGE_CONFIG_DIR=config \ | |
IMAGE_CONFIG_FILE=aws-instance-eks.yaml \ | |
TARGET_BUILD_ARCH="linux/amd64" \ | |
USE_DOCKERIZED_BUILD=true \ | |
hack/make-rules/test-e2e-node.sh '--kubelet-flags="--cgroup-driver=systemd"' | |
# Run from $HOME/go/src/k8s.io/kubernetes | |
kubetest2 ec2 \ | |
--build \ | |
--target-build-arch linux/amd64 \ | |
--stage provider-aws-test-infra-dims \ | |
--up \ | |
--test=ginkgo \ | |
-- \ | |
--use-built-binaries true \ | |
--focus-regex='should get a host IP' | |
# Run AL2 image | |
go install . && kubetest2 ec2 \ | |
--build \ | |
--target-build-arch linux/amd64 \ | |
--stage provider-aws-test-infra-dims \ | |
--worker-image ami-0e0b0f2cb811d16b0 \ | |
--num-nodes 1 \ | |
--worker-user-data-file config/al2.yaml \ | |
--up \ | |
--test=ginkgo \ | |
-- \ | |
--use-built-binaries true \ | |
--focus-regex='should get a host IP' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment