Skip to content

Commit c0f5422

Browse files
authored
Selenium 4 is here (#1422) [deploy]
* Selenium 4 is here * Moving to latest
1 parent bffe907 commit c0f5422

File tree

4 files changed

+9
-11
lines changed

4 files changed

+9
-11
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ jobs:
6262
DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}}
6363
- name: Deploy new images
6464
run: VERSION="${GRID_VERSION}" BUILD_DATE=${BUILD_DATE} make release
65+
- name: Tag images as latest
66+
run: VERSION="${GRID_VERSION}" BUILD_DATE=${BUILD_DATE} make tag_latest
67+
- name: Deploy latest tag
68+
run: VERSION="${GRID_VERSION}" BUILD_DATE=${BUILD_DATE} make release_latest
6569
- name: Tag browser images
6670
run: VERSION="${GRID_VERSION}" BUILD_DATE=${BUILD_DATE} PUSH_IMAGE=true make tag_and_push_browser_images
6771
- name: Create release notes (release_notes.md)
@@ -77,9 +81,3 @@ jobs:
7781
body_path: release_notes.md
7882
draft: false
7983
prerelease: ${{ env.PRERELEASE }}
80-
81-
# Enable this part when Selenium 4 is released
82-
# - name: Deploy tag latest
83-
# run: VERSION="${TRAVIS_TAG}" make tag_latest
84-
# - name: Deploy release latest
85-
# run: VERSION="${TRAVIS_TAG}" make release_latest

Base/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ COPY supervisord.conf /etc
7171
RUN mkdir -p /opt/selenium /opt/selenium/assets /var/run/supervisor /var/log/supervisor \
7272
&& touch /opt/selenium/config.toml \
7373
&& chmod -R 777 /opt/selenium /opt/selenium/assets /var/run/supervisor /var/log/supervisor /etc/passwd \
74-
&& wget --no-verbose https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.0.0-rc-3/selenium-server-4.0.0-rc-3.jar \
74+
&& wget --no-verbose https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.0.0/selenium-server-4.0.0.jar \
7575
-O /opt/selenium/selenium-server.jar \
7676
&& chgrp -R 0 /opt/selenium ${HOME} /opt/selenium/assets /var/run/supervisor /var/log/supervisor \
7777
&& chmod -R g=u /opt/selenium ${HOME} /opt/selenium/assets /var/run/supervisor /var/log/supervisor

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ tag_latest:
176176
docker tag $(NAME)/standalone-edge:$(TAG_VERSION) $(NAME)/standalone-edge:latest
177177
docker tag $(NAME)/standalone-firefox:$(TAG_VERSION) $(NAME)/standalone-firefox:latest
178178
docker tag $(NAME)/standalone-docker:$(TAG_VERSION) $(NAME)/standalone-docker:latest
179+
docker tag $(NAME)/video:$(FFMPEG_TAG_VERSION)-$(BUILD_DATE) $(NAME)/video:latest
179180

180181
release_latest:
181182
docker push $(NAME)/base:latest
@@ -194,6 +195,7 @@ release_latest:
194195
docker push $(NAME)/standalone-edge:latest
195196
docker push $(NAME)/standalone-firefox:latest
196197
docker push $(NAME)/standalone-docker:latest
198+
docker push $(NAME)/video:latest
197199

198200
tag_major_minor:
199201
docker tag $(NAME)/base:$(TAG_VERSION) $(NAME)/base:$(MAJOR)

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@ and made the source code freely available under the [Apache License 2.0](LICENSE
66
![Build & test](https://github.com/SeleniumHQ/docker-selenium/workflows/Build%20&%20test/badge.svg?branch=trunk)
77
![Deployments](https://github.com/SeleniumHQ/docker-selenium/workflows/Deploys/badge.svg)
88

9-
# :point_right: Grid 4 is under development and is a [Release Candidate (RC)](https://en.wikipedia.org/wiki/Software_release_life_cycle#Release_candidate)
10-
Prereleases are happening on a regular basis to get early feedback. This means that all other Selenium components
11-
can be currently at a different RC or beta version (e.g. bindings on RC 1, and Docker images on prerelease RC 2).
9+
# Selenium Grid 4 is out!
1210

1311
Docker images for Grid 4 come with a handful of tags to simplify its usage, have a look at them in one of
1412
our [releases](https://github.com/SeleniumHQ/docker-selenium/releases/tag/4.0.0-rc-3-20211010)
@@ -18,7 +16,7 @@ To get notifications of new prereleases, add yourself as a "Releases only" watch
1816
Doubts? Questions? Get in touch through the different communication channels available in the **Community** section.
1917

2018
Looking for Grid 3? Head to the [Selenium 3 branch](https://github.com/SeleniumHQ/docker-selenium/tree/selenium-3). This branch
21-
will be having new browser releases until Grid 4 has had its major release.
19+
will be kept for a while but won't receive any updates anymore.
2220

2321
## Community
2422

0 commit comments

Comments
 (0)