devdocs icon indicating copy to clipboard operation
devdocs copied to clipboard

Uncompress s3://devdocs-downloads/foo.tar.gz to s3://devdocs-documents/foo on s3?

Open simon04 opened this issue 4 years ago • 1 comments

Hi Oliver,

Uploading to s3://devdocs-documents/ takes a very long time when a lot of files are involved (for instance, dom amounts to 6852 files).

Is it feasible/possible upload only s3://devdocs-downloads/foo.tar.gz and have s3 automatically uncompress the documentation package to s3://devdocs-documents/foo? I found https://multiaki.medium.com/unzipping-s3-files-back-to-s3-without-uncompressing-entire-file-streaming-82f662b5065a, but don't know how hard/reliable this s3 setup is...

Thanks!

simon04 avatar Oct 22 '21 19:10 simon04

Hey Simon :wave:

That's an interesting question. I wonder if we could achieve the same effect by uploading an artifact to GitHub and triggering a workflow that unzips and syncs the result with S3. Either way, I'll take a look.

Please feel free to poke me if I seem to have forgotten, it happens!

ojeytonwilliams avatar Oct 25 '21 17:10 ojeytonwilliams