More sessions

This commit is contained in:
2026-02-24 18:03:22 +00:00
parent eb5bd4a929
commit 23cc78aa98
284 changed files with 129543 additions and 4 deletions

View File

@@ -0,0 +1,56 @@
IMPORTANT: The file content has been truncated.
Status: Showing lines 3301-3350 of 3542 total lines.
Action: To read more of the file, you can use the 'offset' and 'limit' parameters in a subsequent 'read_file' call. For example, to read the next section of the file, use offset: 3350.
--- FILE CONTENT (truncated) ---
"account_id" => "123456789012",
"infrastructure_name" => "existing-shared-cluster-production",
"dalmatian_role" => "dalmatian-read",
"environment" => "production"
)
)
)
end
let(:cluster4_plan_cmd_production) do
terraform_plan_cmd(
tfvar_arg_string(
infrastructure_defaults.merge(
"example_var" => "bar",
"environment" => "production",
"cluster_name" => "shared-cluster-production",
"account_id" => "123456789012",
"infrastructure_name" => "existing-shared-cluster-production",
"dalmatian_role" => "dalmatian-read"
)
)
)
end
before do
allow(Logger).to receive(:info)
stub_git_clone_cmds
stub_git_checkout
stub_workspace_creation_cmds
allow(Helper).to receive(:run!).with("rake terrafile")
allow(Helper).to receive(:run!).with("terraform init -upgrade=true")
allow(Helper).to receive(:run!).with("terraform fmt -check -diff")
allow(Helper).to receive(:run!).with(cluster1_validate_cmd_hz)
allow(Helper).to receive(:run!).with(cluster1_validate_cmd_s3)
allow(Helper).to receive(:run!).with(cluster1_validate_cmd_vpn_cg)
allow(Helper).to receive(:run!).with(cluster1_plan_cmd_hz)
allow(Helper).to receive(:run!).with(cluster1_plan_cmd_s3)
allow(Helper).to receive(:run!).with(cluster1_plan_cmd_vpn_cg)
allow(Helper).to receive(:run!).with(cluster1_validate_cmd_production)
allow(Helper).to receive(:run!).with(cluster1_validate_cmd_staging)
allow(Helper).to receive(:run!).with(cluster1_plan_cmd_production)
allow(Helper).to receive(:run!).with(cluster1_plan_cmd_staging)
allow(Helper).to receive(:run!).with(source1_validate_cmd_production)
allow(Helper).to receive(:run!).with(source1_validate_cmd_staging)
allow(Helper).to receive(:run!).with(cluster1_validate_cmd_production_waf)
allow(Helper).to receive(:run!).with(cluster1_validate_cmd_staging_waf)