Skip to content

Commit a7f7a8e

Browse files
committed
terraform install
1 parent b313ab9 commit a7f7a8e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/octopus_container_test_framework.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,11 @@ func (o *OctopusContainerTest) setupOctopus(ctx context.Context, connString stri
218218
Networks: []string{
219219
network,
220220
},
221+
Cmd: []string{
222+
"wget -O - https://apt.releases.hashicorp.com/gpg | gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg",
223+
"echo \"deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main\" | tee /etc/apt/sources.list.d/hashicorp.list",
224+
"apt update -y && apt install terraform -y",
225+
},
221226
}
222227

223228
req.Env = o.AddCustomEnvironment(req.Env)

0 commit comments

Comments
 (0)