-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Support legacy 'import' directive and use 'imports' for future
This changes the behavior of the 'import' target to behave as it did before the breaking change that moved imports into /stacker/imports/ So now, if the stacker file uses 'import', then imports will be placed in /stacker. If the stacker file uses 'imports' (plural) then they will be placed in /stacker/imports. What we actually get in both cases is all the binds being done into either /.stacker (legacy) or /stacker (new). In the legacy case, the imports are also bind-mounted into /stacker Legacy (for those that used 'import:') stacker: /.stacker/bin/stacker imports: /.stacker/imports -> /stacker runscript: /.stacker/imports/.stacker-run.sh artifacts: /.stacker/artifacts new (for those that use 'imports:') stacker: /stacker/bin/stacker imports: /stacker/imports runscript: /stacker/imports/.stacker-run.sh artifacts: /stacker/artifacts TODO: * update tests * update docs * ideally get runscript into /stacker/bin
- Loading branch information
Showing
8 changed files
with
117 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.