File tree 1 file changed +10
-5
lines changed
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
20
20
NAMESPACE=" kube-system"
21
21
AWS_SERVICE_ACCOUNT_NAME=" basic-test-mount-sa"
22
22
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
27
29
28
30
eksctl create cluster --name $EKS_CLUSTER_NAME --node-type m5.large --region $AWS_REGION
29
31
eksctl utils associate-iam-oidc-provider --name $EKS_CLUSTER_NAME --approve --region $AWS_REGION
@@ -37,4 +39,7 @@ eksctl create iamserviceaccount \
37
39
--approve \
38
40
--region $AWS_REGION
39
41
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