annotate testbench-node/docker-entrypoint.sh @ 344:731a1492c8a0

testbench updates
author aldrich@ssdt-ohio.org
date Wed, 20 May 2020 15:48:31 +0100
parents 0f366721a499
children
rev   line source
77
0f366721a499 add dockerfiles for testbench grid
smith@nwoca.org
parents:
diff changeset
1 #!/bin/bash
0f366721a499 add dockerfiles for testbench grid
smith@nwoca.org
parents:
diff changeset
2 set -e
0f366721a499 add dockerfiles for testbench grid
smith@nwoca.org
parents:
diff changeset
3
0f366721a499 add dockerfiles for testbench grid
smith@nwoca.org
parents:
diff changeset
4 case "$1" in
0f366721a499 add dockerfiles for testbench grid
smith@nwoca.org
parents:
diff changeset
5
0f366721a499 add dockerfiles for testbench grid
smith@nwoca.org
parents:
diff changeset
6 node)
344
731a1492c8a0 testbench updates
aldrich@ssdt-ohio.org
parents: 77
diff changeset
7 java -jar testbench-standalone.jar -role node -hub http://$HUB_HOST:4444/grid/register -browser "browserName=chrome"
77
0f366721a499 add dockerfiles for testbench grid
smith@nwoca.org
parents:
diff changeset
8 ;;
0f366721a499 add dockerfiles for testbench grid
smith@nwoca.org
parents:
diff changeset
9
0f366721a499 add dockerfiles for testbench grid
smith@nwoca.org
parents:
diff changeset
10 *)
0f366721a499 add dockerfiles for testbench grid
smith@nwoca.org
parents:
diff changeset
11 exec "$@"
0f366721a499 add dockerfiles for testbench grid
smith@nwoca.org
parents:
diff changeset
12 ;;
0f366721a499 add dockerfiles for testbench grid
smith@nwoca.org
parents:
diff changeset
13
0f366721a499 add dockerfiles for testbench grid
smith@nwoca.org
parents:
diff changeset
14 esac
0f366721a499 add dockerfiles for testbench grid
smith@nwoca.org
parents:
diff changeset
15