Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9c6f4e5

Browse filesBrowse files
committed
using supervisor instead
1 parent 43b7098 commit 9c6f4e5
Copy full SHA for 9c6f4e5

File tree

Expand file treeCollapse file tree

6 files changed

+9
-13
lines changed
Filter options
Expand file treeCollapse file tree

6 files changed

+9
-13
lines changed

‎circle.yml

Copy file name to clipboardExpand all lines: circle.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ machine:
1212

1313
dependencies:
1414
pre:
15-
- docker pull plotly/imageserver:latest
15+
- docker pull plotly/imageserver:candidate
1616
post:
1717
- npm run cibuild
18-
- docker run -d --name myimageserver -v $PWD:/var/www/streambed/image_server/plotly.js -p 9010:9010 plotly/imageserver:latest; sleep 20
18+
- docker run -d --name myimageserver -v $PWD:/var/www/streambed/image_server/plotly.js -p 9010:9010 plotly/imageserver:candidate
1919

2020
test:
2121
override:

‎dist/plotly-geo-assets.js

Copy file name to clipboardExpand all lines: dist/plotly-geo-assets.js
+1-6Lines changed: 1 addition & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎docker-compose.yml

Copy file name to clipboardExpand all lines: docker-compose.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
dev:
1515
container_name: imagetest
16-
image: plotly/imageserver:latest
16+
image: moi/testing #plotly/imageserver:latest
1717
volumes:
1818
- .:/var/www/streambed/image_server/plotly.js
1919
ports:

‎tasks/baseline.sh

Copy file name to clipboardExpand all lines: tasks/baseline.sh
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ CONTAINER_NAME="imagetest" # same as in docker-compose.yml
1212
CMD=(
1313
"cd /var/www/streambed/image_server/plotly.js &&"
1414
"cp -f test/image/index.html ../server_app/index.html &&"
15-
"monit restart nw1 &&"
16-
"sleep 5 &&"
15+
"supervisorctl restart nw1 &&"
16+
"wget --server-response --spider --tries=8 --retry-connrefused http://localhost:9010/ping &&"
1717
"node test/image/make_baseline.js $1"
1818
)
1919

‎tasks/test_image.sh

Copy file name to clipboardExpand all lines: tasks/test_image.sh
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ CONTAINER_NAME="imagetest" # same as in docker-compose.yml
1212
CMD=(
1313
"cd /var/www/streambed/image_server/plotly.js &&"
1414
"cp -f test/image/index.html ../server_app/index.html &&"
15-
"monit restart nw1 &&"
16-
"sleep 5 &&"
15+
"supervisorctl restart nw1 && "
16+
"wget --server-response --spider --tries=8 --retry-connrefused http://localhost:9010/ping &&"
1717
"node test/image/compare_pixels_test.js $1"
1818
)
1919

‎test/image/compare_pixels_test.js

Copy file name to clipboardExpand all lines: test/image/compare_pixels_test.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ function testMock (fileName, t) {
107107
}
108108

109109
request(options)
110+
.on('response', function() { console.log('pong') })
110111
.pipe(savedImageStream)
111112
.on('close', checkImage);
112113
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.