-
Notifications
You must be signed in to change notification settings - Fork 865
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DownloadBuildArtifactsV1] Tar extraction on download (#3467)
* add tar extraction feature * fixes * fix download parameters passing * add no tars found warning also some other minor logging improvements * fix 'StandardError has not been redirected' * fix invalid StreamReader method * extract `GetArtifactItems()` * rename string for tar search start * get items outside of `DownloadFileContainerAsync` * move tar extraction to DownloadArtifact methods * fix 'directory with the same name already exists' * account for incompatible path resolution too * fix paths * trim relative artifact path for slash apparently `Path.Combine` doesn't work properly if the second argument looks like an absolute path * only move extracted tars directory if tars found * fix `MoveDirectory` * replace files in destination * fix destination folder * create target directory * add comments Co-authored-by: Anatoly Bolshakov <[email protected]>
- Loading branch information
1 parent
a82b01b
commit d896461
Showing
4 changed files
with
172 additions
and
14 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