fix: support Dolt 2.3.1 GTID replication #119
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
| name: Docker Replica Mode Test | |
| on: | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| jobs: | |
| test-replication: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| source: ["postgres", "mysql", "mariadb", "dolt"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: docker/setup-buildx-action@v3 | |
| - name: Build MyDuck from current checkout | |
| run: | | |
| docker buildx build \ | |
| --load \ | |
| --platform linux/amd64 \ | |
| --file docker/Dockerfile \ | |
| --tag myduckserver:replication-test \ | |
| --build-arg VERSION=replication-test \ | |
| --build-arg GIT_COMMIT="${GITHUB_SHA}" \ | |
| . | |
| - name: Test ${{ matrix.source }} replication | |
| env: | |
| MYDUCK_IMAGE: myduckserver:replication-test | |
| run: bash .github/scripts/replication-test.sh "${{ matrix.source }}" |