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

Commit 5e35ed4

Browse files
committed
Upgrade Chrome major to 53.0.2785.89
1 parent df9c41e commit 5e35ed4

File tree

10 files changed

+61
-29
lines changed

10 files changed

+61
-29
lines changed

.travis.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ matrix:
2525
# com.docker.docker Incompatible CPU detected
2626
# Docker requires a processor with virtualization capabilities
2727
- env:
28-
- DOCKER_VERSION="1.12.0-rc4"
28+
- DOCKER_VERSION="1.12.1-rc2"
2929
DOCKER_COMPOSE_VERSION="1.8.0"
3030
OPERATING_SYSTEM="osx"
3131
include:
@@ -39,14 +39,15 @@ matrix:
3939
- DOCKER_VERSION="stable"
4040
DOCKER_COMPOSE_VERSION="1.7.1"
4141
DOCKER_PUSH=true
42+
DOCKER_PUSH_LATEST=false
4243
# Linux with docker:beta compose:stable/older
4344
- os: linux
4445
sudo: required
4546
dist: trusty
4647
services:
4748
- docker
4849
env:
49-
- DOCKER_VERSION="1.12.0-rc4"
50+
- DOCKER_VERSION="1.12.1-rc2"
5051
DOCKER_COMPOSE_VERSION="1.7.1"
5152
# Linux with docker:stable compose:beta
5253
- os: linux
@@ -64,13 +65,13 @@ matrix:
6465
services:
6566
- docker
6667
env:
67-
- DOCKER_VERSION="1.12.0-rc4"
68+
- DOCKER_VERSION="1.12.1-rc2"
6869
DOCKER_COMPOSE_VERSION="1.8.0"
6970
# Mac OSX: only test native docker version
7071
- os: osx
7172
osx_image: xcode8
7273
env:
73-
- DOCKER_VERSION="1.12.0-rc4"
74+
- DOCKER_VERSION="1.12.1-rc2"
7475
DOCKER_COMPOSE_VERSION="1.8.0"
7576
OPERATING_SYSTEM="osx"
7677

CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,32 @@ 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+
+ Upgrade Chrome major to 53.0.2785.89
13+
+ Upgrade Ubuntu xenial to 20160818
14+
+ Upgrade BrowserStack Local 6.1
15+
+ Image tag details:
16+
+ Selenium: vTBD_SELENIUM_VERSION (TBD_SELENIUM_REVISION)
17+
+ Chrome stable: TBD_CHROME_STABLE
18+
+ Firefox stable: TBD_FIREFOX_STABLE
19+
+ Chromedriver: TBD_CHROME_DRIVER (TBD_CHROMEDRIVER_COMMIT)
20+
+ Java: TBD_JAVA_VENDOR Java TBD_JAVA_BUILD
21+
+ Timezone: TBD_TIME_ZONE
22+
+ FROM ubuntu:UBUNTU_FLAVOR-UBUNTU_DATE
23+
+ Python: TBD_PYTHON_VERSION
24+
+ Sauce Connect TBD_SAUCE_CONNECT_VERS, build TBD_SAUCE_CONNECT_BUILD TBD_SAUCE_CONNECT_REVISION
25+
+ BrowserStack Local version TBD_BROWSER_STACK_VERSION
26+
+ Tested on kernel dev host: 4.4.0-37-generic x86_64
27+
+ Tested on kernel CI host: TBD_HOST_UNAME
28+
+ Built at dev host with: Docker version 1.12.1, build 23cf638
29+
+ Built at CI host with: Docker version TBD_DOCKER_VERS, build TBD_DOCKER_BUILD
30+
+ Built at dev host with: Docker Compose version 1.8.0, build f3628c7
31+
+ Built at CI host with: Docker Compose version TBD_DOCKER_COMPOSE_VERS, build TBD_DOCKER_COMPOSE_BUILD
32+
+ Image size: TBD_IMAGE_SIZE
33+
+ Digest: TBD_DIGEST
34+
+ Image ID: TBD_IMAGE_ID
35+
1036
## 2.53.1r
1137
+ Date: 2016-08-09
1238
+ Upgrade Chrome patch to 52.0.2743.116

