Salman Chishti
cd186258e8
masks the whole URL, update tests
2025-03-10 06:47:52 -07:00
Salman Chishti
00d0e25088
Instead of using utility method in core lib, use method in both twirp clients
2025-03-07 06:01:25 -08:00
Salman Chishti
0ba281d011
remove these changes
2025-03-06 14:31:21 -08:00
Salman Chishti
10e284a34d
Add secret and signature masking for cache and artifact packages
2025-03-06 14:25:32 -08:00
Rob Herley
c6b0a26648
cache: wrap create failures in ReserveCacheError
2025-02-25 12:49:08 -05:00
Rob Herley
516a802ae7
update mocks
2025-02-14 09:42:41 -05:00
Rob Herley
61f222d41c
remove runtime dependency on twirp-ts
2025-01-27 17:52:55 +00:00
Bassem Dghaidi
e51a94a67c
Tune upload options
2024-12-02 07:32:33 -08:00
Bassem Dghaidi
19a33d23ef
Fix linter complaints
2024-12-02 04:24:17 -08:00
Bassem Dghaidi
fef5a9d9e5
Fix tests
2024-12-02 04:18:46 -08:00
Bassem Dghaidi
f51d6a5578
Troubleshoot
2024-12-02 03:35:20 -08:00
Bassem Dghaidi
b12049ae0c
Add progress tracking for blob uploads
2024-12-02 02:33:27 -08:00
Bassem Dghaidi
b1ea5b92cd
Fix tests
2024-11-29 07:36:51 -08:00
Bassem Dghaidi
ff642a18e3
Force use of Azure for restoreCacheV2
2024-11-28 07:42:07 -08:00
Bassem Dghaidi
3e095368f1
Refactor saveCacheV2 to use saveCache from cacheHttpClient
2024-11-28 07:22:01 -08:00
Bassem Dghaidi
10c2c22dd2
Respect download options for restore
2024-11-28 04:56:37 -08:00
Bassem Dghaidi
ffe895ecd9
Linter fixes
2024-11-28 03:53:34 -08:00
Bassem Dghaidi
af0425c904
Refactor cache upload functionality and improve test cases
2024-11-28 03:52:09 -08:00
Bassem Dghaidi
82befd3a8f
Replace downloadCacheFile with downloadCacheStorageSDK
2024-11-27 04:51:21 -08:00
John Sudol
a2898cbdd4
Add test case for when the uploadFile fails on the blobclient
2024-11-27 01:45:46 +00:00
John Sudol
323b47b36e
Remove unused mock
2024-11-26 23:33:19 +00:00
John Sudol
0a64fffb61
Only mock the cacheUtil methods we need
2024-11-26 23:05:11 +00:00
John Sudol
1b1e7f2542
PR feedback
2024-11-26 16:36:12 +00:00
John Sudol
f4bb9a563c
run prettier
2024-11-26 00:56:07 +00:00
John Sudol
29b76597d9
Add debug message for uploadResponse
2024-11-26 00:43:37 +00:00
John Sudol
8e0c67a6ea
Add saveCacheV2 tests
2024-11-26 00:23:42 +00:00
Bassem Dghaidi
e1c80ba4ec
Add a new debug message for downloads
2024-11-25 12:08:07 -08:00
Bassem Dghaidi and Rob Herley
e1aacf62db
Remove unused package
...
Co-authored-by: Rob Herley <robherley@github.com >
2024-11-25 16:13:20 +01:00
Bassem Dghaidi
2360eb3d26
Fix cache lookup scenario
2024-11-25 05:47:51 -08:00
Bassem Dghaidi
b39d23cb38
Add support for matching on restore key values
2024-11-25 05:42:50 -08:00
Bassem Dghaidi
7c9c946d7e
Add cache service version debug message
2024-11-25 04:08:47 -08:00
Bassem Dghaidi
d464c6fdaf
Add more tests for restoreCacheV2
2024-11-25 03:53:03 -08:00
Bassem Dghaidi
eafd0f7f46
Add restore tests
2024-11-22 09:01:59 -08:00
Bassem Dghaidi
edb731e24f
Linter fixes and remove unnecessary dependency
2024-11-21 04:05:04 -08:00
Bassem Dghaidi
b72fc22ab7
Add isGhes gate and refactor to clean up circular dependencies
2024-11-21 04:01:44 -08:00
Bassem Dghaidi
0a1b9cc3c0
Formatting and stylistic cleanup
2024-11-14 03:22:03 -08:00
Bassem Dghaidi
8168fce4d9
Fix broken test
2024-11-14 03:10:48 -08:00
Bassem Dghaidi
822ba1b619
Restore __tests__
2024-11-14 02:08:24 -08:00
Bassem Dghaidi
eb5b59e169
Refactoring & cleanup
2024-10-24 06:09:23 -07:00
Bassem Dghaidi
4af6ea76c2
Cleanups and package refactoring
2024-10-24 05:19:48 -07:00
Bassem Dghaidi
735f4c343d
Use zlib for compression
2024-06-13 03:16:59 -07:00
Smeb
94d8025121
fix #1579 : add test to check getCacheVersion does not mutate arguments
2024-03-07 16:23:04 +01:00
eggyhead
b3211b7a79
lint fixes
2024-01-31 16:51:04 +00:00
eggyhead
3d34748d8e
updating alowed hosts in isGhes check
...
updating alowed hosts in artifact ghes check
using dot prepend ghe host
2024-01-31 16:30:37 +00:00
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
240c2257ec
Merge branch 'main' into kotewar/updating-blobstorage-client-to-12.13.0
2023-03-09 00:33:52 +05:30
Sankalp Kotewar
20c1e3b0a6
Fixed test case
2023-03-08 09:26:29 +00:00
Marc Mueller
4150d6228e
Rename option to lookupOnly
2023-02-21 12:37:48 +01:00
Marc Mueller
0a9156fb4b
Add cache restore dryRun option
2023-02-21 12:37:48 +01:00
Christoph Reiter
bb9f0aa1c0
Don't set the MSYS env var globally ( #1329 )
...
85bb581273 introduced a call to exportVariable() to export the MSYS env
var, which configures the symlink strategy for MSYS2/cygwin binaries it calls.
By setting the env var globally, this also changes the behaviour of other MSYS2
using tools in a CI job, and also overrides MSYS configuration set by the user,
which I think was not intended.
To avoid this leakage set the MSYS env var only for the commands which
@actions/cache calls.
Fixes #1312
2023-02-08 10:58:25 +05:30