Skip to content

Commit 5f55f33

Browse files
committed
[ci] Tests run on Linux arm64 hosted runners
Signed-off-by: Viet Nguyen Duc <[email protected]>
1 parent 575723a commit 5f55f33

File tree

3 files changed

+129
-3
lines changed

3 files changed

+129
-3
lines changed

.github/actions/get-latest-upstream/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ runs:
1919
run: |
2020
sudo apt update
2121
sudo apt install gh
22-
echo "${{ inputs.gh_cli_token }}" | gh auth login --with-token
22+
echo "${{ inputs.gh_cli_token }}" | sudo gh auth login --with-token
2323
if [ "${{ inputs.release }}" = "true" ]; then
2424
echo "Getting the latest stable release."
2525
RELEASE=$(gh release list -R SeleniumHQ/selenium | grep -v nightly | awk '{ print $4 }' | head -1)

.github/workflows/docker-test.yml

Lines changed: 56 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ permissions:
2929
jobs:
3030
build-and-test:
3131
name: Test Docker Selenium
32-
runs-on: ubuntu-24.04
32+
runs-on: ${{ matrix.os }}
3333
strategy:
3434
fail-fast: false
3535
matrix:
@@ -38,38 +38,93 @@ jobs:
3838
use-random-user: true
3939
test-video: false
4040
build-all: true
41+
os: ubuntu-24.04
4142
- test-strategy: test
4243
use-random-user: false
4344
test-video: false
4445
build-all: true
46+
os: ubuntu-24.04
4547
- test-strategy: test_video
4648
use-random-user: false
4749
test-video: true
4850
build-all: false
51+
os: ubuntu-24.04
4952
- test-strategy: test_video_dynamic_name
5053
use-random-user: false
5154
test-video: true
5255
build-all: false
56+
os: ubuntu-24.04
5357
- test-strategy: test_video_standalone
5458
use-random-user: false
5559
test-video: true
5660
build-all: false
61+
os: ubuntu-24.04
5762
- test-strategy: test_node_docker
5863
use-random-user: false
5964
test-video: true
6065
build-all: false
66+
os: ubuntu-24.04
6167
- test-strategy: test_standalone_docker
6268
use-random-user: false
6369
test-video: true
6470
build-all: false
71+
os: ubuntu-24.04
6572
- test-strategy: test_parallel
6673
use-random-user: false
6774
test-video: false
6875
build-all: false
76+
os: ubuntu-24.04
6977
- test-strategy: test_node_relay
7078
use-random-user: false
7179
test-video: false
7280
build-all: false
81+
os: ubuntu-24.04
82+
###
83+
- test-strategy: test
84+
use-random-user: true
85+
test-video: false
86+
build-all: true
87+
os: ubuntu-24.04-arm
88+
- test-strategy: test
89+
use-random-user: false
90+
test-video: false
91+
build-all: true
92+
os: ubuntu-24.04-arm
93+
- test-strategy: test_video
94+
use-random-user: false
95+
test-video: true
96+
build-all: false
97+
os: ubuntu-24.04-arm
98+
- test-strategy: test_video_dynamic_name
99+
use-random-user: false
100+
test-video: true
101+
build-all: false
102+
os: ubuntu-24.04-arm
103+
- test-strategy: test_video_standalone
104+
use-random-user: false
105+
test-video: true
106+
build-all: false
107+
os: ubuntu-24.04-arm
108+
- test-strategy: test_node_docker
109+
use-random-user: false
110+
test-video: true
111+
build-all: false
112+
os: ubuntu-24.04-arm
113+
- test-strategy: test_standalone_docker
114+
use-random-user: false
115+
test-video: true
116+
build-all: false
117+
os: ubuntu-24.04-arm
118+
- test-strategy: test_parallel
119+
use-random-user: false
120+
test-video: false
121+
build-all: false
122+
os: ubuntu-24.04-arm
123+
- test-strategy: test_node_relay
124+
use-random-user: false
125+
test-video: false
126+
build-all: false
127+
os: ubuntu-24.04-arm
73128
steps:
74129
- name: Free Disk Space (Ubuntu)
75130
uses: jlumbroso/free-disk-space@main

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

