summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2023-04-13 13:00:25 +0000
committerGerrit Code Review <review@openstack.org>2023-04-13 13:00:25 +0000
commit33a0bde9081f47e4159d014fc64452619a09ca63 (patch)
treec6bb45a817532937ef269ab29900584b82d17e5c
parent70077ee6d5ab254c02294a6d0f6c6f518d16d96a (diff)
parent1c188ad440e82bb356832497c387aace71653dc8 (diff)
downloadzuul-33a0bde9081f47e4159d014fc64452619a09ca63.tar.gz
Merge "Test with MariaDB instead of MySQL"
-rw-r--r--bindep.txt4
-rw-r--r--tools/docker-compose.yaml6
-rwxr-xr-xtools/test-setup-docker.sh2
3 files changed, 6 insertions, 6 deletions
diff --git a/bindep.txt b/bindep.txt
index 2e9c5e696..04cf0c797 100644
--- a/bindep.txt
+++ b/bindep.txt
@@ -1,9 +1,9 @@
# This is a cross-platform list tracking distribution packages needed by tests;
# see http://docs.openstack.org/infra/bindep/ for additional information.
-mysql-client [test !platform:rpm]
+mariadb-client [test !platform:rpm]
+mariadb-server [test]
mysql [test platform:rpm]
-mysql-server [test]
postgresql [test]
libjpeg-dev [test !platform:rpm]
libjpeg-turbo-devel [test platform:rpm]
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:
diff --git a/tools/test-setup-docker.sh b/tools/test-setup-docker.sh
index 1601b11a7..6000230bb 100755
--- a/tools/test-setup-docker.sh
+++ b/tools/test-setup-docker.sh
@@ -38,7 +38,7 @@ else
fi
-MYSQL="${DOCKER} exec zuul-test-mysql mysql -u root -pinsecure_worker"
+MYSQL="${DOCKER} exec zuul-test-mariadb mysql -u root -pinsecure_worker"
if [ "${COMPOSE}" == "docker-compose" ]; then
${ROOTCMD} docker-compose rm -sf