Skip to content

Commit 9b899bf

Browse files
ci: bump ubuntu version
Bump actions to use ubuntu-24.04 for fixing the following GitHub warning: The Ubuntu 20.04 Actions runner image will begin deprecation on 2025-02-01. Part of #TNTP-1918
1 parent b6422af commit 9b899bf

File tree

4 files changed

+24
-34
lines changed

4 files changed

+24
-34
lines changed

Diff for: .github/workflows/packing.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
if: (github.event_name == 'push') ||
2121
(github.event_name == 'pull_request' &&
2222
github.event.pull_request.head.repo.full_name != github.repository)
23-
runs-on: ubuntu-20.04
23+
runs-on: ubuntu-24.04
2424

2525
strategy:
2626
fail-fast: false
@@ -65,7 +65,7 @@ jobs:
6565
if: (github.event_name == 'push') ||
6666
(github.event_name == 'pull_request' &&
6767
github.event.pull_request.head.repo.full_name != github.repository)
68-
runs-on: ubuntu-20.04
68+
runs-on: ubuntu-24.04
6969

7070
strategy:
7171
fail-fast: false
@@ -83,7 +83,7 @@ jobs:
8383
run: python3 .github/scripts/remove_source_code.py
8484

8585
- name: Install tarantool
86-
uses: tarantool/setup-tarantool@v2
86+
uses: tarantool/setup-tarantool@v3
8787
with:
8888
tarantool-version: '2.11'
8989

@@ -188,7 +188,7 @@ jobs:
188188
- run_tests_pip_package_linux
189189
- run_tests_pip_package_windows
190190

191-
runs-on: ubuntu-20.04
191+
runs-on: ubuntu-24.04
192192

193193
strategy:
194194
fail-fast: false
@@ -226,7 +226,7 @@ jobs:
226226
if: (github.event_name == 'push') ||
227227
(github.event_name == 'pull_request' &&
228228
github.event.pull_request.head.repo.full_name != github.repository)
229-
runs-on: ubuntu-20.04
229+
runs-on: ubuntu-24.04
230230

231231
container:
232232
image: ${{ matrix.target.os }}:${{ matrix.target.dist }}
@@ -293,7 +293,7 @@ jobs:
293293
if: (github.event_name == 'push') ||
294294
(github.event_name == 'pull_request' &&
295295
github.event.pull_request.head.repo.full_name != github.repository)
296-
runs-on: ubuntu-20.04
296+
runs-on: ubuntu-24.04
297297

298298
container:
299299
image: ${{ matrix.target.os }}:${{ matrix.target.dist }}
@@ -354,7 +354,7 @@ jobs:
354354
needs:
355355
- run_tests_rpm
356356

357-
runs-on: ubuntu-20.04
357+
runs-on: ubuntu-24.04
358358

359359
strategy:
360360
fail-fast: false
@@ -404,7 +404,7 @@ jobs:
404404
if: (github.event_name == 'push') ||
405405
(github.event_name == 'pull_request' &&
406406
github.event.pull_request.head.repo.full_name != github.repository)
407-
runs-on: ubuntu-20.04
407+
runs-on: ubuntu-24.04
408408

409409
strategy:
410410
fail-fast: false
@@ -453,7 +453,7 @@ jobs:
453453
if: (github.event_name == 'push') ||
454454
(github.event_name == 'pull_request' &&
455455
github.event.pull_request.head.repo.full_name != github.repository)
456-
runs-on: ubuntu-20.04
456+
runs-on: ubuntu-24.04
457457

458458
container:
459459
image: ${{ matrix.target.os }}:${{ matrix.target.dist }}
@@ -522,7 +522,7 @@ jobs:
522522
needs:
523523
- run_tests_deb
524524

525-
runs-on: ubuntu-20.04
525+
runs-on: ubuntu-24.04
526526

527527
strategy:
528528
fail-fast: false

Diff for: .github/workflows/reusable_testing.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111

1212
jobs:
1313
run_tests:
14-
runs-on: ubuntu-20.04
14+
runs-on: ubuntu-24.04
1515
steps:
1616
- name: Clone the tarantool-python connector
1717
uses: actions/checkout@v4
@@ -43,6 +43,6 @@ jobs:
4343
run: |
4444
curl -L https://tarantool.io/release/2/installer.sh | bash
4545
sudo apt install -y tt
46-
tt rocks install crud
46+
tt rocks install crud 1.4.2
4747
4848
- run: make test

Diff for: .github/workflows/testing.yml

+9-22
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,15 @@ jobs:
2121
(github.event_name == 'pull_request' &&
2222
github.event.pull_request.head.repo.full_name != github.repository)
2323

