Merge pull request #430 from pulumi/rename-env-folder

Rename env folder to stacks
This commit is contained in:
Matt Ellis 2017-10-18 13:21:58 -07:00 committed by GitHub
commit 8118a4004c
2 changed files with 3 additions and 3 deletions

View file

@ -116,9 +116,9 @@ func LumiProgramTest(t *testing.T, opts LumiProgramTestOptions) {
// Run additional validation provided by the test options, passing in the
if opts.ExtraRuntimeValidation != nil {
checkpointFile := path.Join(dir, ".pulumi", "env", testStackName+".json")
checkpointFile := path.Join(dir, ".pulumi", "stacks", testStackName+".json")
var byts []byte
byts, err = ioutil.ReadFile(path.Join(dir, ".pulumi", "env", testStackName+".json"))
byts, err = ioutil.ReadFile(path.Join(dir, ".pulumi", "stacks", testStackName+".json"))
if !assert.NoError(t, err, "Expected to be able to read checkpoint file at %v: %v", checkpointFile, err) {
return
}

View file

@ -14,7 +14,7 @@ import (
const ProjectFile = "Pulumi" // the base name of a Project.
const Dir = ".pulumi" // the default name of the LumiPack output directory.
const StackDir = "env" // the default name of the LumiPack stack directory.
const StackDir = "stacks" // the default name of the LumiPack stack directory.
const DepDir = "packs" // the directory in which dependencies exist, either local or global.
const SettingsFile = "workspace" // the base name of a markup file for shared settings in a workspace.