Skip to content

Commit 6dc901e

Browse files
committed
[ci] Update test matrix with python versions
Signed-off-by: Viet Nguyen Duc <[email protected]>
1 parent b30937e commit 6dc901e

File tree

7 files changed

+22
-7
lines changed

7 files changed

+22
-7
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ workflows:
7070
k8s-version: 'v1.31.2'
7171
test-strategy: deployment_https
7272
cluster: 'minikube'
73-
helm-version: 'v3.16.1'
74-
docker-version: '27.2.0'
73+
helm-version: 'v3.16.3'
74+
docker-version: '27.3.1'
7575
test-upgrade: true
7676
- docker-test:
7777
name: "Docker test - Use random user (true)"

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

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,48 +39,55 @@ jobs:
3939
cluster: 'minikube'
4040
helm-version: 'v3.11.3'
4141
docker-version: '24.0.9'
42+
python-version: '3.8'
4243
test-upgrade: true
4344
service-mesh: true
4445
- k8s-version: 'v1.26.15'
4546
test-strategy: disabled
4647
cluster: 'minikube'
4748
helm-version: 'v3.11.3'
4849
docker-version: '24.0.9'
50+
python-version: '3.8'
4951
test-upgrade: true
5052
service-mesh: false
5153
- k8s-version: 'v1.27.16'
5254
test-strategy: job
5355
cluster: 'minikube'
5456
helm-version: 'v3.12.3'
5557
docker-version: '24.0.9'
58+
python-version: '3.9'
5659
test-upgrade: true
5760
service-mesh: true
5861
- k8s-version: 'v1.28.15'
5962
test-strategy: deployment
6063
cluster: 'minikube'
6164
helm-version: 'v3.13.3'
6265
docker-version: '24.0.9'
66+
python-version: '3.10'
6367
test-upgrade: true
6468
service-mesh: true
6569
- k8s-version: 'v1.29.10'
6670
test-strategy: job_https
6771
cluster: 'minikube'
6872
helm-version: 'v3.14.3'
6973
docker-version: '25.0.5'
74+
python-version: '3.11'
7075
test-upgrade: true
7176
service-mesh: false
7277
- k8s-version: 'v1.30.6'
7378
test-strategy: job_hostname
7479
cluster: 'minikube'
7580
helm-version: 'v3.15.4'
7681
docker-version: '26.1.4'
82+
python-version: '3.12'
7783
test-upgrade: true
7884
service-mesh: false
7985
- k8s-version: 'v1.31.2'
8086
test-strategy: deployment_https
8187
cluster: 'minikube'
82-
helm-version: 'v3.16.1'
83-
docker-version: '27.2.0'
88+
helm-version: 'v3.16.3'
89+
docker-version: '27.3.1'
90+
python-version: '3.13'
8491
test-upgrade: true
8592
service-mesh: false
8693
env:
@@ -111,7 +118,7 @@ jobs:
111118
- name: Set up Python
112119
uses: actions/setup-python@main
113120
with:
114-
python-version: '3.11'
121+
python-version: ${{ matrix.python-version }}
115122
check-latest: true
116123
- name: Verify chart configuration up-to-date
117124
run: make lint_readme_charts

Base/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ARG RELEASE=selenium-${VERSION}
99
# Default value should be aligned with upstream Selenium (https://github.com/SeleniumHQ/selenium/blob/trunk/MODULE.bazel)
1010
ARG OPENTELEMETRY_VERSION=1.43.0
1111
ARG GRPC_VERSION=1.68.0
12-
ARG NETTY_VERSION=4.1.114.Final
12+
ARG NETTY_VERSION=4.1.115.Final
1313
ARG CS_VERSION=2.1.13
1414

1515
#Arguments to define the user running Selenium

tests/bootstrap.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ if [ "${CI:-false}" = "false" ]; then
88
fi
99

1010
if [[ "${BASE_VERSION}" == *-SNAPSHOT ]]; then
11-
latest_version="$(curl -s https://test.pypi.org/pypi/selenium/json | jq -r '.releases | keys | .[]' | sort -V | tail -n 1)"
11+
latest_version="$(curl -s https://test.pypi.org/pypi/selenium/json | jq -r '.releases | to_entries | sort_by(.value[0].upload_time) | .[-1].key')"
1212
python3 -m pip install --index-url https://test.pypi.org/simple/ selenium==${latest_version} --extra-index-url https://pypi.org/simple/ --upgrade --force-reinstall --break-system-packages | grep -v 'Requirement already satisfied'
1313
else
1414
python3 -m pip install selenium==${BINDING_VERSION} | grep -v 'Requirement already satisfied'

tests/docker-compose-v3-test-parallel.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ services:
1717
volumes:
1818
- ./videos/certs:/opt/selenium/secrets
1919
environment:
20+
- SE_ENABLE_TRACING=false
2021
- SE_EVENT_BUS_HOST=selenium-hub
2122
- SE_EVENT_BUS_PUBLISH_PORT=4442
2223
- SE_EVENT_BUS_SUBSCRIBE_PORT=4443
@@ -57,6 +58,7 @@ services:
5758
volumes:
5859
- ./videos/certs:/opt/selenium/secrets
5960
environment:
61+
- SE_ENABLE_TRACING=false
6062
- SE_EVENT_BUS_HOST=selenium-hub
6163
- SE_EVENT_BUS_PUBLISH_PORT=4442
6264
- SE_EVENT_BUS_SUBSCRIBE_PORT=4443
@@ -94,6 +96,7 @@ services:
9496
volumes:
9597
- ./videos/certs:/opt/selenium/secrets
9698
environment:
99+
- SE_ENABLE_TRACING=false
97100
- SE_EVENT_BUS_HOST=selenium-hub
98101
- SE_EVENT_BUS_PUBLISH_PORT=4442
99102
- SE_EVENT_BUS_SUBSCRIBE_PORT=4443
@@ -128,6 +131,7 @@ services:
128131
volumes:
129132
- ./videos/certs:/opt/selenium/secrets
130133
environment:
134+
- SE_ENABLE_TRACING=false
131135
- SE_LOG_LEVEL=${LOG_LEVEL}
132136
- SE_SESSION_REQUEST_TIMEOUT=${REQUEST_TIMEOUT}
133137
- SE_SUPERVISORD_LOG_LEVEL=error

tests/docker-compose-v3-test-standalone.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ services:
1212
depends_on:
1313
- browser_video
1414
environment:
15+
- SE_ENABLE_TRACING=false
1516
- SE_NODE_MAX_SESSIONS=1
1617
- SE_NODE_OVERRIDE_MAX_SESSIONS=true
1718
- SE_NODE_ENABLE_MANAGED_DOWNLOADS=${SELENIUM_ENABLE_MANAGED_DOWNLOADS}

tests/docker-compose-v3-test-video.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ services:
1111
- selenium-hub
1212
- browser_video
1313
environment:
14+
- SE_ENABLE_TRACING=false
1415
- SE_EVENT_BUS_HOST=selenium-hub
1516
- SE_EVENT_BUS_PUBLISH_PORT=4442
1617
- SE_EVENT_BUS_SUBSCRIBE_PORT=4443
@@ -59,6 +60,8 @@ services:
5960
- "4442:4442"
6061
- "4443:4443"
6162
- "4444:4444"
63+
environment:
64+
- SE_ENABLE_TRACING=false
6265
healthcheck:
6366
test: "/opt/bin/check-grid.sh --host 0.0.0.0 --port 4444"
6467
interval: 15s

0 commit comments

Comments
 (0)