codeship / scripts

Scripts for use on Codeship Basic
https://codeship.com
MIT License
217 stars 172 forks source link

Mysql 8.0 script does not handle 206 Partial Content when downloading mysql package #267

Closed zlailari closed 4 years ago

zlailari commented 4 years ago

As part of our test setup commands, we run curl -sSL https://raw.githubusercontent.com/codeship/scripts/master/packages/mysql-8.0.sh | bash -s

We are seeing intermittent failures when the mysql CDN responds with a 206 Partial Content and the wget (despite the --continue flag) doesn't complete the download in the default 20 retries. Here's a gist with the output

Let me know if I can provide any additional information!

joesiewert commented 4 years ago

@zlailari about how often do you see this in your builds?

zlailari commented 4 years ago

About 10%

joesiewert commented 4 years ago

What about hosting that source file on S3 (or similar) and grabbing from there instead?

zlailari commented 4 years ago

It's downloading consistently with the file hosted in S3

joesiewert commented 4 years ago

Awesome!