github / github/gh-ost

Leveraging Docker for the build/test process?

Open
#740 4 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Go
Stars
13.6k
Forks
1.4k
Avg merge
2h 31m
Merged PRs (30d)
4

Description

This is a meatier issue, but I'm interested in simplifying some of the build/cibuild scripts by using [the golang-cross docker image](https://hub.docker.com/r/dockercore/golang-cross) instead of downloading/verifying the actual Go version for the host environment.

Some other areas of simplification I can see:

* Drop the `.gopath`. This would be part of the mapped docker volume instead.
* Possibly bundling the binary of dbdeployer inside the image which might affect `gh-ost-ci-env`. But a side effect of this could be possibly parallelizing the MySQL version localtests.

It'll take a bit of effort and experimentation, but I wanted to reach out to see if this was interesting before spending I began spending the effort. We should be [a-okay on the Travis-CI's side](https://docs.travis-ci.com/user/docker/).

My goal here would be to simplify bootstrapping and testing the codebase. Both with the script maintenance and the dev-groking.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.