Skip to content

Conversation

@bobheadxi
Copy link
Member

@bobheadxi bobheadxi commented Nov 28, 2022

Adds a command, src snapshot upload, that checks that all snapshot resources have been created and initiates parallel uploads for them with native usage of the Cloud Storage client.

This is a change from the previous plan to use signed URLs - a robust upload client does not exist for it, so we opt to generate service accounts instead to make use of the native Cloud Storage client that implements buffering/chunking/etc internally.

Closes https://github.com/sourcegraph/customer/issues/1613

Test plan

upload

image

@bobheadxi
Copy link
Member Author

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.

Copy link
Member

@michaellzc michaellzc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Base automatically changed from src-snapshot-pgdump-templater to main November 28, 2022 22:48
@bobheadxi bobheadxi force-pushed the 11-28-snapshot_add_snapshot_contents_uploader branch from ac9ce35 to 8dd6e5e Compare November 28, 2022 22:51
@bobheadxi bobheadxi merged commit fa50cb7 into main Nov 28, 2022
@bobheadxi bobheadxi deleted the 11-28-snapshot_add_snapshot_contents_uploader branch November 28, 2022 23:01
scjohns pushed a commit that referenced this pull request Apr 24, 2023
Adds a command, src snapshot upload, that checks that all snapshot resources have been created and initiates parallel uploads for them with native usage of the Cloud Storage client.

Co-authored-by: Michael Lin <mlzc@hey.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants