File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -227,10 +227,10 @@ release: tag_major_minor
227
227
docker push $(NAME ) /standalone-firefox-debug:$(MAJOR_MINOR_PATCH )
228
228
229
229
test :
230
- ./test.sh
231
- ./sa-test.sh
232
- ./test.sh debug
233
- ./sa-test.sh debug
230
+ VERSION= $( VERSION ) ./test.sh
231
+ VERSION= $( VERSION ) ./sa-test.sh
232
+ VERSION= $( VERSION ) ./test.sh debug
233
+ VERSION= $( VERSION ) ./sa-test.sh debug
234
234
235
235
.PHONY : \
236
236
all \
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
3
3
DEBUG=' '
4
+ VERSION=${VERSION:- 3.4.0-bismuth}
4
5
5
6
if [ -n " $1 " ] && [ $1 == ' debug' ]; then
6
7
DEBUG=' -debug'
@@ -13,7 +14,7 @@ function test_standalone {
13
14
BROWSER=$1
14
15
echo Starting Selenium standalone-$BROWSER$DEBUG container
15
16
16
- SA=$( docker run -d selenium/standalone-$BROWSER$DEBUG :3.4.0-bismuth )
17
+ SA=$( docker run -d selenium/standalone-$BROWSER$DEBUG :${VERSION} )
17
18
SA_NAME=$( docker inspect -f ' {{ .Name }}' $SA | sed s:/::)
18
19
TEST_CMD=" node smoke-$BROWSER .js"
19
20
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ echo Building test container image
24
24
docker build -t selenium/test:local ./Test
25
25
26
26
echo ' Starting Selenium Hub Container...'
27
- HUB=$( docker run -d selenium/hub:3.4.0-bismuth )
27
+ HUB=$( docker run -d selenium/hub:${VERSION} )
28
28
HUB_NAME=$( docker inspect -f ' {{ .Name }}' $HUB | sed s:/::)
29
29
echo ' Waiting for Hub to come online...'
30
30
docker logs -f $HUB &
You can’t perform that action at this time.
0 commit comments