Commit Graph
99 Commits
Author SHA1 Message Date
Rob Herley 1b6320e1d0 increase upload concurrency based on cpus, adjust highWaterMark, specify compression level 2023-11-20 15:03:58 +00:00
Rob Herley 2f7185e2cc use sha256 instead of md5 for artifact v4 integrity hash 2023-10-16 16:20:24 +00:00
Tatyana Kostromskaya 164ac05065 Update dependencies 2023-09-08 14:29:27 +00:00
Rob Herley d89027a67a add tests for download artifact 2023-08-23 23:18:03 -04:00
Bethany bf39487f15 include get artifact changes 2023-08-23 10:40:25 -07:00
Bethany c59b53ff16 move constants to retry-options 2023-08-23 10:36:33 -07:00
Bethany 51b7d6a651 use inline eslint disable 2023-08-23 10:12:06 -07:00
Bethany 99502be3f4 use string interpolation 2023-08-23 07:35:23 -07:00
Bethany 7188d5f703 lint 2023-08-23 07:28:17 -07:00
Bethany 68fb6c17d5 remove folder option in favor of path 2023-08-23 07:21:01 -07:00
Bethany d0cf96f319 Use options to specify download folder 2023-08-23 06:47:51 -07:00
Bethany 69e1f6f7c0 prettier 2023-08-22 11:47:14 -07:00
Bethany e7ddf2aea8 use GITHUB_WORKSPACE as default download dir 2023-08-22 11:44:38 -07:00
Bethany 7262d472fe use require 2023-08-22 11:33:00 -07:00
Bethany cbe3f44b01 lint 2023-08-22 10:06:40 -07:00
Bethany af762e2836 update dependencies and prettier 2023-08-22 09:57:14 -07:00
Bethany 1fb743dadf add get-artifact logic 2023-08-22 09:17:43 -07:00
Rob Herley d27eb4002d cleanup 2023-08-21 17:47:17 -04:00
Rob Herley e6c4654910 add download apis to stream zip from blob storage 2023-08-21 21:23:54 +00:00
Konrad Pabjan 6450327d35 [Artifacts] @actions/artifact list artifact functionality + download interface setup (#1495)
* actions/artifact preparation for download-artifact v4

* Test matrix strategy

* Fix needs dependency

* Improve list artifact test

* Fix typo

* Fix variables

* Cleanup download-all interfaces

* Fix tsc error

* Simplify to just name instead of artifactName

* Simplify to id instead of ArtifactId

* PR cleanup
2023-08-17 14:40:33 -04:00
Konrad Pabjan 1e8e6f92d3 [Artifacts] Add tests for E2E artifact upload (#1497)
* Add tests for E2E artifact upload

* Trigger Build

* Extra debug logs

* Debug dumping GitHub Context

* More logging

* Minor cleanup

* Trigger Build

* Unique artifact name

* Fix typo

* Fix

* Try using github-script

* Potential fix

* Cleanup

* More cleanup
2023-08-17 12:32:55 -04:00
Konrad Pabjan 592eda3934 [Artifacts] Save md5 hash for each artifact upload (#1494)
* Hash artifact upload using md5

* Add imports

* Small tweaks

* PR feedback

* PR Feedback
2023-08-15 13:39:57 -04:00
Konrad Pabjan 6d4dfd8442 [Artifacts] zip creation + blob storage upload functionality (#1488)
* Artifact zip creation + blob storage upload functionality

* Fix lint

* PR feedback
2023-08-10 15:28:41 -04:00
Bethany 14d9b00325 update import 2023-08-09 17:50:46 -07:00
Bethany 3f53e15631 implement feedback 2023-08-09 17:42:14 -07:00
Bethany 36c70dd6ec move getExpiration to upload-artifact 2023-08-09 13:12:30 -07:00
Bethany 04f8ae1cea Add tests for backend id fetch 2023-08-09 12:29:43 -07:00
Bethany 5fe11f07bd prettier 2023-08-09 12:09:17 -07:00
Bethany 31046e8606 catch errors at the root, remove unneccessary disabled rule 2023-08-09 12:08:43 -07:00
Bethany 5a7b20df59 lint 2023-08-09 11:34:18 -07:00
Bethany 5fbeb2c3b8 utilize client, fetch IDs 2023-08-09 11:26:33 -07:00
BethanyandKonrad Pabjan 32e58a3d43 Update packages/artifact/src/internal/shared/config.ts
Co-authored-by: Konrad Pabjan <konradpabjan@github.com>
2023-08-09 10:30:50 -04:00
BethanyandKonrad Pabjan 0786e6af52 Update packages/artifact/src/internal/shared/config.ts
Co-authored-by: Konrad Pabjan <konradpabjan@github.com>
2023-08-09 10:30:44 -04:00
Bethany af479c07b9 lint 2023-08-09 07:10:43 -07:00
Bethany d5b383c372 Update generated files to not use bigint 2023-08-09 07:00:27 -07:00
Bethany 49eb3a0db3 prettier 2023-08-08 13:19:43 -07:00
Bethany 57feac0323 tests and fix bug for retry 2023-08-08 12:49:05 -07:00
Bethany dfbde17a4d wip 2023-08-07 16:26:07 -07:00
Bethany bf8e0d1126 Merge branch 'bethanyj28/add-twirp-definitions' into bethanyj28/add-twirp-client 2023-08-07 09:10:06 -07:00
Bethany 19eed99b69 prettier and add generated files to prettierignore 2023-08-07 08:55:42 -07:00
Bethany df8063ae41 pass in http client to constructor 2023-08-07 08:43:39 -07:00
Bethany 1d84c50048 Start writing tests 2023-08-04 13:00:58 -07:00
Bethany 3ac0cace97 add twirp client 2023-08-04 09:23:14 -07:00
Bethany 8545c6fd72 package-lock.json conflict 2023-08-04 07:12:36 -07:00
Konrad Pabjan dcba91f32d [Artifacts] Name validation + zip specification creation (#1482)
* Artifact name validation + zip specification creation

* Fix linting issues

* Grammar fix

* Update test description
2023-08-04 09:53:42 -04:00
Bethany 04abb44c8a add artifact api twirp definitions 2023-08-03 12:43:45 -07:00
Konrad Pabjan bf445b6f6d [Artifacts] Prepare for v2.0.0 of @actions/artifact (#1479)
* Prepare for v2.0.0 of @actions/artifact

* Run prettier

* temporary disable unused vars
2023-08-03 13:34:41 -04:00
Josh Soref f0947bc28c Grammar: set up (#1241) 2023-01-19 10:57:29 -05:00
Héctor Molinero Fernández a2d9c35652 [Artifacts] Add more extensions to the gzip compression exception list (#1118)
* [Artifacts] Add more extensions to the gzip compression exception list

* [Artifacts] Test .zip extension

* Exempt .zstd files from compression
2023-01-11 15:19:28 -05:00
Konrad Pabjan 0dc29829bc Remove error annotations why retrying artifact download (#1309) 2023-01-11 13:53:41 -05:00