Re-enable mariadb testing at build, after mariadb acknowledges that 9001 < 65535
# Disabled due to build failures on a weird error:
# ALTER TABLE `scanners_endpointgenericscan` ADD COLUMN `evidence` varchar(9001) DEFAULT '0' NOT NULL
# MySQLdb._exceptions.OperationalError: (1118, 'Row size too large. The maximum row size for the used table type,
# not counting BLOBs, is 65535. This includes storage overhead, check the manual.
# You have to change some columns to TEXT or BLOBs'
# 9001 is well below 65535, so there is something wrong with the check.
# https://mariadb.com/kb/en/varchar/ -> also says it's ok.
# # functional testing using mariadb as it is default for debian 9
# test_mariadb: &test_mariadb_template
# <<: *test_template
# services:
# - mariadb:latest
# variables:
# # configuration for docker mariadb service
# MYSQL_ROOT_PASSWORD: failmap
# MYSQL_DATABASE: failmap
# MYSQL_USER: failmap
# MYSQL_PASSWORD: failmap
# # select mysql database settings, all settings default to 'failmap'
# # so they don't need to be passed explicitly
# DJANGO_DATABASE: production
# DB_HOST: mariadb
# DB_USER: root
# # make poetry install mysql dependencies
# poetry_args: --extras=deploy
# retry: 1
Edited by Elger Jonker