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

Move git hooks to start of bootstrap #5091

Merged
merged 2 commits into from Aug 14, 2019

Conversation

morgo
Copy link
Contributor

@morgo morgo commented Aug 13, 2019

This is a small change to the bootstrap. I moved creating git hooks to the start, and they are not gated by BUILD_TESTS.

The motivation for doing this, is that I was doing something naive (and have to assume others are doing this too): the selenium dependency forces the rest of the script to fail. I manually ran the govendor and go get steps that followed (because I had to), but did not run the git hook code.

In the future we will remove the selenium requirement (and I think later we can remove the govendor/go get via go modules), but until then this is hopefully an improvement.

Edit: some dead code is also removed about number of cores. It is not used anywhere.

Signed-off-by: Morgan Tocker tocker@gmail.com

Signed-off-by: Morgan Tocker <tocker@gmail.com>
@morgo morgo requested a review from sougou as a code owner August 13, 2019 19:51
Signed-off-by: Morgan Tocker <tocker@gmail.com>
@sougou sougou merged commit 30f95c9 into vitessio:master Aug 14, 2019
@morgo morgo deleted the morgo-move-githooks branch August 14, 2019 03:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants