-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Fix infra-mysql57-binlog and infra-mysql84-binlog
#5591
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
Open
wazir-ahmed
wants to merge
11
commits into
sysown:v3.0
Choose a base branch
from
wazir-ahmed:tap_com_register_slave
base: v3.0
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
4bd4ad4
Use MariaDB replication helper for binlog TAP tests
wazir-ahmed 235b08a
infra-mysql57-binlog: Use binlog-reader in MySQL container, avoid sid…
wazir-ahmed 4a9c968
CI: Remove `sudo` dependency from isolated CI startup
wazir-ahmed b66d622
infra-mysql57-binlog: fix replica GTID bootstrap
wazir-ahmed 4a231bb
CI: fix typo in skill.md
wazir-ahmed c688320
Merge branch 'v3.0' into tap_com_register_slave
wazir-ahmed 7cb8722
CI: Port mysql57-binlog changes to mysql84-binlog
wazir-ahmed b119247
CI: Remove redundant `docker-compose-destroy.bash` helper for mysql57…
wazir-ahmed 8796364
CI: Remove binlog-reader fixed start-delay
wazir-ahmed 8494ccc
CI: Update docker image for binlog-reader
wazir-ahmed 6e376cc
Merge branch 'v3.0' into tap_com_register_slave
wazir-ahmed File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| #!/bin/bash | ||
|
|
||
| # docker_fs_exec <command> <path> | ||
| # Run a command against a host path through a temporary container. | ||
| # Use this for host-mounted files/directories whose ownership was set by container users and | ||
| # cannot be reliably modified from the host user context. | ||
| # Example: docker_fs_exec "rm -f proxysql/proxysql.db" "${INFRA_LOGS_PATH}/${INFRA_ID}" | ||
| docker_fs_exec() { | ||
| local fs_command="$1" | ||
| local target_path="$2" | ||
|
|
||
| if [ -z "${fs_command}" ] || [ -z "${target_path}" ]; then | ||
| echo "docker_fs_exec requires a command and a path" >&2 | ||
| return 1 | ||
| fi | ||
|
|
||
| # Work around host-mounted paths owned by container users different from the host user. | ||
| # Alpine/busybox would also work here, but proxysql-ci-base:latest is already pulled in this workflow. | ||
| docker run --rm \ | ||
| -v "${target_path}:/target" \ | ||
| proxysql-ci-base:latest \ | ||
| /bin/sh -ec "cd /target && ${fs_command}" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
65 changes: 0 additions & 65 deletions
65
test/infra/infra-mysql57-binlog/docker-compose-destroy.bash
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.