@malloydata/malloy-tests 0.0.196-dev241007232826 → 0.0.196-dev241008013446
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/mysql/mysql_start.sh +6 -5
- package/package.json +8 -8
package/mysql/mysql_start.sh
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
#! /bin/bash
|
|
2
|
+
set -e
|
|
3
|
+
|
|
2
4
|
rm -rf .tmp
|
|
3
5
|
mkdir .tmp
|
|
4
6
|
|
|
5
|
-
#
|
|
6
|
-
|
|
7
7
|
# run docker
|
|
8
|
-
|
|
8
|
+
SCRIPTDIR=$(dirname $0)
|
|
9
|
+
docker run -p 3306:3306 -d -v $SCRIPTDIR/../data/mysql:/init_data --name mysql-malloy -e MYSQL_ALLOW_EMPTY_PASSWORD=yes -d mysql:8.4.2
|
|
9
10
|
|
|
10
11
|
# wait for server to start
|
|
11
12
|
counter=0
|
|
@@ -27,6 +28,6 @@ done
|
|
|
27
28
|
# load the test data.
|
|
28
29
|
docker exec mysql-malloy cp /init_data/malloytest.mysql.gz /tmp
|
|
29
30
|
docker exec mysql-malloy gunzip /tmp/malloytest.mysql.gz
|
|
30
|
-
docker exec mysql-malloy mysql -uroot -e 'drop database if exists malloytest; create database malloytest; use malloytest; source /tmp/malloytest.mysql'
|
|
31
|
+
docker exec mysql-malloy mysql -P3306 -h127.0.0.1 -uroot -e 'drop database if exists malloytest; create database malloytest; use malloytest; source /tmp/malloytest.mysql;'
|
|
31
32
|
|
|
32
|
-
echo "MySQL running on port 3306"
|
|
33
|
+
echo "MySQL running on port 3306"
|
package/package.json
CHANGED
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@jest/globals": "^29.4.3",
|
|
24
|
-
"@malloydata/db-bigquery": "^0.0.196-
|
|
25
|
-
"@malloydata/db-duckdb": "^0.0.196-
|
|
26
|
-
"@malloydata/db-postgres": "^0.0.196-
|
|
27
|
-
"@malloydata/db-snowflake": "^0.0.196-
|
|
28
|
-
"@malloydata/db-trino": "^0.0.196-
|
|
29
|
-
"@malloydata/malloy": "^0.0.196-
|
|
30
|
-
"@malloydata/render": "^0.0.196-
|
|
24
|
+
"@malloydata/db-bigquery": "^0.0.196-dev241008013446",
|
|
25
|
+
"@malloydata/db-duckdb": "^0.0.196-dev241008013446",
|
|
26
|
+
"@malloydata/db-postgres": "^0.0.196-dev241008013446",
|
|
27
|
+
"@malloydata/db-snowflake": "^0.0.196-dev241008013446",
|
|
28
|
+
"@malloydata/db-trino": "^0.0.196-dev241008013446",
|
|
29
|
+
"@malloydata/malloy": "^0.0.196-dev241008013446",
|
|
30
|
+
"@malloydata/render": "^0.0.196-dev241008013446",
|
|
31
31
|
"events": "^3.3.0",
|
|
32
32
|
"jsdom": "^22.1.0",
|
|
33
33
|
"luxon": "^2.4.0",
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"@types/jsdom": "^21.1.1",
|
|
38
38
|
"@types/luxon": "^2.4.0"
|
|
39
39
|
},
|
|
40
|
-
"version": "0.0.196-
|
|
40
|
+
"version": "0.0.196-dev241008013446"
|
|
41
41
|
}
|