Lines changed: 72 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ permissions:
3434
jobs:
3535
build-and-test:
3636
name: Test K8s
37-
runs-on: ubuntu-24.04
37+
runs-on: ${{ matrix.os }}
3838
strategy:
3939
fail-fast: false
4040
matrix:
@@ -47,6 +47,7 @@ jobs:
4747
python-version: '3.8'
4848
test-upgrade: true
4949
service-mesh: true
50+
os: ubuntu-24.04
5051
- k8s-version: 'v1.26.15'
5152
test-strategy: disabled
5253
cluster: 'minikube'
@@ -55,6 +56,7 @@ jobs:
5556
python-version: '3.8'
5657
test-upgrade: true
5758
service-mesh: false
59+
os: ubuntu-24.04
5860
- k8s-version: 'v1.27.16'
5961
test-strategy: job
6062
cluster: 'minikube'
@@ -63,6 +65,7 @@ jobs:
6365
python-version: '3.9'
6466
test-upgrade: true
6567
service-mesh: true
68+
os: ubuntu-24.04
6669
- k8s-version: 'v1.28.15'
6770
test-strategy: deployment
6871
cluster: 'minikube'
@@ -71,6 +74,7 @@ jobs:
7174
python-version: '3.10'
7275
test-upgrade: true
7376
service-mesh: true
77+
os: ubuntu-24.04
7478
- k8s-version: 'v1.29.12'
7579
test-strategy: job_https
7680
cluster: 'minikube'
@@ -79,6 +83,7 @@ jobs:
7983
python-version: '3.11'
8084
test-upgrade: true
8185
service-mesh: false
86+
os: ubuntu-24.04
8287
- k8s-version: 'v1.30.8'
8388
test-strategy: job_hostname
8489
cluster: 'minikube'
@@ -87,6 +92,7 @@ jobs:
8792
python-version: '3.12'
8893
test-upgrade: true
8994
service-mesh: false
95+
os: ubuntu-24.04
9096
- k8s-version: 'v1.31.4'
9197
test-strategy: deployment_https
9298
cluster: 'minikube'
@@ -95,6 +101,71 @@ jobs:
95101
python-version: '3.13'
96102
test-upgrade: true
97103
service-mesh: false
104+
os: ubuntu-24.04
105+
###
106+
- k8s-version: 'v1.25.16'
107+
test-strategy: playwright_connect_grid
108+
cluster: 'minikube'
109+
helm-version: 'v3.11.3'
110+
docker-version: '26.1.4'
111+
python-version: '3.8'
112+
test-upgrade: true
113+
service-mesh: true
114+
os: ubuntu-24.04-arm
115+
- k8s-version: 'v1.26.15'
116+
test-strategy: disabled
117+
cluster: 'minikube'
118+
helm-version: 'v3.11.3'
119+
docker-version: '26.1.4'
120+
python-version: '3.8'
121+
test-upgrade: true
122+
service-mesh: false
123+
os: ubuntu-24.04-arm
124+
- k8s-version: 'v1.27.16'
125+
test-strategy: job
126+
cluster: 'minikube'
127+
helm-version: 'v3.12.3'
128+
docker-version: '26.1.4'
129+
python-version: '3.9'
130+
test-upgrade: true
131+
service-mesh: true
132+
os: ubuntu-24.04-arm
133+
- k8s-version: 'v1.28.15'
134+
test-strategy: deployment
135+
cluster: 'minikube'
136+
helm-version: 'v3.13.3'
137+
docker-version: '26.1.4'
138+
python-version: '3.10'
139+
test-upgrade: true
140+
service-mesh: true
141+
os: ubuntu-24.04-arm
142+
- k8s-version: 'v1.29.12'
143+
test-strategy: job_https
144+
cluster: 'minikube'
145+
helm-version: 'v3.14.3'
146+
docker-version: '26.1.4'
147+
python-version: '3.11'
148+
test-upgrade: true
149+
service-mesh: false
150+
os: ubuntu-24.04-arm
151+
- k8s-version: 'v1.30.8'
152+
test-strategy: job_hostname
153+
cluster: 'minikube'
154+
helm-version: 'v3.15.4'
155+
docker-version: '26.1.4'
156+
python-version: '3.12'
157+
test-upgrade: true
158+
service-mesh: false
159+
os: ubuntu-24.04-arm
160+
- k8s-version: 'v1.31.4'
161+
test-strategy: deployment_https
162+
cluster: 'minikube'
163+
helm-version: 'v3.16.4'
164+
docker-version: '27.4.1'
165+
python-version: '3.13'
166+
test-upgrade: true
167+
service-mesh: false
168+
os: ubuntu-24.04-arm
98169
env:
99170
CLUSTER: ${{ matrix.cluster }}
100171
KUBERNETES_VERSION: ${{ matrix.k8s-version }}

0 commit comments

Comments
 (0)