test(e2e): Add pieces necessary for enterprise migration test (#3555)
This commit is contained in:
1 parent
dec3bf3a5c
commit
6c57aa7fda
4 files changed
+26
-4
No files matched your search
@@ -12,6 +12,8 @@ scenario "e2e_database" {
|
||||
locals {
|
||||
aws_ssh_private_key_path = abspath(var.aws_ssh_private_key_path)
|
||||
local_boundary_dir = abspath(var.local_boundary_dir)
|
||||
license_path = abspath(var.boundary_license_path != null ? var.boundary_license_path : joinpath(path.root, "./support/boundary.hclic"))
|
||||
|
||||
tags = merge({
|
||||
"Project Name" : var.project_name
|
||||
"Project" : "Enos",
|
||||
@@ -19,6 +21,15 @@ scenario "e2e_database" {
|
||||
}, var.tags)
|
||||
}
|
||||
|
||||
step "read_license" {
|
||||
skip_step = var.boundary_edition == "oss"
|
||||
module = module.read_license
|
||||
|
||||
variables {
|
||||
file_name = local.license_path
|
||||
}
|
||||
}
|
||||
|
||||
step "find_azs" {
|
||||
module = module.az_finder
|
||||
|
||||
@@ -109,6 +120,7 @@ scenario "e2e_database" {
|
||||
variables {
|
||||
test_package = "github.com/hashicorp/boundary/testing/internal/e2e/tests/database"
|
||||
debug_no_run = var.e2e_debug_no_run
|
||||
boundary_license = var.boundary_edition != "oss" ? step.read_license.license : ""
|
||||
local_boundary_dir = local.local_boundary_dir
|
||||
target_user = "ubuntu"
|
||||
aws_ssh_private_key_path = local.aws_ssh_private_key_path
|
||||
|
||||
Reference in new issue
Block a user