The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:
TypeScript analyticsbibusiness-intelligencebusinessintelligenceclojuredashboarddatadata-analysisdata-visualizationdatabasemetabasemysqlpostgrespostgresqlreportingslacksql-editorvisualization
Replace circleci Docker images with the official DB images (#70773)
Nemanja Glumac9ad40ab1c35c
diff --git a/.github/workflows/app-db.yml b/.github/workflows/app-db.ymlindex eddb2055cec..666b014d8cb 100644--- a/.github/workflows/app-db.yml+++ b/.github/workflows/app-db.yml@@ -22,12 +22,13 @@ jobs:version:- name: MariaDB 10.6junit-name: be-tests-mariadb-10-6-ee+ # FIXME: Use the official image when DEV-1668 gets resolvedimage: circleci/mariadb:10.6env:enable-ssl-tests: 'false'- name: MariaDB Latestjunit-name: be-tests-mariadb-latest-ee- image: circleci/mariadb:latest+ image: mariadb:latestenv:enable-ssl-tests: 'false'job:@@ -58,7 +59,7 @@ jobs:- "3306:3306"env:MYSQL_ALLOW_EMPTY_PASSWORD: true- MYSQL_DATABASE: circle_test+ MYSQL_DATABASE: mb_testenv:# Only run old migrations tests on pushes to master or release branches. All other branches should skip tests# with the tag `mb/old-migrations-test`. `__ADDITIONAL_EXCLUDED_TAG__` is not used anywhere outside of splicing@@ -81,7 +82,7 @@ jobs:MB_DB_TYPE: mysqlMB_DB_HOST: localhostMB_DB_PORT: 3306- MB_DB_DBNAME: circle_test+ MB_DB_DBNAME: mb_testMB_DB_USER: rootMB_MYSQL_TEST_USER: root#@@ -136,7 +137,7 @@ jobs:version:- name: MySQL 8.4junit-name: be-tests-mysql-8-4-ee- image: cimg/mysql:8.4+ image: mysql:8.4env:enable-ssl-tests: 'false'enable-aws-iam-tests: 'false'@@ -174,7 +175,7 @@ jobs:- "3306:3306"env:MYSQL_ALLOW_EMPTY_PASSWORD: true- MYSQL_DATABASE: circle_test+ MYSQL_DATABASE: mb_testenv:# Only run old migrations tests on pushes to master or release branches. All other branches should skip tests# with the tag `mb/old-migrations-test`. `__ADDITIONAL_EXCLUDED_TAG__` is not used anywhere outside of splicing@@ -197,7 +198,7 @@ jobs:MB_DB_TYPE: mysqlMB_DB_HOST: localhostMB_DB_PORT: 3306- MB_DB_DBNAME: circle_test+ MB_DB_DBNAME: mb_testMB_DB_USER: rootMB_MYSQL_TEST_USER: root#diff --git a/.github/workflows/cross-branch-migrations.yml b/.github/workflows/cross-branch-migrations.ymlindex d38fe102a16..ae898ebc5e6 100644--- a/.github/workflows/cross-branch-migrations.yml+++ b/.github/workflows/cross-branch-migrations.yml@@ -46,16 +46,16 @@ jobs:MB_DB_TYPE: postgresMB_DB_PORT: 5432MB_DB_HOST: localhost- MB_DB_DBNAME: circle_test- MB_DB_USER: circle_test+ MB_DB_DBNAME: mb_test+ MB_DB_USER: mb_testservices:postgres:image: postgres:14-alpineports:- "5432:5432"env:- POSTGRES_USER: circle_test- POSTGRES_DB: circle_test+ POSTGRES_USER: mb_test+ POSTGRES_DB: mb_testPOSTGRES_HOST_AUTH_METHOD: truststeps:- uses: actions/checkout@v4@@ -72,16 +72,16 @@ jobs:MB_DB_TYPE: postgresMB_DB_PORT: 5432MB_DB_HOST: localhost- MB_DB_DBNAME: circle_test- MB_DB_USER: circle_test+ MB_DB_DBNAME: mb_test+ MB_DB_USER: mb_testservices:postgres:- image: circleci/postgres:latest+ image: postgres:latestports:- "5432:5432"env:- POSTGRES_USER: circle_test- POSTGRES_DB: circle_test+ POSTGRES_USER: mb_test+ POSTGRES_DB: mb_testPOSTGRES_HOST_AUTH_METHOD: truststeps:- uses: actions/checkout@v4@@ -98,13 +98,16 @@ jobs:MB_DB_TYPE: mysqlMB_DB_HOST: localhostMB_DB_PORT: 3306- MB_DB_DBNAME: circle_test+ MB_DB_DBNAME: mb_testMB_DB_USER: rootservices:mysql:- image: cimg/mysql:8.4+ image: mysql:8.4ports:- "3306:3306"+ env:+ MYSQL_ALLOW_EMPTY_PASSWORD: true+ MYSQL_DATABASE: mb_teststeps:- uses: actions/checkout@v4- uses: ./.github/actions/cross-branch-migration-test@@ -120,7 +123,7 @@ jobs:MB_DB_TYPE: mysqlMB_DB_HOST: localhostMB_DB_PORT: 3306- MB_DB_DBNAME: circle_test+ MB_DB_DBNAME: mb_testMB_DB_USER: rootMB_MYSQL_TEST_USER: rootservices:@@ -128,7 +131,7 @@ jobs:image: mysql:latestenv:MYSQL_ALLOW_EMPTY_PASSWORD: true- MYSQL_DATABASE: circle_test+ MYSQL_DATABASE: mb_testports:- "3306:3306"steps:@@ -146,13 +149,16 @@ jobs:MB_DB_TYPE: mysqlMB_DB_HOST: localhostMB_DB_PORT: 3306- MB_DB_DBNAME: circle_test+ MB_DB_DBNAME: mb_testMB_DB_USER: rootservices:mariadb:- image: circleci/mariadb:10.6+ image: mariadb:10.6ports:- "3306:3306"+ env:+ MARIADB_ALLOW_EMPTY_ROOT_PASSWORD: true+ MARIADB_DATABASE: mb_teststeps:- uses: actions/checkout@v4- uses: ./.github/actions/cross-branch-migration-test@@ -168,13 +174,16 @@ jobs:MB_DB_TYPE: mysqlMB_DB_HOST: localhostMB_DB_PORT: 3306- MB_DB_DBNAME: circle_test+ MB_DB_DBNAME: mb_testMB_DB_USER: rootservices:mariadb:- image: circleci/mariadb:latest+ image: mariadb:latestports:- "3306:3306"+ env:+ MARIADB_ALLOW_EMPTY_ROOT_PASSWORD: true+ MARIADB_DATABASE: mb_teststeps:- uses: actions/checkout@v4- uses: ./.github/actions/cross-branch-migration-testdiff --git a/.github/workflows/drivers-stress-test.yml b/.github/workflows/drivers-stress-test.ymlindex 8283acda7f0..d0615190800 100644--- a/.github/workflows/drivers-stress-test.yml+++ b/.github/workflows/drivers-stress-test.yml@@ -119,14 +119,17 @@ jobs:MB_DB_TYPE: mysqlMB_DB_HOST: localhostMB_DB_PORT: 3306- MB_DB_DBNAME: circle_test+ MB_DB_DBNAME: mb_testMB_DB_USER: rootMB_MYSQL_TEST_USER: rootservices:mariadb:- image: circleci/mariadb:10.6+ image: mariadb:10.6ports:- "3306:3306"+ env:+ MARIADB_ALLOW_EMPTY_ROOT_PASSWORD: true+ MARIADB_DATABASE: mb_teststeps:- uses: actions/checkout@v4- name: Test MariaDB driver (10.6)@@ -145,14 +148,17 @@ jobs:MB_DB_TYPE: mysqlMB_DB_HOST: localhostMB_DB_PORT: 3306- MB_DB_DBNAME: circle_test+ MB_DB_DBNAME: mb_testMB_DB_USER: rootMB_MYSQL_TEST_USER: rootservices:mariadb:- image: circleci/mariadb:latest+ image: mariadb:latestports:- "3306:3306"+ env:+ MARIADB_ALLOW_EMPTY_ROOT_PASSWORD: true+ MARIADB_DATABASE: mb_teststeps:- uses: actions/checkout@v4- name: Test MariaDB driver (latest)@@ -284,7 +290,7 @@ jobs:MB_MONGO_TEST_PASSWORD: metasample123services:mongodb:- image: circleci/mongo:latest+ image: mongo:latestports:- "27017:27017"env:@@ -308,14 +314,17 @@ jobs:MB_DB_TYPE: mysqlMB_DB_HOST: localhostMB_DB_PORT: 3306- MB_DB_DBNAME: circle_test+ MB_DB_DBNAME: mb_testMB_DB_USER: rootMB_MYSQL_TEST_USER: rootservices:mysql:- image: cimg/mysql:8.4+ image: mysql:8.4ports:- "3306:3306"+ env:+ MYSQL_ALLOW_EMPTY_PASSWORD: true+ MYSQL_DATABASE: mb_teststeps:- uses: actions/checkout@v4- name: Test MySQL driver (8.4)@@ -334,7 +343,7 @@ jobs:MB_DB_TYPE: mysqlMB_DB_HOST: localhostMB_DB_PORT: 3306- MB_DB_DBNAME: circle_test+ MB_DB_DBNAME: mb_testMB_DB_USER: rootMB_MYSQL_TEST_USER: root# set up env vars for something named "MYSQL_SSL" to run MySQL SSL tests verifying connectivity with PEM cert@@ -463,20 +472,20 @@ jobs:MB_DB_TYPE: postgresMB_DB_PORT: 5432MB_DB_HOST: localhost- MB_DB_DBNAME: circle_test- MB_DB_USER: circle_test- MB_POSTGRESQL_TEST_USER: circle_test+ MB_DB_DBNAME: mb_test+ MB_DB_USER: mb_test+ MB_POSTGRESQL_TEST_USER: mb_testMB_POSTGRES_SSL_TEST_SSL: trueMB_POSTGRES_SSL_TEST_SSL_MODE: verify-fullMB_POSTGRES_SSL_TEST_SSL_ROOT_CERT_PATH: 'test-resources/certificates/us-east-2-bundle.pem'services:postgres:- image: circleci/postgres:latest+ image: postgres:latestports:- "5432:5432"env:- POSTGRES_USER: circle_test- POSTGRES_DB: circle_test+ POSTGRES_USER: mb_test+ POSTGRES_DB: mb_testPOSTGRES_HOST_AUTH_METHOD: truststeps:- uses: actions/checkout@v4diff --git a/.github/workflows/drivers.yml b/.github/workflows/drivers.ymlindex ce6a8ccf614..bd6d0ff04cc 100644--- a/.github/workflows/drivers.yml+++ b/.github/workflows/drivers.yml@@ -563,13 +563,13 @@ jobs:version:- name: MariaDB 10.6junit-name: be-tests-mariadb-10-6-ee- image: circleci/mariadb:10.6+ image: mariadb:10.6env:enable-ssl-tests: 'false'enable-aws-iam-tests: 'false'- name: MariaDB Latestjunit-name: be-tests-mariadb-latest-ee- image: circleci/mariadb:latest+ image: mariadb:latestenv:enable-ssl-tests: 'false'enable-aws-iam-tests: 'false'@@ -602,7 +602,7 @@ jobs:- "3306:3306"env:MYSQL_ALLOW_EMPTY_PASSWORD: true- MYSQL_DATABASE: circle_test+ MYSQL_DATABASE: mb_testenv:# Only run old migrations tests on pushes to master or release branches. All other branches should skip tests# with the tag `mb/old-migrations-test`. `__ADDITIONAL_EXCLUDED_TAG__` is not used anywhere outside of splicing@@ -625,7 +625,7 @@ jobs:MB_DB_TYPE: mysqlMB_DB_HOST: localhostMB_DB_PORT: 3306- MB_DB_DBNAME: circle_test+ MB_DB_DBNAME: mb_testMB_DB_USER: rootMB_MYSQL_TEST_USER: root#diff --git a/.github/workflows/semantic-search.yml b/.github/workflows/semantic-search.ymlindex f4fdb821260..a1d2080ae74 100644--- a/.github/workflows/semantic-search.yml+++ b/.github/workflows/semantic-search.yml@@ -77,11 +77,11 @@ jobs:version:- name: MariaDB 10.6 with pgvector pg17junit-name: semantic-search-tests-mariadb-10-6- mariadb-image: circleci/mariadb:10.6+ mariadb-image: mariadb:10.6pgvector-image: pgvector/pgvector:pg17- name: MariaDB Latest with pgvector pg17junit-name: semantic-search-tests-mariadb-latest- mariadb-image: circleci/mariadb:latest+ mariadb-image: mariadb:latestpgvector-image: pgvector/pgvector:pg17job:- name: Semantic Search Tests@@ -105,14 +105,14 @@ jobs:- "3306:3306"env:MYSQL_ALLOW_EMPTY_PASSWORD: true- MYSQL_DATABASE: circle_test+ MYSQL_DATABASE: mb_testenv:CI: 'true'DRIVERS: mysqlMB_DB_TYPE: mysqlMB_DB_HOST: localhostMB_DB_PORT: 3306- MB_DB_DBNAME: circle_test+ MB_DB_DBNAME: mb_testMB_DB_USER: rootMB_MYSQL_TEST_USER: rootMB_PGVECTOR_DB_URL: 'jdbc:postgres://localhost:5432/mb_semantic_search?user=postgres&password=postgres'@@ -151,7 +151,7 @@ jobs:version:- name: MySQL 8.4 with pgvector pg17junit-name: semantic-search-tests-mysql-8-4- mysql-image: cimg/mysql:8.4+ mysql-image: mysql:8.4pgvector-image: pgvector/pgvector:pg17- name: MySQL Latest with pgvector pg17junit-name: semantic-search-tests-mysql-latest@@ -179,14 +179,14 @@ jobs:- "3306:3306"env:MYSQL_ALLOW_EMPTY_PASSWORD: true- MYSQL_DATABASE: circle_test+ MYSQL_DATABASE: mb_testenv:CI: 'true'DRIVERS: mysqlMB_DB_TYPE: mysqlMB_DB_HOST: localhostMB_DB_PORT: 3306- MB_DB_DBNAME: circle_test+ MB_DB_DBNAME: mb_testMB_DB_USER: rootMB_MYSQL_TEST_USER: rootMB_PGVECTOR_DB_URL: 'jdbc:postgres://localhost:5432/mb_semantic_search?user=postgres&password=postgres'diff --git a/.github/workflows/transforms-python-stress-test.yml b/.github/workflows/transforms-python-stress-test.ymlindex 38b0402711a..233b0dcf57f 100644--- a/.github/workflows/transforms-python-stress-test.yml+++ b/.github/workflows/transforms-python-stress-test.yml@@ -197,14 +197,14 @@ jobs:- "3306:3306"env:MYSQL_ALLOW_EMPTY_PASSWORD: true- MYSQL_DATABASE: circle_test+ MYSQL_DATABASE: mb_testenv:CI: 'true'DRIVERS: mysqlMB_DB_TYPE: mysqlMB_DB_HOST: localhostMB_DB_PORT: 3306- MB_DB_DBNAME: circle_test+ MB_DB_DBNAME: mb_testMB_DB_USER: rootMB_MYSQL_TEST_USER: rootname: MySQL Transformsdiff --git a/docs/developers-guide/drivers/driver-tests.md b/docs/developers-guide/drivers/driver-tests.mdindex 49ebaae4c6d..012c84e4507 100644--- a/docs/developers-guide/drivers/driver-tests.md+++ b/docs/developers-guide/drivers/driver-tests.md@@ -212,20 +212,20 @@ be-tests-postgres-latest-ee:MB_DB_TYPE: postgresMB_DB_PORT: 5432MB_DB_HOST: localhost- MB_DB_DBNAME: circle_test- MB_DB_USER: circle_test- MB_POSTGRESQL_TEST_USER: circle_test+ MB_DB_DBNAME: mb_test+ MB_DB_USER: mb_test+ MB_POSTGRESQL_TEST_USER: mb_testMB_POSTGRES_SSL_TEST_SSL: trueMB_POSTGRES_SSL_TEST_SSL_MODE: verify-fullMB_POSTGRES_SSL_TEST_SSL_ROOT_CERT_PATH: "test-resources/certificates/us-east-2-bundle.pem"services:postgres:- image: circleci/postgres:latest+ image: postgres:latestports:- "5432:5432"env:- POSTGRES_USER: circle_test- POSTGRES_DB: circle_test+ POSTGRES_USER: mb_test+ POSTGRES_DB: mb_testPOSTGRES_HOST_AUTH_METHOD: truststeps:- uses: actions/checkout@v4