mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
To get rid of issues involving date/time when testing. Also, makes it possible to run mysql integration tests for both grafana config db and tsdb at the same time using GRAFANA_TEST_DB=mysql go test ./pkg/...
12 lines
265 B
YAML
12 lines
265 B
YAML
mysqltests:
|
|
build:
|
|
context: blocks/mysql_tests
|
|
environment:
|
|
MYSQL_ROOT_PASSWORD: rootpass
|
|
MYSQL_DATABASE: grafana_tests
|
|
MYSQL_USER: grafana
|
|
MYSQL_PASSWORD: password
|
|
ports:
|
|
- "3306:3306"
|
|
tmpfs: /var/lib/mysql:rw
|