Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor and fix Google Artifacts uploads #287

Merged
merged 3 commits into from
Jan 16, 2023
Merged

Conversation

baronfel
Copy link
Member

@baronfel baronfel commented Jan 10, 2023

Google Artifacts has a quirk where they do not support chunked uploads at all. Therefore, I introduced a capability check and factored out the decision of chunked or whole uploads and conditioned their registries to use the 'whole' strategy. As a result, we're now green again on our test matrix!

https://github.com/baronfel/sdk-container-demo/actions/runs/3887696305/jobs/6634248458

From the documentation:

Note: Artifact Registry does not support Docker chunked uploads. Some container image tools support uploading large container images with either chunked uploads or a single monolithic upload. You must use monolithic uploads when you push container images to Artifact Registry.

Base automatically changed from diff-names to main January 16, 2023 01:51
@baronfel baronfel merged commit af60b90 into main Jan 16, 2023
@baronfel baronfel deleted the no-chunks-for-google branch January 16, 2023 02:36
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.

2 participants