Skip to content
This repository was archived by the owner on Jun 30, 2021. It is now read-only.

Commit bbff579

Browse files
committed
Fix -proxy customization via SELENIUM_NODE_PROXY_PARAMS
1 parent d49c7c5 commit bbff579

File tree

4 files changed

+35
-9
lines changed

4 files changed

+35
-9
lines changed

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,30 @@ Note image ids also change after scm-source.json has being updated which trigger
77
###### To get container versions
88
docker exec grid versions
99

10+
## TBD_DOCKER_TAG
11+
+ Date: TBD_DATE
12+
+ Fix -proxy customization via SELENIUM_NODE_PROXY_PARAMS
13+
+ Image tag details:
14+
+ Selenium: vTBD_SELENIUM_VERSION (TBD_SELENIUM_REVISION)
15+
+ Chrome stable: TBD_CHROME_STABLE
16+
+ Firefox stable: TBD_FIREFOX_STABLE
17+
+ Chromedriver: TBD_CHROME_DRIVER (TBD_CHROMEDRIVER_COMMIT)
18+
+ Java: TBD_JAVA_VENDOR Java TBD_JAVA_BUILD
19+
+ Timezone: TBD_TIME_ZONE
20+
+ FROM ubuntu:UBUNTU_FLAVOR-UBUNTU_DATE
21+
+ Python: TBD_PYTHON_VERSION
22+
+ Sauce Connect TBD_SAUCE_CONNECT_VERS, build TBD_SAUCE_CONNECT_BUILD TBD_SAUCE_CONNECT_REVISION
23+
+ BrowserStack Local version TBD_BROWSER_STACK_VERSION
24+
+ Tested on kernel dev host: 4.4.0-30-generic x86_64
25+
+ Tested on kernel CI host: TBD_HOST_UNAME
26+
+ Built at dev host with: Docker version 1.11.2, build b9f10c9
27+
+ Built at CI host with: Docker version TBD_DOCKER_VERS, build TBD_DOCKER_BUILD
28+
+ Built at dev host with: Docker Compose version 1.7.1, build 0a9ab35
29+
+ Built at CI host with: Docker Compose version TBD_DOCKER_COMPOSE_VERS, build TBD_DOCKER_COMPOSE_BUILD
30+
+ Image size: TBD_IMAGE_SIZE
31+
+ Digest: TBD_DIGEST
32+
+ Image ID: TBD_IMAGE_ID
33+
1034
## 2.53.1c
1135
+ Date: 2016-07-04
1236
+ Add node -proxy customization via SELENIUM_NODE_PROXY_PARAMS

CONTRIBUTING.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,19 @@ For pull requests or local commits:
88
open ./images/grid_console.png #to verify the versions are correct
99
git checkout ./images/grid_console.png && open ./videos/chrome/test.mkv
1010
travis lint #if you changed .travis.yml
11-
git checkout -b tmp-2.53.1c #name your branch according to your changes
11+
git checkout -b tmp-2.53.1d #name your branch according to your changes
1212
#git add ... git commit ... git push ... open pull request
1313

1414
For repository owners only:
1515

16-
git commit -m "Add node -proxy customization via SELENIUM_NODE_PROXY_PARAMS"
16+
git commit -m "Fix -proxy customization via SELENIUM_NODE_PROXY_PARAMS"
1717
git tag -d latest #tag latest will be updated from TravisCI
18-
git tag 2.53.1c && git push origin tmp-2.53.1c && git push --tags
18+
git tag 2.53.1d && git push origin tmp-2.53.1d && git push --tags
1919

2020
-- Wait for Travis to pass OK
2121
-- Make sure changes got merged into master by elgalubot
2222

23-
git checkout master && git pull && git branch -d tmp-2.53.1c && git push origin --delete tmp-2.53.1c
23+
git checkout master && git pull && git branch -d tmp-2.53.1d && git push origin --delete tmp-2.53.1d
2424

2525
-- Re-add TBD_* section in CHANGELOG.md starting with TBD_DOCKER_TAG
2626
-- Upgrade release tag in github.com with latest CHANGELOG.md
@@ -37,9 +37,9 @@ Keep certain bins if chrome version changed for example:
3737
## Retry
3838
Failed in Travis? retry
3939

40-
git tag -d 2.53.1c && git push origin :2.53.1c
40+
git tag -d 2.53.1d && git push origin :2.53.1d
4141
#git add ...
42-
git commit --amend && git tag 2.53.1c && git push --force origin tmp-2.53.1c && git push --tags
42+
git commit --amend && git tag 2.53.1d && git push --force origin tmp-2.53.1d && git push --tags
4343

4444
## Docker push from Travis CI
4545
Travis [steps](https://docs.travis-ci.com/user/docker/#Pushing-a-Docker-Image-to-a-Registry) involve `docker login` and docker credentials encryptions.

TBD_DOCKER_TAG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
+ Python: TBD_PYTHON_VERSION
1313
+ Sauce Connect TBD_SAUCE_CONNECT_VERS, build TBD_SAUCE_CONNECT_BUILD TBD_SAUCE_CONNECT_REVISION
1414
+ BrowserStack Local version TBD_BROWSER_STACK_VERSION
15-
+ Tested on kernel dev host: 4.4.0-29-generic x86_64
15+
+ Tested on kernel dev host: 4.4.0-30-generic x86_64
1616
+ Tested on kernel CI host: TBD_HOST_UNAME
1717
+ Built at dev host with: Docker version 1.11.2, build b9f10c9
1818
+ Built at CI host with: Docker version TBD_DOCKER_VERS, build TBD_DOCKER_BUILD

bin/entry.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,10 @@ elif [ "${PICK_ALL_RANDMON_PORTS}" = "true" ]; then
170170
fi
171171
fi
172172

173-
if [[ "${SELENIUM_NODE_PROXY_PARAMS}" != "" ]]; then
174-
CUSTOM_SELENIUM_NODE_PROXY_PARAMS="-proxy ${SELENIUM_NODE_PROXY_PARAMS}"
173+
if [ "${SELENIUM_NODE_PROXY_PARAMS}" != "" ]; then
174+
export CUSTOM_SELENIUM_NODE_PROXY_PARAMS="-proxy ${SELENIUM_NODE_PROXY_PARAMS}"
175+
else
176+
export CUSTOM_SELENIUM_NODE_PROXY_PARAMS=""
175177
fi
176178

177179
#----------------------------------------

0 commit comments

Comments
 (0)