annotate testbench-node/docker-entrypoint.sh @ 605:46a67e7afd98 release/2.23.0 tip

flow: Created branch 'release/2.23.0'.
author Marc Davis <marc.davis@mcoecn.org>
date Wed, 18 Sep 2024 20:38:06 -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