Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: upgrade github runner to 22.04. #5715

Merged
merged 5 commits into from
Mar 5, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/scripts/storage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ test_with_fsx(){
./juicefs mount $META_URL /jfs -d
dpkg -s libacl1-dev || sudo .github/scripts/apt_install.sh libacl1-dev
[ ! -d secfs.test ] && git clone https://github.com/billziss-gh/secfs.test.git
make -C secfs.test >secfs.test-build-integration.log 2>&1
make -C secfs.test tools tools/bin/fsx > secfs.test-build-integration.log 2>&1
secfs.test/tools/bin/fsx -d 180 -p 10000 -F 100000 /jfs/fsx
}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ on:
jobs:
cache:
timeout-minutes: 60
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/chaos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ on:
jobs:
chaos-test:
timeout-minutes: 60
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
analyze:
name: Analyze
timeout-minutes: 30
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
permissions:
actions: read
contents: read
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ on:

jobs:
build-matrix:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- id: set-matrix
run: |
Expand All @@ -54,7 +54,7 @@ jobs:
matrix:
# meta: [ 'sqlite3', 'redis', 'tikv']
meta: ${{ fromJson(needs.build-matrix.outputs.meta_matrix) }}
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Remove unused software
shell: bash
Expand Down Expand Up @@ -141,7 +141,7 @@ jobs:
fail-fast: false
matrix:
meta: ${{ fromJson(needs.build-matrix.outputs.meta_matrix) }}
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down Expand Up @@ -185,7 +185,7 @@ jobs:
fail-fast: false
matrix:
meta: ${{ fromJson(needs.build-matrix.outputs.meta_matrix) }}
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ on:

jobs:
build-matrix:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- id: set-matrix
run: |
Expand All @@ -48,7 +48,7 @@ jobs:
fail-fast: false
matrix:
meta: ${{ fromJson(needs.build-matrix.outputs.meta_matrix) }}
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- name: Checkout
Expand Down Expand Up @@ -119,7 +119,7 @@ jobs:
timeout-minutes: 90
working-directory: /jfs
run: |
wget -O /tmp/linux.tar.gz https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.9.tar.gz
wget -O /tmp/linux.tar.gz https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.5.tar.gz
mkdir linux
tar xzf /tmp//linux.tar.gz -C linux --strip-components 1
make -C linux defconfig
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ permissions:

jobs:
dependency-review:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: 'Checkout Repository'
uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dump_load.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ on:

jobs:
build-matrix:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- id: set-matrix
run: |
Expand All @@ -48,7 +48,7 @@ jobs:
matrix:
meta: ${{ fromJson(needs.build-matrix.outputs.meta_matrix) }}

runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/encoding_mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
jobs:
mysql-encoding-test:
timeout-minutes: 30
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fio_benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ on:
jobs:
fio_benchmark:
timeout-minutes: 30
runs-on: [ubuntu-20.04]
runs-on: [ubuntu-22.04]
strategy:
fail-fast: true
matrix:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/gateway-random.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ on:

jobs:
build-matrix:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- id: set-matrix
run: |
Expand All @@ -50,7 +50,7 @@ jobs:
fail-fast: false
matrix:
meta: ${{ fromJson(needs.build-matrix.outputs.meta_matrix) }}
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gateway.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
file_size: '100M'
isolation_level: "repeatable read"

runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- name: Checkout
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/integrationtests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ on:

jobs:
build-matrix:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- id: set-matrix
run: |
Expand All @@ -49,7 +49,7 @@ jobs:

integrationtests:
timeout-minutes: 120
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs: build-matrix
strategy:
fail-fast: false
Expand Down Expand Up @@ -125,7 +125,8 @@ jobs:
run: |
sudo .github/scripts/apt_install.sh libacl1-dev
git clone https://github.com/billziss-gh/secfs.test.git
make -C secfs.test
make -C secfs.test tools tools/bin/fsx
make -C secfs.test tools tools/bin/fsracer

- name: Fsx Test
timeout-minutes: 16
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ltpfs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:
jobs:
ltpfs:
timeout-minutes: 60
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ltpsyscalls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
# meta: [ 'sqlite3', 'redis', 'mysql', 'tikv', 'tidb', 'postgres', 'mariadb', 'badger', 'fdb']
meta: ['redis']
type: [ 'head', 'middle', 'tail']
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- name: Checkout
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pjdfstest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ on:

jobs:
build-matrix:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- id: set-matrix
run: |
Expand All @@ -55,7 +55,7 @@ jobs:
matrix:
# [ 'sqlite3', 'redis', 'mysql', 'tikv', 'tidb', 'postgres', 'badger', 'mariadb', 'fdb']
meta: ${{ fromJson(needs.build-matrix.outputs.meta_matrix) }}
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- uses: shogo82148/actions-setup-perl@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pysdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ on:

jobs:
build-matrix:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- id: set-matrix
run: |
Expand All @@ -57,7 +57,7 @@ jobs:
matrix:
# [ 'sqlite3', 'redis', 'mysql', 'tikv', 'tidb', 'postgres', 'badger', 'mariadb', 'fdb']
meta: ${{ fromJson(needs.build-matrix.outputs.meta_matrix) }}
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
releaser:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Set up Go
uses: actions/setup-go@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rmfiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
matrix:
meta: [ 'sqlite3', 'redis', 'mysql', 'postgres', 'tikv', 'fdb', 'badger', 'etcd']

runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sdktest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ on:
jobs:
sdktest:
timeout-minutes: 50
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/storage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
fail-fast: false
matrix:
storage: ['gluster', 'minio']
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Remove unused software
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ on:

jobs:
sync:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sysbench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- meta: 'redis'
compress: 'none'

runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tpcds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ on:

jobs:
tpcds:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

services:
redis:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit-random-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
matrix:
meta: ['redis', 'sqlite3', 'tikv']
timeout-minutes: 120
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
matrix:
test: [ 'test.meta.core','test.meta.non-core','test.pkg','test.cmd', 'test.fdb' ]
timeout-minutes: 60
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
env:
MINIO_TEST_BUCKET: 127.0.0.1:9000/testbucket
MINIO_ACCESS_KEY: testUser
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/vdbench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
fail-fast: false
matrix:
meta: [ 'redis', 'mysql', 'fdb', 'tikv']
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- name: Checkout
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ on:

jobs:
lint:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/setup-go@v3
with:
Expand All @@ -46,7 +46,7 @@ jobs:
fail-fast: false
matrix:
version: ['1.21', '1.22', '1.23']
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Check out code
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/version_compatible_hypo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
meta: 'postgres'
storage: 'minio'

runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/xattr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ on:

jobs:
build-matrix:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- id: set-matrix
run: |
Expand Down
Loading