Skip to content

Commit 026da86

Browse files
committed
set COMPONENT_HELPER_STATE_DIR env var for atmos commands
1 parent 11aea8b commit 026da86

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

pkg/atmos/component-helper/atmos_options.go

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,11 @@ func getAtmosOptions(t *testing.T, config *c.Config, componentName string, stack
2828
BackendConfig: map[string]interface{}{
2929
"workspace_key_prefix": strings.Join([]string{config.RandomIdentifier, stackName}, "-"),
3030
},
31-
Vars: mergedVars,
32-
EnvVars: map[string]string{"ATMOS_BASE_PATH": config.TempDir},
31+
Vars: mergedVars,
32+
EnvVars: map[string]string{
33+
"ATMOS_BASE_PATH": config.TempDir,
34+
"ATMOS_TEST_HELPER_STATE_DIR": config.TempDir,
35+
},
3336
}
3437
return atmosOptions
3538
}

0 commit comments

Comments
 (0)