24-
runs-on: ubuntu-20.04
24+
runs-on: ubuntu-24.04
2525

2626
strategy:
2727
fail-fast: false
2828
matrix:
2929
tarantool:
30-
- '1.10'
31-
- '2.8'
32-
- '2.10'
3330
- '2.11'
3431
- 'master'
3532
python:
36-
- '3.7'
3733
- '3.8'
3834
- '3.9'
3935
- '3.10'
@@ -70,7 +66,7 @@ jobs:
7066
7167
- name: Install tarantool ${{ matrix.tarantool }}
7268
if: matrix.tarantool != 'master'
73-
uses: tarantool/setup-tarantool@v2
69+
uses: tarantool/setup-tarantool@v3
7470
with:
7571
tarantool-version: ${{ matrix.tarantool }}
7672

@@ -124,7 +120,7 @@ jobs:
124120

125121
- name: Install the crud module for testing purposes
126122
run: |
127-
tt rocks install crud
123+
tt rocks install crud 1.4.2
128124
129125
- name: Run tests
130126
run: make test
@@ -142,21 +138,15 @@ jobs:
142138
github.event.pull_request.head.repo.full_name != github.repository &&
143139
github.event.label.name == 'full-ci')
144140

145-
runs-on: ubuntu-20.04
141+
runs-on: ubuntu-24.04
146142

147143
strategy:
148144
fail-fast: false
149145
matrix:
150146
tarantool:
151-
- bundle: 'sdk-1.10.15-0-r563'
152-
path: 'release/linux/x86_64/1.10/'
153-
- bundle: 'sdk-2.8.4-0-r563'
154-
path: 'release/linux/x86_64/2.8/'
155-
- bundle: 'sdk-gc64-2.10.7-0-r563.linux.x86_64'
156-
path: 'release/linux/x86_64/2.10/'
157147
- bundle: 'sdk-gc64-2.11.0-0-r563.linux.x86_64'
158148
path: 'release/linux/x86_64/2.11/'
159-
python: ['3.7', '3.11']
149+
python: ['3.11']
160150

161151
steps:
162152
- name: Clone the connector
@@ -196,7 +186,7 @@ jobs:
196186
source tarantool-enterprise/env.sh
197187
curl -L https://tarantool.io/release/2/installer.sh | bash
198188
sudo apt install -y tt
199-
tt rocks install crud TARANTOOL_DIR=$PWD/tarantool-enterprise
189+
tt rocks install crud 1.4.2 TARANTOOL_DIR=$PWD/tarantool-enterprise
200190
201191
- name: Run tests
202192
run: |
@@ -215,7 +205,7 @@ jobs:
215205
if: (github.event_name == 'push') ||
216206
(github.event_name == 'pull_request' &&
217207
github.event.pull_request.head.repo.full_name != github.repository)
218-
runs-on: ubuntu-20.04
208+
runs-on: ubuntu-24.04
219209

220210
strategy:
221211
fail-fast: false
@@ -224,14 +214,13 @@ jobs:
224214
tarantool:
225215
- '2.11'
226216
python:
227-
- '3.7'
228217
- '3.11'
229218
steps:
230219
- name: Clone the connector repo
231220
uses: actions/checkout@v3
232221

233222
- name: Install tarantool ${{ matrix.tarantool }}
234-
uses: tarantool/setup-tarantool@v2
223+
uses: tarantool/setup-tarantool@v3
235224
with:
236225
tarantool-version: ${{ matrix.tarantool }}
237226

@@ -253,7 +242,7 @@ jobs:
253242
run: |
254243
curl -L https://tarantool.io/release/2/installer.sh | bash
255244
sudo apt install -y tt
256-
tt rocks install crud
245+
tt rocks install crud 1.4.2
257246
258247
- name: Run tests
259248
run: make test-pure-install
@@ -277,7 +266,6 @@ jobs:
277266
tarantool:
278267
- '2.11.0.g247a9a418-1'
279268
python:
280-
- '3.7'
281269
- '3.11'
282270

283271
steps:
@@ -347,7 +335,6 @@ jobs:
347335
tarantool:
348336
- '2.11.0.g247a9a418-1'
349337
python:
350-
- '3.7'
351338
- '3.11'
352339
steps:
353340
- name: Clone the connector repo

Diff for: .readthedocs.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,6 @@ python:
1313
- method: pip
1414
path: .
1515
- requirements: docs/requirements.txt
16+
17+
sphinx:
18+
configuration: docs/source/conf.py

0 commit comments

Comments
 (0)