Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Dmytro Bogatov
status-site
Commits
0f8d35bf
Commit
0f8d35bf
authored
Aug 11, 2017
by
Dmytro Bogatov
💕
Browse files
Probe.
parent
bd9e6e41
Pipeline
#603
passed with stages
in 4 minutes and 39 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
0f8d35bf
...
...
@@ -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
...
...
client/ts/modules/metric-page/abstract.ts
View file @
0f8d35bf
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment