annotate testbench-node/docker-entrypoint.sh @ 530:7067a9e7e993 release/2.17.0

flow: Created branch 'release/2.17.0'.
author Marc Davis <marc.davis@mcoecn.org>
date Thu, 02 May 2024 22:45:37 -0400
parents b8373a99ad4d
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)
343
b8373a99ad4d 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