gh-ost
gh-ost copied to clipboard
Use arm package to install go on raspberry pi
Related issue: https://github.com/github/gh-ost/issues/730
Description
Updates script/ensure-go-installed script for Raspberry Pi. I was not sure about bumping up PREFERRED_GO_VERSION for other OS.
@shlomi-noach Could this be merged?
Thank you, I've been out of office. I'll catch up with this in a couple days.
Two things that concern me:
- This is not tested
- If it were tested, it would currently fail, since
go1.11uses differentgo fmtoutput thango1.9, something that is enforced by tests.
I'm still unsure how I feel about this. I appreciate that it would be nice to deliver non-linux build capabilities; but as soon as this is merged I would need to own those builds, which I will not be able to support.
Understood. I tried to set up tests but faced the same problem as reported in this issue. Are there any instructions or recommendations how to configure gh-ost-test-mysql-master and gh-ost-test-mysql-replica servers? MySQL-Sandbox seems to be deprecated so I think about using DBdeployer.
The lowest *.linux-armv6l.tar.gz package version available on https://storage.googleapis.com/golang/ is 1.10.1. Would that be better?
Please see http://code.openark.org/blog/mysql/using-dbdeployer-in-ci-tests as for how we run (non-public facing) CI tests with dbdeployer. The repos and the code are public, but the tests themselves run internally at GitHub.
@bancer I think this is safe to integrate. Could you update this PR branch?