Skip to content

Conversation

@meiji163
Copy link
Contributor

@meiji163 meiji163 commented Apr 8, 2025

This PR removes the use of dbdeployer for CI tests in favor of docker and upgrades runner images to Ubuntu 22.04.

Ubuntu 20.04 action runners are deprecated, which we use for running CI replica tests. Since dbdeployer isn't working out of the box on Ubuntu 22.04 runners I'm taking the opportunity to move the CI replica tests to use docker compose. This means we can deprecate the use of the unmaintained dbdeployer and gh-ost-ci-env.

We run the localtests on the following docker images

  • mysql/mysql-server:5.7.41
  • mysql:8.0.41
  • mysql:8.4.3
  • percona/percona-server:8.0.41-32 (with RocksDB)

@meiji163 meiji163 changed the title Use docker for replica CI tests Use docker for CI replica tests, deprecate dbdeployer Apr 8, 2025
@meiji163 meiji163 marked this pull request as ready for review April 8, 2025 20:59
Copilot AI review requested due to automatic review settings April 8, 2025 20:59
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the CI replica tests to use Docker Compose instead of dbdeployer and upgrades runner images to Ubuntu 22.04.

  • Updated docker-compose configuration to include additional MySQL command options and environment variables for percona-server.
  • Revised documentation to reflect new local test usage with Docker Compose.
  • Modified GitHub Actions workflow to run tests on Ubuntu 22.04 with an updated matrix of MySQL images.

Reviewed Changes

Copilot reviewed 3 out of 5 changed files in this pull request and generated no comments.

File Description
localtests/docker-compose.yml Added "--character-set-server=utf8mb4" to commands and included INIT_ROCKSDB env for Percona.
doc/local-tests.md Updated test description and added instructions for running tests with Docker Compose.
.github/workflows/replica-tests.yml Removed old Ubuntu 20.04 build job and modified the matrix to test multiple MySQL images.
Files not reviewed (2)
  • script/cibuild-gh-ost-replica-tests: Language not supported
  • script/docker-gh-ost-replica-tests: Language not supported

@meiji163 meiji163 merged commit 4502796 into master Apr 8, 2025
8 checks passed
@meiji163 meiji163 deleted the meiji163/upgrade-replica-test-ci branch April 8, 2025 21:28
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.

3 participants