File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -20,10 +20,12 @@ CRD_IMAGE_TAG=$ECR_CRD_REGISTRY_URL_WITH_NAME:$IMAGE_VERSION
2020NAMESPACE=" kube-system"
2121AWS_SERVICE_ACCOUNT_NAME=" basic-test-mount-sa"
2222
23- aws --region $AWS_REGION ecr get-login-password | docker login --username AWS --password-stdin $ECR_REGISTRY_URL
24- REGISTRY=$ECR_REGISTRY_URL make container
25- docker push $IMAGE_TAG
26- docker push $CRD_IMAGE_TAG
23+ if [ -z " $RELEASE " ]; then
24+ aws --region $AWS_REGION ecr get-login-password | docker login --username AWS --password-stdin $ECR_REGISTRY_URL
25+ REGISTRY=$ECR_REGISTRY_URL make container
26+ docker push $IMAGE_TAG
27+ docker push $CRD_IMAGE_TAG
28+ fi
2729
2830eksctl create cluster --name $EKS_CLUSTER_NAME --node-type m5.large --region $AWS_REGION
2931eksctl utils associate-iam-oidc-provider --name $EKS_CLUSTER_NAME --approve --region $AWS_REGION
@@ -37,4 +39,7 @@ eksctl create iamserviceaccount \
3739 --approve \
3840 --region $AWS_REGION
3941
40- REGISTRY=$ECR_REGISTRY_URL make e2e-helm-deploy
42+ # on a release test the caller will perform the driver installation
43+ if [ -z " $RELEASE " ]; then
44+ REGISTRY=$ECR_REGISTRY_URL make e2e-helm-deploy
45+ fi
You can’t perform that action at this time.
0 commit comments