Add env vars to run step

This commit is contained in:
Luke Kysow
2018-06-29 20:20:55 +02:00
parent 71716a6461
commit f01915876d
11 changed files with 75 additions and 17 deletions

View File

@@ -253,7 +253,9 @@ func NewServer(userConfig UserConfig, config Config) (*Server, error) {
ApplyStepRunner: runtime.ApplyStepRunner{
TerraformExecutor: terraformClient,
},
RunStepRunner: runtime.RunStepRunner{},
RunStepRunner: runtime.RunStepRunner{
DefaultTFVersion: defaultTfVersion,
},
PullApprovedChecker: vcsClient,
WorkingDir: workingDir,
Webhooks: webhooksManager,