Skip to content

Commit 8f816e7

Browse files
ci: run on ubuntu-20.04
ubuntu-latest is now ubuntu-22.04 instead of 20.04 [1]. Module CI uses older versions of Tarantool in tests (like 1.10.6 and 2.2) [2]. There is no such versions in Ubuntu 22.04 repos. So until we decide to reduce our test matrix, we will use ubuntu-20.04 for tests. Since there is at least one test pipeline that should use 20.04, we use it everywhere for consistency. 1. https://github.blog/changelog/2022-11-09-github-actions-ubuntu-latest-workflows-will-use-ubuntu-22-04/ 2. tarantool/setup-tarantool#36
1 parent 733528b commit 8f816e7

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

.github/workflows/check_on_push.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
if: |
1010
github.event_name == 'push' ||
1111
github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository
12-
runs-on: ubuntu-latest
12+
runs-on: ubuntu-20.04
1313
steps:
1414
- uses: actions/checkout@master
1515

.github/workflows/push_rockspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ env:
1212

1313
jobs:
1414
push-scm-rockspec:
15-
runs-on: [ ubuntu-latest ]
15+
runs-on: ubuntu-20.04
1616
if: github.ref == 'refs/heads/master'
1717
steps:
1818
- uses: actions/checkout@master
@@ -23,7 +23,7 @@ jobs:
2323
files: ${{ env.ROCK_NAME }}-scm-1.rockspec
2424

2525
push-tagged-rockspec:
26-
runs-on: [ ubuntu-latest ]
26+
runs-on: ubuntu-20.04
2727
if: startsWith(github.ref, 'refs/tags')
2828
steps:
2929
- uses: actions/checkout@master

.github/workflows/test_on_push.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ jobs:
2929
coveralls: true
3030
metrics-version: "0.12.0"
3131
fail-fast: false
32-
runs-on: [ubuntu-latest]
32+
# Can't install older versions on 22.04,
33+
# see https://github.com/tarantool/setup-tarantool/issues/36
34+
runs-on: ubuntu-20.04
3335
steps:
3436
- uses: actions/checkout@master
3537

@@ -80,7 +82,7 @@ jobs:
8082
tarantool-version: ["1.10", "2.8"]
8183
metrics-version: ["0.12.0"]
8284
fail-fast: false
83-
runs-on: [ubuntu-latest]
85+
runs-on: ubuntu-20.04
8486
steps:
8587
- uses: actions/checkout@master
8688

@@ -113,7 +115,7 @@ jobs:
113115
bundle_version: [ "1.10.11-0-gf0b0e7ecf-r422", "2.7.3-0-gdddf926c3-r422" ]
114116
metrics-version: ["", "0.12.0"]
115117
fail-fast: false
116-
runs-on: [ ubuntu-latest ]
118+
runs-on: ubuntu-20.04
117119
steps:
118120
- uses: actions/checkout@master
119121

0 commit comments

Comments
 (0)