Commit 0f8d35bf authored by Dmytro Bogatov's avatar Dmytro Bogatov 💕

Probe.

parent bd9e6e41
Pipeline #603 passed with stages
in 4 minutes and 39 seconds
......@@ -51,61 +51,61 @@ build-app:
## TEST
unit-test-app:
stage: test
image: microsoft/dotnet:1.1.1-sdk
script:
- printf "{\"Version\":{\"GitHash\":\"%s\"}}" $CI_BUILD_REF > src/version.json
- cd test
- dotnet restore
- ./test.sh | tee tests.out
- "cat tests.out | grep 'Failed: 0.'"
tags:
- docker
# unit-test-app:
# stage: test
# image: microsoft/dotnet:1.1.1-sdk
# script:
# - printf "{\"Version\":{\"GitHash\":\"%s\"}}" $CI_BUILD_REF > src/version.json
# - cd test
# - dotnet restore
# - ./test.sh | tee tests.out
# - "cat tests.out | grep 'Failed: 0.'"
# tags:
# - docker
tidy-app:
stage: test
image: dbogatov/docker-containers:dotnet-core-latest
dependencies:
- build-app
before_script:
- export ASPNETCORE_ENVIRONMENT="Staging"
- cd src/web/bin/release/netcoreapp1.1/publish/
- dotnet web.dll > /dev/null &
- sleep 15
script:
- curl -Ls http://localhost:5555/ | tidy -e
- curl -Ls http://localhost:5555/home/metric/CpuLoad/the-source | tidy -e
tags:
- docker
# tidy-app:
# stage: test
# image: dbogatov/docker-containers:dotnet-core-latest
# dependencies:
# - build-app
# before_script:
# - export ASPNETCORE_ENVIRONMENT="Staging"
# - cd src/web/bin/release/netcoreapp1.1/publish/
# - dotnet web.dll > /dev/null &
# - sleep 15
# script:
# - curl -Ls http://localhost:5555/ | tidy -e
# - curl -Ls http://localhost:5555/home/metric/CpuLoad/the-source | tidy -e
# tags:
# - docker
blc-app:
stage: test
image: dbogatov/docker-containers:dotnet-core-latest
dependencies:
- build-app
before_script:
- export ASPNETCORE_ENVIRONMENT="Staging"
- cd src/web/bin/release/netcoreapp1.1/publish/
- dotnet web.dll > /dev/null &
- sleep 15
script:
- blc --filter-level 3 --input http://localhost:5555 -rog --exclude "*linkedin.*" --exclude "*authenticate*"
tags:
- docker
# blc-app:
# stage: test
# image: dbogatov/docker-containers:dotnet-core-latest
# dependencies:
# - build-app
# before_script:
# - export ASPNETCORE_ENVIRONMENT="Staging"
# - cd src/web/bin/release/netcoreapp1.1/publish/
# - dotnet web.dll > /dev/null &
# - sleep 15
# script:
# - blc --filter-level 3 --input http://localhost:5555 -rog --exclude "*linkedin.*" --exclude "*authenticate*"
# tags:
# - docker
blc-docs:
stage: test
image: dbogatov/docker-containers:jekyll-latest
dependencies:
- build-docs
before_script:
- http-server documentation/out/ -p 8080 > /dev/null &
- sleep 5
script:
- blc --filter-level 3 --input http://localhost:8080 -rog --exclude "*linkedin.*" --exclude "*doxygen.*" --exclude "*status.dbogatov.org*"
tags:
- docker
# blc-docs:
# stage: test
# image: dbogatov/docker-containers:jekyll-latest
# dependencies:
# - build-docs
# before_script:
# - http-server documentation/out/ -p 8080 > /dev/null &
# - sleep 5
# script:
# - blc --filter-level 3 --input http://localhost:8080 -rog --exclude "*linkedin.*" --exclude "*doxygen.*" --exclude "*status.dbogatov.org*"
# tags:
# - docker
## RELEASE
......
......@@ -27,7 +27,7 @@ export abstract class MetricPage<T extends Metric<DataPoint>> {
protected metric: T;
protected dataTablesRendered: boolean = false;
protected dataTable : DataTables.DataTable;
protected dataTable: DataTables.DataTable;
/**
* Minimal theoretical value for data series.
......@@ -190,6 +190,13 @@ export abstract class MetricPage<T extends Metric<DataPoint>> {
this.minData)
;
console.log("from: " + from);
console.log("to: " + to);
console.log("maxData: " + this.maxData);
console.log("minData: " + this.minData);
console.log("start: " + this.start);
console.log("end: " + this.end);
plot.setSelection({ xaxis: { from: from, to: to }, yaxis: { from: 0, to: 0 } });
} else {
// if latest data point is more than 2 hours ago
......
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