-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Jjbustamante feature/support multiple artifacts of different types (#100
) Add support to handle multiple artifacts during a build - Adds single new ArtifactResolver method, ResolveMany & tests - Uses ResolveMany in Application to check for artifacts - If a single artifact is returned, check if it's a file then proceed using the existing procedure. If it's a directory, then copy directory contents to the layer. - If multiple artifacts are returned, check and persist all files and all directory contents - A directory is persisted to the layer. The behavior is such that files copied out of directory A are stored under the layer in a directory named A and files out of a directory B are stored under the layer in a directory B. When files are then restored back out of the layer they will be in sub-directories as well. - Adds test cases around file matching scenarios - Adds test cases around file copies Co-authored-by: Juan Bustamante <jbustamante@vmware.com>
- Loading branch information
1 parent
4f0dd89
commit 49ef04d
Showing
4 changed files
with
359 additions
and
20 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
Oops, something went wrong.