Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
aahel committed Feb 21, 2024
1 parent 8231726 commit f6f2196
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion test/acceptance/setup-terraform/ecr.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ resource "null_resource" "push-lambda-registrator-to-ecr" {
command = <<EOF
aws ecr get-login-password --region ${var.region} | docker login --username AWS --password-stdin ${local.account_id}.dkr.ecr.${var.region}.amazonaws.com
cd ../../../consul-lambda
make docker TAG=${aws_ecr_repository.lambda-registrator.repository_url}:${local.ecr_image_tag} ARCH=${var.arch}
make docker TAG=${aws_ecr_repository.lambda-registrator.repository_url}:${local.ecr_image_tag}
docker push ${aws_ecr_repository.lambda-registrator.repository_url}:${local.ecr_image_tag}
EOF
}
Expand Down
32 changes: 16 additions & 16 deletions test/acceptance/tests/basic_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,22 +41,22 @@ func TestBasic(t *testing.T) {
"secure": {
secure: true,
},
"insecure": {
secure: false,
},
"enterprise and secure": {
secure: true,
enterprise: true,
},
"secure auto publish": {
secure: true,
autoPublishRegistrator: true,
},
"secure auto publish with privateEcrRepoName": {
secure: true,
autoPublishRegistrator: true,
privateEcrRepoName: fmt.Sprintf("test-ecr-repo-%s", strings.ToLower(random.UniqueId())),
},
// "insecure": {
// secure: false,
// },
// "enterprise and secure": {
// secure: true,
// enterprise: true,
// },
// "secure auto publish": {
// secure: true,
// autoPublishRegistrator: true,
// },
// "secure auto publish with privateEcrRepoName": {
// secure: true,
// autoPublishRegistrator: true,
// privateEcrRepoName: fmt.Sprintf("test-ecr-repo-%s", strings.ToLower(random.UniqueId())),
// },
}

for name, c := range cases {
Expand Down

0 comments on commit f6f2196

Please sign in to comment.