From 1c188ad440e82bb356832497c387aace71653dc8 Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Mon, 30 Jan 2023 13:41:15 -0800 Subject: Test with MariaDB instead of MySQL I'm not sure if this is a good idea or not yet. Testing with MySQL actually exposed the alembic transaction thing that is fixed in a grandparent change. That said much of the world seems to be moving to MariaDB so it might be a good idea for us to test that more explicitly? We update bindep.txt which will install mariadb during CI job runs. We also update our local test setup tooling to roughly match what will be used in CI. For example the mariadb:10.6 docker image is chosen because this is roughly equivalent to what Jammy packages. Another good reason for this change is that Debian ARM64 does not package MySQL and only packages MariaDB. This should give us better compatibility for testing on architectures other than x86-64. Change-Id: I9d00557ca5823da34278c3e9ecda2daaf13440b7 --- tools/docker-compose.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tools/docker-compose.yaml') diff --git a/tools/docker-compose.yaml b/tools/docker-compose.yaml index 05b4905e2..743be6988 100644 --- a/tools/docker-compose.yaml +++ b/tools/docker-compose.yaml @@ -1,9 +1,9 @@ version: "3" services: - mysql: - container_name: zuul-test-mysql - image: mysql:8.0 + mariadb: + container_name: zuul-test-mariadb + image: mariadb:10.6 environment: - MYSQL_ROOT_PASSWORD=insecure_worker ports: -- cgit v1.2.1