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

Ability to use a local proxysql binary in testing #4

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

spachev
Copy link

@spachev spachev commented May 3, 2020

Refactored proxysql containers to use spachev/proxysql-debian-stretch image with proxysql binary replaced with the locally build one if running with REBUILD_DOCKER=1 and if the binary exists - defaulting to ../proxysql/src/proxysql, but can be overrided with PROXYSQL_BIN setting. If running with defaults or if the binary does not exist, use the original renecannao/proxysql_205_pltx19:debian9 image.

Sasha Pachev added 3 commits April 13, 2020 16:40
…rchestrator because go version was 1.10, required 1.12. So I upgraded alpine image to the latest. After that I had to fix the file copy because the directory structure apparently changed between versions. docker-compose-init.bash is still giving me problems even after I had created a local alias for orchestrator-client, which with the new version apparently has been replaced with orchestrator cli. It fails on discover with MySQL access denied message printed previously. I have not yet investigated that, but at least docker-compose build succeeds and I can see orchestrator containers coming up and printing messages that suggest they are doing something.
… image with proxysql binary replaced with the locally build one if running with REBUILD_DOCKER=1 and if the binary exists - defaulting to ../proxysql/src/proxysql, but can be overrided with PROXYSQL_BIN setting. If running with defaults or if the binary does not exist, use the original renecannao/proxysql_205_pltx19:debian9 image.
@pondix
Copy link

pondix commented May 14, 2020

Not against adding this, I can see how it can be useful so lets go ahead and merge. Would it be possible to use the official images rather than the ones from Rene and your own repository?

These are updated on each release.

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.

2 participants