chore(e2e): Update test attributes for new builds (#3189)
This commit is contained in:
1 parent
b88050a4c4
commit
9a050ec15a
13 files changed
+109
-49
No files matched your search
@@ -17,6 +17,10 @@ variable "build_target" {
|
||||
default = "build-ui build"
|
||||
}
|
||||
|
||||
variable "binary_name" {
|
||||
default = "boundary"
|
||||
}
|
||||
|
||||
variable "edition" {
|
||||
default = "oss"
|
||||
}
|
||||
@@ -27,6 +31,7 @@ resource "enos_local_exec" "build" {
|
||||
"GOARCH" = "amd64",
|
||||
"CGO_ENABLED" = 0,
|
||||
"ARTIFACT_PATH" = var.path
|
||||
"BINARY_NAME" = var.binary_name
|
||||
"BUILD_TARGET" = var.build_target
|
||||
"EDITION" = var.edition
|
||||
}
|
||||
|
||||
@@ -14,6 +14,6 @@ root_dir="$(git rev-parse --show-toplevel)"
|
||||
pushd "${root_dir}" > /dev/null
|
||||
|
||||
make ${BUILD_TARGET}
|
||||
zip -j ${ARTIFACT_PATH}/boundary.zip bin/boundary
|
||||
zip -j ${ARTIFACT_PATH}/boundary.zip bin/${BINARY_NAME}
|
||||
|
||||
popd > /dev/null
|
||||
@@ -0,0 +1,8 @@
|
||||
# Copyright (c) HashiCorp, Inc.
|
||||
# SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
variable "file_name" {}
|
||||
|
||||
output "license" {
|
||||
value = file(var.file_name)
|
||||
}
|
||||
@@ -78,7 +78,7 @@ resource "aws_security_group" "default" {
|
||||
from_port = 22
|
||||
to_port = 22
|
||||
protocol = "tcp"
|
||||
cidr_blocks = ["${data.enos_environment.current.public_ip_address}/32"]
|
||||
cidr_blocks = flatten([formatlist("%s/32", data.enos_environment.current.public_ipv4_addresses)])
|
||||
}
|
||||
|
||||
ingress {
|
||||
|
||||
Reference in new issue
Block a user