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

Commit 36cb977

Browse files
committed
Chore: fix selenium_version & selenium_revision_version
1 parent 236b861 commit 36cb977

File tree

4 files changed

+12
-38
lines changed

4 files changed

+12
-38
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Note image ids also change after scm-source.json has being updated which trigger
88
docker exec grid versions
99

1010
## 3.3.1-p0
11-
+ **Changes:** https://github.com/elgalu/docker-selenium/compare/326af92110685041616f79b4...TBD_CUR_COMM (2017-03-30)
11+
+ **Changes:** https://github.com/elgalu/docker-selenium/compare/326af92110685041616f79b4...236b861177bd2917d86 (2017-03-30)
1212
+ Upgrade Selenium minor to from 3.2.0 to 3.3.1
1313
+ Upgrade Firefox major from 51.0.1 to 52.0.2
1414
+ Upgrade GeckoDriver from 0.14.0 to 0.15.0

bin/selenium_revision_version

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,10 @@
11
#!/usr/bin/env bash
22
set -e
33

4-
# log_file="selenium_version.log"
5-
# java -jar ${SELENIUM_JAR_PATH} \
6-
# -port ${SELENIUM_HUB_PORT} \
7-
# -log ${log_file} \
8-
# >/dev/null 2>&1 &
9-
# pid=$!
10-
# sleep 1 && kill ${pid} || true
11-
# rm -f ${log_file}
12-
13-
[ -z "${USE_SELENIUM}" ] && export USE_SELENIUM="$(cat USE_SELENIUM)"
14-
[ -z "${SELENIUM_JAR_PATH}" ] && export SELENIUM_JAR_PATH="$(cat SELENIUM_JAR_PATH)"
15-
[ -z "${SELENIUM_HUB_PORT}" ] && export SELENIUM_HUB_PORT="$(cat SELENIUM_HUB_PORT)"
16-
[ -z "${LOGS_DIR}" ] && export LOGS_DIR="$(cat LOGS_DIR)"
4+
SELENIUM_JAR_PATH="/home/seluser/selenium-server-standalone-3.jar"
175

186
# Selenium 3 - Example:
197
#=> 5234b32
20-
if [ "${USE_SELENIUM}" == "3" ]; then
21-
java -jar ${SELENIUM_JAR_PATH} --version \
22-
| grep revision \
23-
| grep -Po '(?<=revision: )([a-z0-9\.]+)'
24-
fi
8+
java -jar ${SELENIUM_JAR_PATH} --version \
9+
| grep revision \
10+
| grep -Po '(?<=revision: )([a-z0-9\.]+)'

bin/selenium_version

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,11 @@
11
#!/usr/bin/env bash
22
set -e
33

4-
# log_file="selenium_version.log"
5-
# java -jar ${SELENIUM_JAR_PATH} \
6-
# -port ${SELENIUM_HUB_PORT} \
7-
# -log ${log_file} \
8-
# >/dev/null 2>&1 &
9-
# pid=$!
10-
# sleep 1 && kill ${pid} || true
11-
# rm -f ${log_file}
12-
13-
[ -z "${USE_SELENIUM}" ] && export USE_SELENIUM="$(cat USE_SELENIUM)"
14-
[ -z "${SELENIUM_JAR_PATH}" ] && export SELENIUM_JAR_PATH="$(cat SELENIUM_JAR_PATH)"
15-
[ -z "${SELENIUM_HUB_PORT}" ] && export SELENIUM_HUB_PORT="$(cat SELENIUM_HUB_PORT)"
16-
[ -z "${LOGS_DIR}" ] && export LOGS_DIR="$(cat LOGS_DIR)"
4+
SELENIUM_JAR_PATH="/home/seluser/selenium-server-standalone-3.jar"
175

186
# Selenium 3 - Example:
197
#=> 3.3.1
20-
if [ "${USE_SELENIUM}" == "3" ]; then
21-
java -jar ${SELENIUM_JAR_PATH} --version \
22-
| grep version \
23-
| grep -Po '(?<=version: )([a-z0-9\.]+)' \
24-
| sed 's/\.$//'
25-
fi
8+
java -jar ${SELENIUM_JAR_PATH} --version \
9+
| grep version \
10+
| grep -Po '(?<=version: )([a-z0-9\.]+)' \
11+
| sed 's/\.$//'

test/script_push

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,8 @@ update_changelog() {
173173
sed -i -- "s/TBD_FIREFOX_FOR_SEL3/${TBD_FIREFOX_FOR_SEL3}/g" CHANGELOG.md || true
174174
sed -i -- "s/TBD_SELENIUM_2_VERSION/${TBD_SELENIUM_2_VERSION}/g" CHANGELOG.md || true
175175
sed -i -- "s/TBD_SELENIUM_2_REVISION/${TBD_SELENIUM_2_REVISION}/g" CHANGELOG.md || true
176+
sed -i -- "s/TBD_SELENIUM_3_VERSION/${TBD_SELENIUM_3_VERSION}/g" CHANGELOG.md || true
177+
sed -i -- "s/TBD_SELENIUM_3_REVISION/${TBD_SELENIUM_3_REVISION}/g" CHANGELOG.md || true
176178
sed -i -- "s/TBD_PYTHON_VERSION/${TBD_PYTHON_VERSION}/g" CHANGELOG.md || true
177179
sed -i -- "s/TBD_JAVA_BUILD/${TBD_JAVA_BUILD}/g" CHANGELOG.md || true
178180
sed -i -- "s/TBD_JAVA_VENDOR/${TBD_JAVA_VENDOR}/g" CHANGELOG.md || true

0 commit comments

Comments
 (0)