Commit Graph
25 Commits
Author SHA1 Message Date
Chad Kimes 47a4cefdd9 Add option for concurrent cache downloads with timeout (#1484)
* Add option for concurrent cache downloads with timeout

* Add release notes

* Fix lint
2023-08-07 13:25:56 -04:00
Sankalp Kotewar 4bdbfbb013 updated comment with more info 2023-03-06 13:20:45 +00:00
Sankalp Kotewar eb8822e575 updated segment size to 128MB for failing fast 2023-03-06 13:11:54 +00:00
Sankalp Kotewar 663ae8940e Reverted to custom promise implementation 2022-08-11 04:43:43 +00:00
Sankalp Kotewar dc1b3d616b Updated error message and null check 2022-08-08 13:22:11 +00:00
Sankalp Kotewar 5e28be1229 Added formatting changes 2022-08-08 04:56:02 +00:00
Sankalp Kotewar 47dad3f676 Updated variable names 2022-08-08 04:48:36 +00:00
Sankalp Kotewar edd4bb18a1 Fixed linting issues 2022-08-05 11:43:31 +00:00
Sankalp Kotewar 3528ea98d1 Removed custom promise and used abort timeout 2022-08-05 11:09:23 +00:00
Sankalp Kotewar 5591252081 Updated 45 mins abort timeout to 1 hour 2022-08-05 05:44:59 +00:00
Sankalp Kotewar 55fef07ca0 Linting fixes 2022-08-03 14:12:16 +00:00
Sankalp Kotewar 3e991a3fe9 Added custom promise with timeout 2022-08-03 13:25:47 +00:00
Sankalp Kotewar 3c8d7fb1c3 Added abort controller for timer 2022-08-03 11:11:30 +00:00
Sankalp Kotewar 4e2d0885c4 Added abortController to stop download 2022-08-03 10:23:42 +00:00
Shubham Tiwari f7739db321 Update downloadUtils.ts 2022-07-29 12:52:57 +05:30
Bishal Prasad 73b52181f7 Hack for timeout for segment download 2022-07-29 12:37:50 +05:30
Brian Cristante 8262beac6e Update other packages to use http-client v2 (#1082)
We moved `@actions/http-client` to be part of the toolkit in https://github.com/actions/toolkit/pull/1062.  We also made some breaking changes to exported types and released v2.

The biggest change in terms of lines of code affected was to get rid of the `I-` prefix for interfaces since TypeScript doesn't follow this convention.

I bumped the patch version of all packages except for `tool-cache`, where I bumped the major version.  The rationale is explained in the release notes for that package.
2022-05-11 17:14:25 -04:00
Ashwin Sangem c2a609193c Update downloadUtils.ts 2022-03-23 16:46:52 +05:30
Ashwin Sangem 6df9950b6c Cap the cache download chunk to 2 GB 2022-03-23 16:44:40 +05:30
Thomas Boop d445878917 Re-enable the audit tools step and update dependencies (#815)
* update package versions

* run audit

* fix eslint config

* linter updates

* re-enable audit

* update timeouts test

* pass done into callback

* fix format
2021-05-21 09:19:40 -04:00
Minh Nguyen e22f646915 Fix typo in function name (#590) 2021-05-03 11:09:44 -04:00
Dave Hadka 2b92697208 Fix bug downloading large files with the Azure SDK 2020-07-20 15:36:34 -05:00
Dave Hadka df426af5a9 Update with reviewer feedback 2020-07-13 16:09:37 -05:00
Dave Hadka bbe7756a8e Display download progress 2020-07-13 12:46:34 -05:00
David HadkaandJosh Gross 0fff1c0358 Use Azure storage SDK to download cache (#497)
* Adds option to download using AzCopy

* Bump version number and add release notes

* Ensure we use at least v10

* Negate env var so it disables AzCopy

* Use Azure storage SDK to download cache

* Use same level of parallelism as AzCopy

* Fix naming of variable

* React to feedback

* Bump Node types to Node 12

* Make linter happy

* Pass options into restoreCache method

* Fix tests

* Restructure files and add tests

* Add method to get the default download and upload options

* Include breaking changes in RELEASES.md

Co-authored-by: Josh Gross <joshmgross@github.com>
2020-07-10 17:09:32 +02:00