1
0
Fork 0
Commit Graph

990 Commits (665d790360b1872de72202cde0e89b7850c5feec)

Author SHA1 Message Date
Prajjwal cb3493c613 adds base and default ref for PR case 2024-06-20 12:08:34 +05:30
Prajjwal 67fd4c73a6 adds support for restoring across branches 2024-06-20 09:52:04 +05:30
Prajjwal 1de6efdd6c fixes s3 return value 2024-06-14 10:34:46 +05:30
Brian DeHamer dddc440d56
config rekor to fetch on conflict
Signed-off-by: Brian DeHamer <bdehamer@github.com>
2024-06-12 11:57:18 -07:00
Brian DeHamer 73100a7f85
new GHA build provenance
Signed-off-by: Brian DeHamer <bdehamer@github.com>
2024-06-05 14:54:34 -07:00
Prajjwal 86e2ed1cf5 changes to multipart download for s3 2024-06-04 11:04:28 +05:30
Prajjwal d78ac4e851 removes duplicate extraction 2024-06-03 17:01:03 +05:30
Prajjwal b719dac88b adds better error handling 2024-06-03 16:40:16 +05:30
Prajjwal 57e2581e9d bumps to 1.1.13 2024-06-03 16:24:40 +05:30
Prajjwal 5670c35d06 adds streaming download for s3 2024-06-03 16:24:00 +05:30
Prajjwal 0fbee79606 returns user defined key decoded key 2024-06-02 10:57:43 +05:30
Brian DeHamer 8735a7e2da
prep 1.3.0 release of @actions/attest
Signed-off-by: Brian DeHamer <bdehamer@github.com>
2024-05-21 13:11:37 -07:00
Fredrik Skogman d3d7736bae
Fixed a spelling error 2024-05-20 07:57:44 +02:00
Fredrik Skogman 7d18e7aa0d
PR feedback. Juse more JS idiomatic code 2024-05-20 07:52:36 +02:00
Prajjwal a36bdbabae adds custom timeout 2024-05-17 18:45:54 +05:30
Prajjwal 7efbd158ad adds timeout to single thread download 2024-05-17 18:34:23 +05:30
Prajjwal 81041b245a sets auto retry to false 2024-05-17 18:21:21 +05:30
Prajjwal f120696e60 adds better info messages. reduces retry timeout for simple download. makes cache miss record instead of failing workflow 2024-05-17 18:07:39 +05:30
Prajjwal e5677fba9b bumps version 2024-05-17 17:45:34 +05:30
Prajjwal ac477ea9c4 adds basic GCP download as fallback to multipart 2024-05-17 17:45:06 +05:30
Prajjwal ef01eae26e adds crc32c validation for files 2024-05-17 17:33:02 +05:30
Prajjwal fc0eaea80a bumps up version 2024-05-17 17:16:36 +05:30
Prajjwal c597cfaa61 better error capturing for all spawned commands 2024-05-17 17:16:08 +05:30
Prajjwal 890c6b520f adds backup download method for streaming cache 2024-05-17 16:37:56 +05:30
Fredrik Skogman e60694077d
Read the server url from the environment variable.
Instead of having the urls hardcoded, read them from the environment.
I opted to read from the environment variable instead of the github context
because it would be easier to test.
2024-05-16 17:00:35 +02:00
Brian DeHamer abb586d71e
add doc link in @actions/attest readme
Signed-off-by: Brian DeHamer <bdehamer@github.com>
2024-05-01 11:30:45 -07:00
Brian DeHamer 0e8fe8af62
retry request on failure to save attestation
Signed-off-by: Brian DeHamer <bdehamer@github.com>
2024-04-24 15:07:39 -07:00
bethanyj28 9eb3d3a673 lint 2024-04-23 16:10:57 -04:00
bethanyj28 6e642f628f lint 2024-04-23 16:06:02 -04:00
bethanyj28 0159bbe7f2 bump version 2024-04-23 16:03:52 -04:00
bethanyj28 476276bf98 use latest unzip-stream 2024-04-23 15:54:54 -04:00
Brian DeHamer 2961d73391
remove dep on make-fetch-happen
Signed-off-by: Brian DeHamer <bdehamer@github.com>
2024-04-23 09:39:17 -07:00
Rob Herley b384fe17ba
bump pkg version + release notes 2024-04-19 15:08:30 +00:00
Rob Herley ccb1df45d1
artifact client: retry on non-JSON response 2024-04-19 14:03:47 +00:00
Vallie Joseph 918b468a41 replacing writeFile with writeFileSync 2024-04-15 16:57:28 +00:00
Vallie Joseph 234761dc05 replacing writeFile with writeFileSync 2024-04-15 16:51:30 +00:00
Vallie Joseph fa1cb5d153 correcting imports 2024-04-15 16:49:47 +00:00
Vallie Joseph e998cf1216 cleaning up tests 2024-04-15 16:32:31 +00:00
Vallie Joseph 2bbbf928ae re-adding minor ver for now 2024-04-15 16:20:24 +00:00
Vallie Joseph fa06a1eadf removing minor ver for now 2024-04-15 16:18:41 +00:00
Vallie Joseph 5eea9e34e7 cleaning up comments and removing clear timeout outside of finaly 2024-04-15 16:08:45 +00:00
Vallie Joseph 75b5e5376d updating artifact version 2024-04-15 15:32:08 +00:00
Vallie Joseph be507421b1 . 2024-04-15 15:24:57 +00:00
Prajjwal 868b4d32d5 changes isfeatureavailable logic 2024-04-15 20:38:37 +05:30
Vallie Joseph 5d943d4b7f Rever http 2024-04-15 12:59:58 +00:00
Prajjwal 560aa2ff07 adds annotations to api requests 2024-04-15 17:52:36 +05:30
Prajjwal d989701710 adds wget for streaming download 2024-04-15 17:42:41 +05:30
Prajjwal 63c6089651 moves to streaming for gcs 2024-04-15 16:18:16 +05:30
Prajjwal d0787ac29d adjusts chunk size 2024-04-15 14:32:00 +05:30
Prajjwal 8400948874 bumps version 2024-04-15 14:05:45 +05:30
Prajjwal 5e3d03b01d comments test 2024-04-15 14:05:31 +05:30
Prajjwal a73dbad5a7 changes to multipart download 2024-04-15 14:05:22 +05:30
Prajjwal a09029945f adds explicit token auth mechanism 2024-04-15 11:58:21 +05:30
Prajjwal 9a8c6b26ce modifies for warpcache 2024-04-15 10:13:42 +05:30
Prajjwal 917853e23b feat: adds streaming download and upload for gcs provider 2024-04-11 11:12:08 +05:30
Prajjwal 1fc87f92d9 adds streaming download support 2024-04-10 10:14:06 +05:30
Vallie Joseph 222733049e . 2024-04-09 21:22:40 +00:00
Vallie Joseph fa9db3c8fa wrapping timeout in try catch 2024-04-09 21:18:30 +00:00
Vallie Joseph 18a8a22c65 updating upload try catch to always call cleartimeout 2024-04-09 21:05:58 +00:00
Vallie Joseph 425f05e29d moving timer outside of uploadZipToBlobStorage 2024-04-09 21:04:29 +00:00
Vallie Joseph 90fca23920 replacing timeout 2024-04-09 20:51:12 +00:00
Vallie Joseph 0d3d3bbb40 Adding missing progress time 2024-04-09 20:40:08 +00:00
Vallie Joseph 2ed9516172 updating timeout 2024-04-09 19:24:52 +00:00
Vallie Joseph 4fc93ec115 . 2024-04-09 19:01:54 +00:00
Vallie Joseph 61d6acdeb1 updating test 2024-04-09 18:52:19 +00:00
Vallie Joseph f98ccd1e39 updating tests 2024-04-09 18:21:41 +00:00
Vallie Joseph 7f0a981b2e Revert http 2024-04-09 18:09:34 +00:00
Vallie Joseph 2e7a11c409 upgrading archiver package along with chunk timeout 2024-04-09 18:02:48 +00:00
Prajjwal 6de528cc4a
Merge branch 'actions:main' into main 2024-04-08 10:26:02 +05:30
Brian DeHamer f8d95a85df
generate v0.3 bundles in attest package
Signed-off-by: Brian DeHamer <bdehamer@github.com>
2024-04-03 12:12:26 -07:00
Brian DeHamer a0e6af1e53
build provenance stmt from OIDC claims
Signed-off-by: Brian DeHamer <bdehamer@github.com>
2024-03-22 12:34:42 -07:00
Smeb 8fee77b04b fix #1579: add test to check getCacheVersion does not mutate arguments 2024-03-07 16:23:04 +01:00
Luke Tomlinson b807fc9c54
Update http-client to 2.2.1 (#1679) 2024-03-01 15:09:37 -05:00
bethanyj28 4799020e28 bump version 2024-03-01 13:04:16 -05:00
bethanyj28 bb420e4681 add info level logging for zip extract 2024-03-01 12:54:40 -05:00
Bethany e918bf24ae
Update RELEASES.md 2024-02-29 10:41:57 -05:00
Bethany eea6b7f517
Update RELEASES.md 2024-02-29 10:40:22 -05:00
teatimeguest ff435e591d
Make sure RequestOptions.keepAlive is applied properly on node20 runtime (#1572) 2024-02-28 12:10:57 -05:00
Bethany b7770574c2
flip releases order 2024-02-28 10:35:01 -05:00
Brian DeHamer 37a562b194
bump @actions/attest to 1.0.0
Signed-off-by: Brian DeHamer <bdehamer@github.com>
2024-02-26 10:21:47 -08:00
Brian DeHamer ad1f156c7c
Merge pull request #1667 from actions/bdehamer/attest
add new @actions/attest package
2024-02-26 10:15:14 -08:00
Brian DeHamer 6079dea4c4
add new @actions/attest package
Signed-off-by: Brian DeHamer <bdehamer@github.com>
2024-02-26 08:52:20 -08:00
bethanyj28 97c606b612 update to 2.1.3 2024-02-26 10:18:02 -05:00
bethanyj28 dcc55dfd04 feedback 2024-02-26 09:56:00 -05:00
bethanyj28 902046e4d8 ensure callback is only called once 2024-02-26 09:36:35 -05:00
bethanyj28 6cf4fbcef8 add a comment 2024-02-23 15:33:24 -05:00
bethanyj28 7fa864a4f4 go back to normalize) 2024-02-23 15:28:25 -05:00
Bethany f77cbc9ef7
Update packages/artifact/src/internal/download/download-artifact.ts
Co-authored-by: Tingluo Huang <tingluohuang@github.com>
2024-02-23 15:20:01 -05:00
bethanyj28 8a1800c5da use resolve instead of normalize 2024-02-23 15:15:17 -05:00
bethanyj28 90894a8853 bump version 2024-02-23 15:03:09 -05:00
bethanyj28 614f27a4fb use stream transform 2024-02-23 14:34:39 -05:00
bethanyj28 ac84a9bee3 re-add noop logs and format + lint 2024-02-23 13:46:22 -05:00
bethanyj28 4256ea99c5 update test case and handling 2024-02-23 13:41:40 -05:00
bethanyj28 76489f433b attempt with comparing index 2024-02-23 11:59:36 -05:00
bethanyj28 e9005f7727 ensure no path traversal 2024-02-23 10:54:12 -05:00
bethanyj28 8d03fb4787 prettier 2024-02-23 08:46:56 -05:00
bethanyj28 d3301c9bc2 update path parsing 2024-02-23 08:42:23 -05:00
bethanyj28 1e326de474 use existing function 2024-02-23 08:28:37 -05:00
bethanyj28 83731e6528 remove awaits from on entry 2024-02-22 22:06:32 -05:00
bethanyj28 a24b9c0184 handle directories 2024-02-22 21:54:54 -05:00