bitrise-steplib / bitrise-step-pull-intermediate-files

MIT License
0 stars 2 forks source link

Add logic to uncompress pipeline intermediate if needed #3

Closed vshah23 closed 1 year ago

vshah23 commented 1 year ago

Checklist

Version

Requires a MAJOR/MINOR/PATCH version update

Context

We discussed that using zip for build artifacts and tar for pipeline intermediates is not ideal moving forward due to having to maintain both tools across stacks, so this PR adds support for extracting zip archives.

For compatibility with the deploy-to-bitrise-io step version 2.1.3, support for tar archives is kept.

Changes

Investigation details

Also considered just compressing pipeline intermediates with the previous changes to tar.

Decisions

The plan moving forward is to consolidate and use zip across the board instead of making additional changes to accommodate tar in order to avoid having to maintain both tools across stacks. zip also gives the benefit of compressing the archive by default.