Skip to content

v1.4.2

Compare
Choose a tag to compare
@gyuho gyuho released this 09 Jul 21:11

Please check out CHANGELOG for a full list of changes.

Signing key can be found at pgp.mit.edu/pks/[email protected]&op=index.

Install


AWS_K8S_TESTER_VERSION=v1.4.2


DOWNLOAD_URL=https://github.com/aws/aws-k8s-tester/releases/download
rm -rf /tmp/aws-k8s-tester
rm -rf /tmp/ec2-utils
rm -rf /tmp/eks-utils
rm -rf /tmp/etcd-utils
rm -rf /tmp/cw-utils

if [[ "${OSTYPE}" == "linux"* ]]; then
  curl -L ${DOWNLOAD_URL}/${AWS_K8S_TESTER_VERSION}/aws-k8s-tester-${AWS_K8S_TESTER_VERSION}-linux-$(go env GOARCH) -o /tmp/aws-k8s-tester
  curl -L ${DOWNLOAD_URL}/${AWS_K8S_TESTER_VERSION}/ec2-utils-${AWS_K8S_TESTER_VERSION}-linux-$(go env GOARCH) -o /tmp/ec2-utils
  curl -L ${DOWNLOAD_URL}/${AWS_K8S_TESTER_VERSION}/eks-utils-${AWS_K8S_TESTER_VERSION}-linux-$(go env GOARCH) -o /tmp/eks-utils
  curl -L ${DOWNLOAD_URL}/${AWS_K8S_TESTER_VERSION}/etcd-utils-${AWS_K8S_TESTER_VERSION}-linux-$(go env GOARCH) -o /tmp/etcd-utils
  curl -L ${DOWNLOAD_URL}/${AWS_K8S_TESTER_VERSION}/cw-utils-${AWS_K8S_TESTER_VERSION}-linux-$(go env GOARCH) -o /tmp/cw-utils
elif [[ "${OSTYPE}" == "darwin"* ]]; then
  curl -L ${DOWNLOAD_URL}/${AWS_K8S_TESTER_VERSION}/aws-k8s-tester-${AWS_K8S_TESTER_VERSION}-darwin-$(go env GOARCH) -o /tmp/aws-k8s-tester
  curl -L ${DOWNLOAD_URL}/${AWS_K8S_TESTER_VERSION}/ec2-utils-${AWS_K8S_TESTER_VERSION}-darwin-$(go env GOARCH) -o /tmp/ec2-utils
  curl -L ${DOWNLOAD_URL}/${AWS_K8S_TESTER_VERSION}/eks-utils-${AWS_K8S_TESTER_VERSION}-darwin-$(go env GOARCH) -o /tmp/eks-utils
  curl -L ${DOWNLOAD_URL}/${AWS_K8S_TESTER_VERSION}/etcd-utils-${AWS_K8S_TESTER_VERSION}-darwin-$(go env GOARCH) -o /tmp/etcd-utils
  curl -L ${DOWNLOAD_URL}/${AWS_K8S_TESTER_VERSION}/cw-utils-${AWS_K8S_TESTER_VERSION}-darwin-$(go env GOARCH) -o /tmp/cw-utils
fi

chmod +x /tmp/aws-k8s-tester
/tmp/aws-k8s-tester version

chmod +x /tmp/ec2-utils
/tmp/ec2-utils version

chmod +x /tmp/eks-utils
/tmp/eks-utils version

chmod +x /tmp/etcd-utils
/tmp/etcd-utils version

chmod +x /tmp/cw-utils
/tmp/cw-utils version