File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -12,12 +12,12 @@ machine:
1212
1313dependencies :
1414 pre :
15- - docker pull plotly/imageserver :latest
15+ - docker pull plotly/testbed :latest
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
18+ - docker run -d --name mytestbed -v $PWD:/var/www/streambed/image_server/plotly.js -p 9010:9010 plotly/testbed :latest
1919 - wget --server-response --spider --tries=8 --retry-connrefused http://localhost:9010/ping
2020test :
2121 override :
22- - sudo lxc-attach -n "$(docker inspect --format '{{.Id}}' myimageserver )" -- bash -c "cd /var/www/streambed/image_server/plotly.js && node test/image/compare_pixels_test.js"
22+ - sudo lxc-attach -n "$(docker inspect --format '{{.Id}}' mytestbed )" -- bash -c "cd /var/www/streambed/image_server/plotly.js && node test/image/compare_pixels_test.js"
2323 - npm run citest-jasmine
Original file line number Diff line number Diff line change 1313
1414dev :
1515 container_name : imagetest
16- image : plotly/imageserver :latest
16+ image : plotly/testbed :latest
1717 volumes :
1818 - .:/var/www/streambed/image_server/plotly.js
1919 ports :
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ docker-compose up -d
3535```
3636
3737In the ` docker-compose.yml ` file, ` latest ` is the latest Plotly Image-Server docker container version
38- as listed on [ hub.docker.com] ( https://hub.docker.com/r/plotly/imageserver /tags/ ) and
38+ as listed on [ hub.docker.com] ( https://hub.docker.com/r/plotly/testbed /tags/ ) and
3939` imagetest ` is the name of the docker container. The ` -d ` flag tells docker to start the containers in the background and leave them running.
4040
4141### Step 2: Run the image tests
You can’t perform that action at this time.
0 commit comments