annotate testbench-node/docker-entrypoint.sh @ 408:e49038cbb14c

Add scripts for ITC Management application
author Marc Davis <marc.davis@mcoecn.org>
date Mon, 10 Oct 2022 14:32:06 -0400
parents 731a1492c8a0
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