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

Commit d13b5fa

Browse files
merge from upstream/trunk
2 parents ff94a90 + 379c1ff commit d13b5fa

39 files changed

+204
-161
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,6 @@ body:
5555
attributes:
5656
label: Docker Selenium version (tag)
5757
description: What version of Docker Selenium are you using?
58-
placeholder: 4.1.3-20220327? Please use the full tag, avoid "latest"
58+
placeholder: 4.1.4-20220427? Please use the full tag, avoid "latest"
5959
validations:
6060
required: true

.github/dependabot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,9 @@ updates:
4242
interval: daily
4343
time: '08:00'
4444
open-pull-requests-limit: 99
45+
- package-ecosystem: github-actions
46+
directory: "/"
47+
schedule:
48+
interval: daily
49+
time: '08:00'
50+
open-pull-requests-limit: 99

.github/workflows/build-test.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
branches:
99
- trunk
1010

11+
permissions:
12+
contents: read
13+
1114
jobs:
1215
build-and-test:
1316
# Skip job based on the commit message, only works in push to branches for now
@@ -18,11 +21,11 @@ jobs:
1821
matrix:
1922
use-random-user: [false, true]
2023
steps:
21-
- uses: actions/checkout@v1
24+
- uses: actions/checkout@v3
2225
- name: Output Docker info
2326
run: docker info
2427
- name: Set up Python 3.8
25-
uses: actions/setup-python@v2
28+
uses: actions/setup-python@v3.1.2
2629
with:
2730
python-version: 3.8
2831
- name: Get branch name (only for push to branch)

.github/workflows/deploy.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-20.04
1414
steps:
1515
- name: Checkout code
16-
uses: actions/checkout@v2
16+
uses: actions/checkout@v3
1717
with:
1818
persist-credentials: false
1919
fetch-depth: 0
@@ -51,25 +51,25 @@ jobs:
5151
DOCKER_USERNAME: ${{secrets.DOCKER_USERNAME}}
5252
DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}}
5353
- name: Deploy new images
54-
uses: nick-invision/retry@v2
54+
uses: nick-invision/retry@e88a9994b039653512d697de1bce46b00bfe11b5 # v2
5555
with:
5656
timeout_minutes: 20
5757
max_attempts: 3
5858
command: VERSION="${GRID_VERSION}" BUILD_DATE=${BUILD_DATE} make release
5959
- name: Tag images as latest
60-
uses: nick-invision/retry@v2
60+
uses: nick-invision/retry@e88a9994b039653512d697de1bce46b00bfe11b5 # v2
6161
with:
6262
timeout_minutes: 20
6363
max_attempts: 3
6464
command: VERSION="${GRID_VERSION}" BUILD_DATE=${BUILD_DATE} make tag_latest
6565
- name: Deploy latest tag
66-
uses: nick-invision/retry@v2
66+
uses: nick-invision/retry@e88a9994b039653512d697de1bce46b00bfe11b5 # v2
6767
with:
6868
timeout_minutes: 20
6969
max_attempts: 3
7070
command: VERSION="${GRID_VERSION}" BUILD_DATE=${BUILD_DATE} make release_latest
7171
- name: Tag browser images
72-
uses: nick-invision/retry@v2
72+
uses: nick-invision/retry@e88a9994b039653512d697de1bce46b00bfe11b5 # v2
7373
with:
7474
timeout_minutes: 20
7575
max_attempts: 3
@@ -80,7 +80,7 @@ jobs:
8080
git config --local user.name "Selenium CI Bot"
8181
git commit -m "Update tag in docs and files [skip ci]" -a
8282
- name: Push changes
83-
uses: ad-m/github-push-action@master
83+
uses: ad-m/github-push-action@a3fd843e49cd58d296bdd2431c4853569a1b900f # master
8484
with:
8585
github_token: ${{ secrets.SELENIUM_CI_TOKEN }}
8686
branch: trunk

.github/workflows/lock.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
action:
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: dessant/lock-threads@v2
17+
- uses: dessant/lock-threads@e460dfeb36e731f3aeb214be6b0c9a9d9a67eda6 # v3
1818
with:
1919
process-only: 'issues'
2020
issue-lock-inactive-days: '30'

.github/workflows/test-video.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,21 @@ on:
88
branches:
99
- trunk
1010

