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

Fix download and untar in standard release pipeline #102

Merged
merged 3 commits into from
Jan 3, 2023

Conversation

gaiksaya
Copy link
Member

@gaiksaya gaiksaya commented Jan 3, 2023

Description

The piping of curl into tar was resulting in incomplete download error while unzipping the tarball for large files.
Hence, fixing it by first completely downloading the release asset and then attempting the unzipping. Also removes the z option from tar command which checks if it's an actual gzip.

Issues Resolved

List any issues this PR will resolve, e.g. Closes [...].

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>
Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>
Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>
@gaiksaya gaiksaya requested a review from a team as a code owner January 3, 2023 23:01
@gaiksaya gaiksaya merged commit d8e305a into opensearch-project:main Jan 3, 2023
@gaiksaya gaiksaya deleted the fix-tar branch January 3, 2023 23:17
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jan 3, 2023
Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>
(cherry picked from commit d8e305a)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
gaiksaya pushed a commit that referenced this pull request Jan 3, 2023
Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>
(cherry picked from commit d8e305a)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
gaiksaya pushed a commit that referenced this pull request Feb 6, 2023
Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>
(cherry picked from commit d8e305a)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants