https://github.com/plotly/plotly.js
Raw File
Tip revision: e246331c0bd34e74807aa406e86d3b1b91c5f45a authored by Étienne Tétreault-Pinard on 28 June 2016, 18:20:12 UTC
1.14.1
Tip revision: e246331
run_in_testbed.sh
#! /bin/bash
#
# Useful shortcut to run command inside the `testbed` docker container
# on CircleCI.
#
# ===============================================================================

ID="$1"
CMD="$2"

CONTAINER="$(docker inspect --format '{{.Id}}' $ID)"
REPOPATH="/var/www/streambed/image_server/plotly.js"

lxc-attach -n $CONTAINER -- bash -c "cd $REPOPATH && $CMD"
back to top