11+
permissions:
12+
contents: read
13+
1114
jobs:
1215
build-and-test:
1316
# Skip job based on the commit message, only works in push to branches for now
1417
if: contains(toJson(github.event.commits), '[skip ci]') == false
1518
name: Test video recorded through Docker Selenium
1619
runs-on: ubuntu-20.04
1720
steps:
18-
- uses: actions/checkout@v1
21+
- uses: actions/checkout@v3
1922
- name: Output Docker info
2023
run: docker info
2124
- name: Set up Python 3.8
22-
uses: actions/setup-python@v2
25+
uses: actions/setup-python@v3.1.2
2326
with:
2427
python-version: 3.8
2528
- name: Get branch name (only for push to branch)
@@ -39,17 +42,17 @@ jobs:
3942
- name: Run Docker Compose to record video
4043
run: USE_RANDOM_USER_ID=${USE_RANDOM_USER} VERSION=${BRANCH} BUILD_DATE=${BUILD_DATE} make test_video
4144
- name: Upload recorded Chrome video
42-
uses: actions/upload-artifact@v2
45+
uses: actions/upload-artifact@v3
4346
with:
4447
name: chrome_video
4548
path: ./tests/videos/chrome_video.mp4
4649
- name: Upload recorded Edge video
47-
uses: actions/upload-artifact@v2
50+
uses: actions/upload-artifact@v3
4851
with:
4952
name: edge_video
5053
path: ./tests/videos/edge_video.mp4
5154
- name: Upload recorded Firefox video
52-
uses: actions/upload-artifact@v2
55+
uses: actions/upload-artifact@v3
5356
with:
5457
name: firefox_video
5558
path: ./tests/videos/firefox_video.mp4

Base/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#FROM ubuntu:focal-20210827
33
#FROM ubuntu:focal-20211006
44
#FROM ubuntu:focal-20220302
5+
#FROM ubuntu:focal-20220415
56
FROM debian:latest
67
LABEL authors="Selenium <[email protected]>"
78

@@ -88,7 +89,7 @@ COPY supervisord.conf /etc
8889
RUN mkdir -p /opt/selenium /opt/selenium/assets /var/run/supervisor /var/log/supervisor \
8990
&& touch /opt/selenium/config.toml \
9091
&& chmod -R 777 /opt/selenium /opt/selenium/assets /var/run/supervisor /var/log/supervisor /etc/passwd \
91-
&& wget --no-verbose https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.1.0/selenium-server-4.1.3.jar \
92+
&& wget --no-verbose https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.1.0/selenium-server-4.1.4.jar \
9293
-O /opt/selenium/selenium-server.jar \
9394
&& chgrp -R 0 /opt/selenium ${HOME} /opt/selenium/assets /var/run/supervisor /var/log/supervisor \
9495
&& chmod -R g=u /opt/selenium ${HOME} /opt/selenium/assets /var/run/supervisor /var/log/supervisor

Distributor/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# NOTE: DO *NOT* EDIT THIS FILE. IT IS GENERATED.
33
# PLEASE UPDATE Dockerfile.txt INSTEAD OF THIS FILE
44
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
5-
FROM selenium/base:4.1.3-20220327
5+
FROM selenium/base:4.1.4-20220427
66
LABEL authors=SeleniumHQ
77

88
USER 1200

EventBus/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# NOTE: DO *NOT* EDIT THIS FILE. IT IS GENERATED.
33
# PLEASE UPDATE Dockerfile.txt INSTEAD OF THIS FILE
44
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
5-
FROM selenium/base:4.1.3-20220327
5+
FROM selenium/base:4.1.4-20220427
66
LABEL authors=SeleniumHQ
77

88
USER 1200

NodeBase/Dockerfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,13 @@
22
# NOTE: DO *NOT* EDIT THIS FILE. IT IS GENERATED.
33
# PLEASE UPDATE Dockerfile.txt INSTEAD OF THIS FILE
44
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
5+
<<<<<<< HEAD
56
FROM seleniarm/base:4.1.3-20220331
67
LABEL authors=SeleniumHQ,sj26,jamesmortensen
8+
=======
9+
FROM selenium/base:4.1.4-20220427
10+
LABEL authors=SeleniumHQ
11+
>>>>>>> 379c1ff51523d6ac236f1331de7261c0c732451e
712

813
USER root
914

@@ -180,6 +185,9 @@ ENV START_NO_VNC true
180185
# Path to the Configfile
181186
ENV CONFIG_FILE=/opt/selenium/config.toml
182187
ENV GENERATE_CONFIG true
188+
# Drain the Node after N sessions.
189+
# A value higher than zero enables the feature
190+
ENV DRAIN_AFTER_SESSION_COUNT 0
183191

184192
#========================
185193
# Selenium Configuration

0 commit comments

Comments
 (0)