Skip to content

Commit a5e7692

Browse files
authored
Release 4.20.0 (#2223)
1 parent a83f0d6 commit a5e7692

File tree

7 files changed

+46
-15
lines changed

7 files changed

+46
-15
lines changed

.github/workflows/build-test.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,14 @@ jobs:
4242
TARGET_BRANCH: ${{ github.head_ref }}
4343
- name: Output branch name
4444
run: echo ${BRANCH}
45-
- name: Sets build date
45+
- name: Set Selenium base version
46+
if: contains(toJson(github.event.commits), '[deploy]') == false
4647
run: |
47-
echo "BUILD_DATE=$(date '+%Y%m%d')" >> $GITHUB_ENV
4848
make set_nightly_env
4949
cat .env | xargs -I {} echo {} >> $GITHUB_ENV
50+
- name: Sets build date
51+
run: |
52+
echo "BUILD_DATE=$(date '+%Y%m%d')" >> $GITHUB_ENV
5053
echo "AUTHORS=${AUTHORS}" >> $GITHUB_ENV
5154
env:
5255
AUTHORS: ${{ vars.AUTHORS || 'SeleniumHQ' }}
@@ -55,6 +58,7 @@ jobs:
5558
with:
5659
timeout_minutes: 12
5760
max_attempts: 3
61+
retry_wait_seconds: 60
5862
command: VERSION=${BRANCH} BUILD_DATE=${BUILD_DATE} make build
5963
- name: Count image layers
6064
run: VERSION=${BRANCH} BUILD_DATE=${BUILD_DATE} make count_image_layers

.github/workflows/deploy.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,12 @@ jobs:
5353
- name: Update chart CHANGELOG
5454
run: ./generate_chart_changelog.sh
5555
- name: Build images
56-
run: VERSION="${GRID_VERSION}" BUILD_DATE=${BUILD_DATE} make build
56+
uses: nick-invision/retry@master
57+
with:
58+
timeout_minutes: 12
59+
max_attempts: 3
60+
retry_wait_seconds: 60
61+
command: VERSION="${GRID_VERSION}" BUILD_DATE=${BUILD_DATE} make build
5762
- name: Login Docker Hub
5863
run: docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
5964
env:

.github/workflows/helm-chart-test.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,15 @@ jobs:
9595
TARGET_BRANCH: ${{ github.head_ref }}
9696
- name: Output branch name
9797
run: echo ${BRANCH}
98+
- name: Set Selenium base version
99+
if: contains(toJson(github.event.commits), '[deploy]') == false
100+
run: |
101+
make set_nightly_env
102+
cat .env | xargs -I {} echo {} >> $GITHUB_ENV
98103
- name: Sets build date
99104
run: |
100105
echo "BUILD_DATE=$(date '+%Y%m%d')" >> $GITHUB_ENV
101106
echo "IMAGE_REGISTRY=artifactory/selenium" >> $GITHUB_ENV
102-
make set_nightly_env
103-
cat .env | xargs -I {} echo {} >> $GITHUB_ENV
104107
echo "AUTHORS=${AUTHORS}" >> $GITHUB_ENV
105108
env:
106109
AUTHORS: ${{ vars.AUTHORS || 'SeleniumHQ' }}
@@ -120,6 +123,7 @@ jobs:
120123
with:
121124
timeout_minutes: 12
122125
max_attempts: 3
126+
retry_wait_seconds: 60
123127
command: NAME=${IMAGE_REGISTRY} VERSION=${BRANCH} BUILD_DATE=${BUILD_DATE} make build
124128
- name: Setup Kubernetes cluster
125129
uses: nick-invision/retry@master

.github/workflows/nightly.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,12 @@ jobs:
4747
- name: Remove local Docker tag
4848
run: docker rmi ${{ env.NAME }}/base:local-${BUILD_DATE}
4949
- name: Build images
50-
run: VERSION="${GRID_VERSION}" BUILD_DATE=${BUILD_DATE} make build
50+
uses: nick-invision/retry@master
51+
with:
52+
timeout_minutes: 12
53+
max_attempts: 3
54+
retry_wait_seconds: 60
55+
command: VERSION="${GRID_VERSION}" BUILD_DATE=${BUILD_DATE} make build
5156
- name: Login Docker Hub
5257
run: docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
5358
env:

.github/workflows/test-video.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,14 @@ jobs:
5858
TARGET_BRANCH: ${{ github.head_ref }}
5959
- name: Output branch name
6060
run: echo ${BRANCH}
61-
- name: Sets build date
61+
- name: Set Selenium base version
62+
if: contains(toJson(github.event.commits), '[deploy]') == false
6263
run: |
63-
echo "BUILD_DATE=$(date '+%Y%m%d')" >> $GITHUB_ENV
6464
make set_nightly_env
6565
cat .env | xargs -I {} echo {} >> $GITHUB_ENV
66+
- name: Sets build date
67+
run: |
68+
echo "BUILD_DATE=$(date '+%Y%m%d')" >> $GITHUB_ENV
6669
echo "AUTHORS=${AUTHORS}" >> $GITHUB_ENV
6770
env:
6871
AUTHORS: ${{ vars.AUTHORS || 'SeleniumHQ' }}
@@ -71,6 +74,7 @@ jobs:
7174
with:
7275
timeout_minutes: 12
7376
max_attempts: 3
77+
retry_wait_seconds: 60
7478
command: |
7579
VERSION=${BRANCH} BUILD_DATE=${BUILD_DATE} make hub
7680
VERSION=${BRANCH} BUILD_DATE=${BUILD_DATE} make chrome

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
NAME := $(or $(NAME),$(NAME),selenium)
22
CURRENT_DATE := $(shell date '+%Y%m%d')
33
BUILD_DATE := $(or $(BUILD_DATE),$(BUILD_DATE),$(CURRENT_DATE))
4-
BASE_RELEASE := $(or $(BASE_RELEASE),$(BASE_RELEASE),selenium-4.19.0)
5-
BASE_VERSION := $(or $(BASE_VERSION),$(BASE_VERSION),4.19.1)
6-
BINDING_VERSION := $(or $(BINDING_VERSION),$(BINDING_VERSION),4.19.0)
4+
BASE_RELEASE := $(or $(BASE_RELEASE),$(BASE_RELEASE),selenium-4.20.0)
5+
BASE_VERSION := $(or $(BASE_VERSION),$(BASE_VERSION),4.20.0)
6+
BINDING_VERSION := $(or $(BINDING_VERSION),$(BINDING_VERSION),4.20.0)
77
BASE_RELEASE_NIGHTLY := $(or $(BASE_RELEASE_NIGHTLY),$(BASE_RELEASE_NIGHTLY),nightly)
8-
BASE_VERSION_NIGHTLY := $(or $(BASE_VERSION_NIGHTLY),$(BASE_VERSION_NIGHTLY),4.20.0-SNAPSHOT)
9-
VERSION := $(or $(VERSION),$(VERSION),4.19.1)
8+
BASE_VERSION_NIGHTLY := $(or $(BASE_VERSION_NIGHTLY),$(BASE_VERSION_NIGHTLY),4.21.0-SNAPSHOT)
9+
VERSION := $(or $(VERSION),$(VERSION),4.20.0)
1010
TAG_VERSION := $(VERSION)-$(BUILD_DATE)
1111
CHART_VERSION_NIGHTLY := $(or $(CHART_VERSION_NIGHTLY),$(CHART_VERSION_NIGHTLY),1.0.0-nightly)
1212
NAMESPACE := $(or $(NAMESPACE),$(NAMESPACE),$(NAME))

tests/build-backward-compatible/selenium-matrix.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,22 @@ matrix:
44
selenium:
55
nightly:
66
BASE_RELEASE: nightly
7-
BASE_VERSION: 4.20.0-SNAPSHOT
8-
VERSION: 4.20.0-SNAPSHOT
7+
BASE_VERSION: 4.21.0-SNAPSHOT
8+
VERSION: 4.21.0-SNAPSHOT
99
BINDING_VERSION: nightly
1010
CDP:
1111
- 124
1212
- 123
1313
- 122
14+
4.20.0:
15+
BASE_RELEASE: selenium-4.20.0
16+
BASE_VERSION: 4.20.0
17+
VERSION: 4.20.0
18+
BINDING_VERSION: 4.20.0
19+
CDP:
20+
- 124
21+
- 123
22+
- 122
1423
4.19.1:
1524
BASE_RELEASE: selenium-4.19.0
1625
BASE_VERSION: 4.19.1

0 commit comments

Comments
 (0)