1
0
Fork 0
toolkit/packages/cache/__tests__
Sampark Sharma b228732644
Cache package release for compression change in windows (#1281)
* bsd + zstd fallback implementation

* bsd + zstd fallback implementation

* Fix tar operations

* Add -v option for testing

* Fix order of args for tar

* Add GNUtar as default on windows

* Fix test

* Fix tar tests

* Fix lint issues

* Fix windows gnutar test case

* Temporarily remove thhe condition that prevents zstd usage on windows unless with GNUtar

* Address some comments and correct compression commands

* Add windows bsdtar test

* Fix windows test

* Fix test

* Separate args

* Fix old tests

* Add new tests

* Fix tests

* Fix lint test

* Refactor code

* Address review comments

* Fix test

* Fix tar test

* Add await to async function calls

* Fix test

* Update for beta release

* Fix audit issues

* Add fallback to gzip compression if cache not found

* Fix test

* Add test

* Address review comments

* Revert Address review comments

* Release 3.1.0-beta.2 cache package

* Fix issues

* Reconfigure catch block

* Add debug logging for gzip fall back

* Fix test

* Add end to end test for cache using bsd on windows
and address review comments

* Fix test

* Fix test

* Fix tests

* Add better comments

* Update packages/cache/src/internal/cacheHttpClient.ts

Co-authored-by: Bishal Prasad <bishal-pdmsft@github.com>

* Address review comments

* Update for new beta cache package release

* Address bugbash issues

* Fix tests

* Release new actions/cache minor version

Co-authored-by: Lovepreet Singh <pdotl@github.com>
Co-authored-by: Bishal Prasad <bishal-pdmsft@github.com>
2022-12-22 20:47:35 +05:30
..
__fixtures__ Adding support in cache package to check if Artifact Cache service is enabled or not (#1028) 2022-03-25 14:40:02 +05:30
cache.test.ts Adding support in cache package to check if Artifact Cache service is enabled or not (#1028) 2022-03-25 14:40:02 +05:30
cacheHttpClient.test.ts Use Azure storage SDK to download cache (#497) 2020-07-10 17:09:32 +02:00
cacheUtils.test.ts Change testcase to test against github workspace directory instead of current directory 2022-07-20 05:25:47 +00:00
create-cache-files.sh React to feedback 2020-05-15 12:26:42 -04:00
downloadUtils.test.ts Re-enable the audit tools step and update dependencies (#815) 2021-05-21 09:19:40 -04:00
options.test.ts Updated cache download to segment download 2022-08-18 05:32:49 +00:00
requestUtils.test.ts Added cacheSize in ReserveCache API request (#1044) 2022-04-04 16:21:58 +05:30
restoreCache.test.ts Cache package release for compression change in windows (#1281) 2022-12-22 20:47:35 +05:30
saveCache.test.ts Graceful handling of error (non-validation one) (#1122) 2022-06-24 10:46:20 +05:30
tar.test.ts Cache package release for compression change in windows (#1281) 2022-12-22 20:47:35 +05:30
verify-cache-files.sh React to feedback 2020-05-15 12:26:42 -04:00