Skip to content

v1.5.9

Compare
Choose a tag to compare
@gyuho gyuho released this 26 Apr 18:39

Please check out CHANGELOG for a full list of changes.

Install


AWS_K8S_TESTER_VERSION=v1.5.9

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/ecr-utils
rm -rf /tmp/eks-utils
rm -rf /tmp/etcd-utils
rm -rf /tmp/cw-utils
rm -rf /tmp/s3-utils
rm -rf /tmp/sts-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}/ecr-utils-${AWS_K8S_TESTER_VERSION}-linux-$(go env GOARCH) -o /tmp/ecr-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
  curl -L ${DOWNLOAD_URL}/${AWS_K8S_TESTER_VERSION}/s3-utils-${AWS_K8S_TESTER_VERSION}-linux-$(go env GOARCH) -o /tmp/s3-utils
  curl -L ${DOWNLOAD_URL}/${AWS_K8S_TESTER_VERSION}/sts-utils-${AWS_K8S_TESTER_VERSION}-linux-$(go env GOARCH) -o /tmp/sts-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}/ecr-utils-${AWS_K8S_TESTER_VERSION}-darwin-$(go env GOARCH) -o /tmp/ecr-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
  curl -L ${DOWNLOAD_URL}/${AWS_K8S_TESTER_VERSION}/s3-utils-${AWS_K8S_TESTER_VERSION}-darwin-$(go env GOARCH) -o /tmp/s3-utils
  curl -L ${DOWNLOAD_URL}/${AWS_K8S_TESTER_VERSION}/sts-utils-${AWS_K8S_TESTER_VERSION}-darwin-$(go env GOARCH) -o /tmp/sts-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/ecr-utils
/tmp/ecr-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

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

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