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

(RE-14819) Retry failed curls before trying to gunzip them #203

Merged
merged 2 commits into from
Nov 2, 2022
Merged

Conversation

e-gris
Copy link
Contributor

@e-gris e-gris commented Sep 21, 2022

Please delete any headings that don't apply to this Pull Request (PR).

@e-gris
Copy link
Contributor Author

e-gris commented Sep 21, 2022

Needs testing.

}
fetch_tarball_command = "cd #{host['working_dir']}; #{command_file_push}#{filename}#{extension}"
retry_on(host, fetch_tarball_command, retry_requirements)
on host, "cd #{host['working_dir']}; tar -xvf #{filename}#{extension}"
Copy link
Contributor

Choose a reason for hiding this comment

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

The only thing that comes to mind is the question of whether or not we can rely on tar being able to gunzip automagically on all platforms this method would execute on. But since I think this would only be used on pe master platforms, I don't think that's an issue.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I went through exactly that same series of steps. I'm willing to fix it if I got it wrong.

Copy link
Contributor

@jpartlow jpartlow left a comment

Choose a reason for hiding this comment

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

👍

@e-gris
Copy link
Contributor Author

e-gris commented Nov 1, 2022

Looks like this is now blocked by #207

Will wait on 🟢 before merge.

@e-gris e-gris requested review from a team as code owners November 1, 2022 23:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants