Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
S
status-site
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
25
Issues
25
List
Boards
Labels
Service Desk
Milestones
Iterations
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dmytro Bogatov
status-site
Commits
d342bebe
Commit
d342bebe
authored
Aug 11, 2017
by
Dmytro Bogatov
💕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix.
parent
6637f741
Pipeline
#605
canceled with stages
in 58 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
52 additions
and
59 deletions
+52
-59
.gitlab-ci.yml
.gitlab-ci.yml
+52
-52
client/ts/modules/metric-page/abstract.ts
client/ts/modules/metric-page/abstract.ts
+0
-7
No files found.
.gitlab-ci.yml
View file @
d342bebe
...
...
@@ -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 @
d342bebe
...
...
@@ -204,13 +204,6 @@ export abstract class MetricPage<T extends Metric<DataPoint>> {
}
}
// 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
Markdown
is supported
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