Commit dc1535cf by Torkel Ödegaard

Merge branch 'master' of github.com:grafana/grafana

parents c2686781 61b2100b
...@@ -32,7 +32,7 @@ jobs: ...@@ -32,7 +32,7 @@ jobs:
- run: sudo apt update - run: sudo apt update
- run: sudo apt install -y mysql-client - run: sudo apt install -y mysql-client
- run: dockerize -wait tcp://127.0.0.1:3306 -timeout 120s - run: dockerize -wait tcp://127.0.0.1:3306 -timeout 120s
- run: cat docker/blocks/mysql_tests/setup.sql | mysql -h 127.0.0.1 -P 3306 -u root -prootpass - run: cat devenv/docker/blocks/mysql_tests/setup.sql | mysql -h 127.0.0.1 -P 3306 -u root -prootpass
- run: - run:
name: mysql integration tests name: mysql integration tests
command: 'GRAFANA_TEST_DB=mysql go test ./pkg/services/sqlstore/... ./pkg/tsdb/mysql/... ' command: 'GRAFANA_TEST_DB=mysql go test ./pkg/services/sqlstore/... ./pkg/tsdb/mysql/... '
...@@ -51,7 +51,7 @@ jobs: ...@@ -51,7 +51,7 @@ jobs:
- run: sudo apt update - run: sudo apt update
- run: sudo apt install -y postgresql-client - run: sudo apt install -y postgresql-client
- run: dockerize -wait tcp://127.0.0.1:5432 -timeout 120s - run: dockerize -wait tcp://127.0.0.1:5432 -timeout 120s
- run: 'PGPASSWORD=grafanatest psql -p 5432 -h 127.0.0.1 -U grafanatest -d grafanatest -f docker/blocks/postgres_tests/setup.sql' - run: 'PGPASSWORD=grafanatest psql -p 5432 -h 127.0.0.1 -U grafanatest -d grafanatest -f devenv/docker/blocks/postgres_tests/setup.sql'
- run: - run:
name: postgres integration tests name: postgres integration tests
command: 'GRAFANA_TEST_DB=postgres go test ./pkg/services/sqlstore/... ./pkg/tsdb/postgres/...' command: 'GRAFANA_TEST_DB=postgres go test ./pkg/services/sqlstore/... ./pkg/tsdb/postgres/...'
......
...@@ -25,7 +25,6 @@ module.exports = function (grunt) { ...@@ -25,7 +25,6 @@ module.exports = function (grunt) {
} }
} }
config.coverage = grunt.option('coverage');
config.phjs = grunt.option('phjsToRelease'); config.phjs = grunt.option('phjsToRelease');
config.pkg.version = grunt.option('pkgVer') || config.pkg.version; config.pkg.version = grunt.option('pkgVer') || config.pkg.version;
......
coverage:
precision: 2
round: down
range: "50...100"
status:
project: yes
patch: yes
changes: no
comment: off
#!/bin/bash #!/bin/bash
blocks_dir=blocks blocks_dir=docker/blocks
docker_dir=docker docker_dir=docker
template_dir=templates template_dir=templates
grafana_config_file=conf.tmp grafana_config_file=conf.tmp
grafana_config=config grafana_config=config
compose_header_file=compose_header.yml compose_header_file=docker/compose_header.yml
fig_file=docker-compose.yaml fig_file=docker-compose.yaml
fig_config=docker-compose.yaml fig_config=docker-compose.yaml
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment