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

[AN-341] Pin CI to use MySQL 8.0.40 #350

Merged
merged 7 commits into from
Feb 12, 2025
Merged

Conversation

salonishah11
Copy link
Contributor

@salonishah11 salonishah11 commented Jan 24, 2025

Jira: https://broadworkbench.atlassian.net/browse/AN-341

Flyway only supports until MySQL version 8.1. Upgrading Agora to 8.4.3 SQL version throws below warning.
Reference: https://documentation.red-gate.com/flyway/reference/supported-databases/mysql

o.f.c.i.database.base.Database - Flyway upgrade recommended: MySQL 8.4 is newer than this version of Flyway and support has not been tested. The latest supported version of MySQL is 8.1.

Also, only Java 17 is supported starting Flyway version 10.0.0 and 8.1 is officially supported after this version. The tests were already using MySQL 8.0. This PR pins it to specific version i.e. 8.0.40.

@salonishah11 salonishah11 marked this pull request as ready for review January 28, 2025 16:44
@salonishah11 salonishah11 changed the title [AN-341] Upgrade MySQL to 8.4.3 [AN-341] Upgrade MySQL to 8.0.40 Jan 29, 2025
@salonishah11 salonishah11 changed the title [AN-341] Upgrade MySQL to 8.0.40 [AN-341] Pin CI to use MySQL 8.0.40 Feb 11, 2025
build.sbt Outdated
@@ -89,7 +89,7 @@ libraryDependencies ++= Seq(
"org.mock-server" % "mockserver-netty" % "5.11.1" % Test,
"com.dimafeng" %% "testcontainers-scala-mysql" % testcontainersScalaV % Test,
"com.dimafeng" %% "testcontainers-scala-mongodb" % testcontainersScalaV % Test,
"org.flywaydb" % "flyway-core" % "7.3.2" % Test,
"org.flywaydb" % "flyway-core" % "7.3.2" % Test, // Starting 10.0.0 Flyway only supports Java 17. Agora is on Java 11
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit, do you want to add the link to the JIRA ticket you created to do the upgrade?

@salonishah11 salonishah11 merged commit cdd3c1e into develop Feb 12, 2025
7 checks passed
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