CONTRIBUTING.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@ 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/*.mkv
1010
travis lint #if you changed .travis.yml
11-
git checkout -b tmp-2.53.1r #name your branch according to your changes
11+
git checkout -b tmp-2.53.1s #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 "Upgrade Chrome patch & Chromedriver 2.23"
17-
git tag -d latest && git tag 2.53.1r && git push origin tmp-2.53.1r && git push --tags
16+
git commit -m "Upgrade Chrome major to 53.0.2785.89"
17+
git tag -d latest && git tag 2.53.1s && git push origin tmp-2.53.1s && git push --tags
1818

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

22-
git checkout master && git pull && git branch -d tmp-2.53.1r && git push origin --delete tmp-2.53.1r
22+
git checkout master && git pull && git branch -d tmp-2.53.1s && git push origin --delete tmp-2.53.1s
2323

2424
-- Re-add TBD_* section in CHANGELOG.md starting with TBD_DOCKER_TAG
2525
-- If Chrome version changed upload:
@@ -29,9 +29,9 @@ For repository owners only:
2929
### Chrome artifact
3030
Keep certain bins if chrome version changed for example:
3131

32-
# VER="52.0.2743.116"
3332
cd binaries && wget -O stable_updates.html "http://googlechromereleases.blogspot.de/search/label/Stable%20updates"
3433
VER=$(grep -Po '([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+)' stable_updates.html | head -1)
34+
echo $VER; VER="53.0.2785.89"
3535
NAME="google-chrome-stable_${VER}_amd64" && echo ${NAME}
3636
wget -nv --show-progress -O ${NAME}.deb "https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb"
3737
md5sum ${NAME}.deb > ${NAME}.md5 && shasum ${NAME}.deb > ${NAME}.sha
@@ -40,9 +40,9 @@ Keep certain bins if chrome version changed for example:
4040
## Retry
4141
Failed in Travis? retry
4242

43-
git tag -d 2.53.1r && git push origin :2.53.1r
43+
git tag -d 2.53.1s && git push origin :2.53.1s
4444
#git add ...
45-
git commit --amend && git tag 2.53.1r && git push --force origin tmp-2.53.1r && git push --tags
45+
git commit --amend && git tag 2.53.1s && git push --force origin tmp-2.53.1s && git push --tags
4646

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

Dockerfile

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
###################################################
44
#== Ubuntu xenial is 16.04, i.e. FROM ubuntu:16.04
55
# search for more at https://registry.hub.docker.com/_/ubuntu/tags/manage/
6-
FROM ubuntu:xenial-20160713
6+
FROM ubuntu:xenial-20160818
77
ENV UBUNTU_FLAVOR="xenial" \
8-
UBUNTU_DATE="20160713"
8+
UBUNTU_DATE="20160818"
99

1010
#== Ubuntu wily is 15.10, i.e. FROM ubuntu:15.10
1111
# FROM ubuntu:wily-20151208
@@ -38,9 +38,11 @@ ENV DEBIAN_FRONTEND=noninteractive \
3838
DEBCONF_NONINTERACTIVE_SEEN=true
3939

4040
# http://askubuntu.com/a/235911/134645
41+
# Remove with: sudo apt-key del 2EA8F35793D8809A
42+
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 2EA8F35793D8809A \
43+
&& apt-key update -qqy
4144
# Remove with: sudo apt-key del 40976EAF437D05B5
42-
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 2EA8F35793D8809A \
43-
&& apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5 \
45+
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5 \
4446
&& apt-key update -qqy
4547

4648
#========================
@@ -770,7 +772,7 @@ RUN mkdir -p ${NORMAL_USER_HOME}/tmp && cd ${NORMAL_USER_HOME}/tmp \
770772
# TODO: Use Google fingerprint to verify downloads
771773
# https://www.google.de/linuxrepositories/
772774
# Also fix .deb file names with correct version
773-
RUN latest_chrome_version_trigger="52.0.2743.116" \
775+
RUN latest_chrome_version_trigger="53.0.2785.89" \
774776
&& mkdir -p ${NORMAL_USER_HOME}/chrome-deb \
775777
&& export CHROME_URL="https://dl.google.com/linux/direct" \
776778
&& wget -nv -O \

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ Powered by Supervisor, the container leaves many logs;
494494
/var/log/cont/xvfb-stderr.log
495495
/var/log/cont/xvfb-stdout.log
496496

497-
497+
<!-- links -->
498498
[2.47.1m]: https://github.com/elgalu/docker-selenium/releases/tag/2.47.1m
499499
[Selenium]: https://github.com/SeleniumHQ/selenium
500500
[sauce]: https://saucelabs.com/selenium/selenium-grid

TBD_DOCKER_TAG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
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-32-generic x86_64
15+
+ Tested on kernel dev host: 4.4.0-37-generic x86_64
1616
+ Tested on kernel CI host: TBD_HOST_UNAME
17-
+ Built at dev host with: Docker version 1.12.0, build 8eab29e
17+
+ Built at dev host with: Docker version 1.12.1, build 23cf638
1818
+ Built at CI host with: Docker version TBD_DOCKER_VERS, build TBD_DOCKER_BUILD
1919
+ Built at dev host with: Docker Compose version 1.8.0, build f3628c7
2020
+ Built at CI host with: Docker Compose version TBD_DOCKER_COMPOSE_VERS, build TBD_DOCKER_COMPOSE_BUILD

capabilities.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"caps": [
33
{
44
"BROWSER_NAME": "chrome",
5-
"VERSION": "52.0.2743.116",
5+
"VERSION": "53.0.2785.89",
66
"PLATFORM": "LINUX"
77
},
88
{

dns/etc/hosts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@
22

33
# This entries help to avoid DNS resolve issue with Sauce Connect
44
162.222.73.28 saucelabs.com
5-
162.222.76.100 maki76100.miso.saucelabs.com
65
23.55.155.27 g.symcd.com

test/script_push

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,11 @@ docker_login_tag_push() {
2929
docker tag selenium:latest elgalu/selenium:${TRAVIS_TAG}
3030
docker tag selenium:latest elgalu/selenium:latest
3131
docker push elgalu/selenium:${TRAVIS_TAG} | tee docker_push.log
32-
docker push elgalu/selenium:latest
32+
if [ "${DOCKER_PUSH_LATEST}" != "true" ]; then
33+
echo "DOCKER_PUSH_LATEST is false so don't update tag :latest"
34+
else
35+
docker push elgalu/selenium:latest
36+
fi
3337
}
3438

3539
#################################

test/script_scenario_make

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ else
2929
fi
3030
# also has a real display so we can "see"
3131
make see browser=chrome node=1
32-
sleep 1
33-
make see browser=firefox node=1
34-
if [ "$(uname)" != 'Darwin' ]; then
35-
sleep 3
36-
make move browser=chrome node=1
37-
make move browser=firefox node=1
38-
fi
32+
# sleep 1
33+
# make see browser=firefox node=1
34+
# if [ "$(uname)" != 'Darwin' ]; then
35+
# sleep 3
36+
# make move browser=chrome node=1
37+
# make move browser=firefox node=1
38+
# fi
3939
fi
4040

4141
make test

0 commit comments

Comments
 (0)