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

AJ-1540: local dev to mysql 8 #2726

Merged
merged 2 commits into from
Feb 8, 2024
Merged

Conversation

davidangb
Copy link
Contributor

@davidangb davidangb commented Feb 6, 2024

Ticket: AJ-1540

  • Update the local-development environment to MySQL 8, via the run-mysql.sh script.
  • Update GHA unit tests to MySQL 8, also via the run-mysql.sh script.
  • Update unit tests to check for the presence of MySQL 8

Note that in your local dev environment, if you already have mysql running via ./docker/run-mysql.sh, you'll have to stop it and start it to get the upgrade.


PR checklist

  • Include the JIRA issue number in the PR description and title
  • Make sure Swagger is updated if API changes
    • ...and Orchestration's Swagger too!
  • If you changed anything in model/, then you should publish a new official rawls-model and update rawls-model in Orchestration's dependencies.
  • Get two thumbsworth of PR review
  • Verify all tests go green, including CI tests
  • Squash commits and merge to develop (branches are automatically deleted after merging)
  • Inform other teams of any substantial changes via Slack and/or email

MYSQL_IMAGE=mysql/mysql-server
MYSQL_VERSION=5.7
MYSQL_VERSION=8.0.32
Copy link
Contributor Author

Choose a reason for hiding this comment

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

since we need to get Rawls off Jenkins by the end of April, this should be a relatively temporary state.

it should "be testing against MySQL 5.7" in withEmptyTestDatabase {
// The docker version installed on DSP Jenkins does not like the "mysql" docker image, so we use "mysql/mysql-server"
// instead, which only has a 8.0.32 tag. See /docker/run-mysql.sh.
// TODO: Move to mysql:8.0.35 once we no longer depend on Jenkins.
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this noted in the move-off-jenkins ticket?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, it is! … now :)

@davidangb davidangb merged commit 254bd77 into develop Feb 8, 2024
13 checks passed
@davidangb davidangb deleted the da_AJ-1540_localDevToMySQL8 branch February 8, 2024 15:43
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