Skip to content

Commit

Permalink
fix ubuntu version to 20.04
Browse files Browse the repository at this point in the history
  • Loading branch information
SandyXSD committed Aug 24, 2023
1 parent 8a623bc commit ab98cde
Show file tree
Hide file tree
Showing 34 changed files with 101 additions and 104 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/aitests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,13 @@ on:

jobs:
aitests:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.18.x'

- name: Set up Docker
uses: docker-practice/actions-setup-docker@master

- name: Checkout
uses: actions/checkout@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/aitests_limitcache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ on:

jobs:
aitestslimitcache:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Set up Go
uses: actions/setup-go@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/chaos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ on:

jobs:
chaos-test:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -196,7 +196,7 @@ jobs:
uses: lhotari/action-upterm@v1

success-all-test:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
needs: [chaos-test]
if: always()
steps:
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 @@ -27,7 +27,7 @@ on:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
permissions:
actions: read
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:

jobs:
config-test:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
services:
redis:
# Docker Hub image
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/elastictest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ on:

jobs:
elastictest:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Set up Go
uses: actions/setup-go@v2
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 @@ -18,7 +18,7 @@ on:

jobs:
mysql-encoding-test:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down
44 changes: 22 additions & 22 deletions .github/workflows/fio_benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
big-file-sequential-read:
if: github.repository == 'juicedata/juicefs'
runs-on: [ubuntu-latest]
runs-on: [ubuntu-20.04]
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -23,7 +23,7 @@ jobs:

big-file-sequential-write:
if: github.repository == 'juicedata/juicefs'
runs-on: [ubuntu-latest]
runs-on: [ubuntu-20.04]
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -38,7 +38,7 @@ jobs:

big-file-multi-read-1:
if: github.repository == 'juicedata/juicefs'
runs-on: [ubuntu-latest]
runs-on: [ubuntu-20.04]
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -53,7 +53,7 @@ jobs:

big-file-multi-read-4:
if: github.repository == 'juicedata/juicefs'
runs-on: [ubuntu-latest]
runs-on: [ubuntu-20.04]
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -68,7 +68,7 @@ jobs:

big-file-multi-read-16:
if: github.repository == 'juicedata/juicefs'
runs-on: [ubuntu-latest]
runs-on: [ubuntu-20.04]
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -83,7 +83,7 @@ jobs:

big-file-multi-write-1:
if: github.repository == 'juicedata/juicefs'
runs-on: [ubuntu-latest]
runs-on: [ubuntu-20.04]
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -98,7 +98,7 @@ jobs:

big-file-multi-write-4:
if: github.repository == 'juicedata/juicefs'
runs-on: [ubuntu-latest]
runs-on: [ubuntu-20.04]
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -113,7 +113,7 @@ jobs:

big-file-multi-write-16:
if: github.repository == 'juicedata/juicefs'
runs-on: [ubuntu-latest]
runs-on: [ubuntu-20.04]
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -128,7 +128,7 @@ jobs:

big-file-rand-read-4k:
if: github.repository == 'juicedata/juicefs'
runs-on: [ubuntu-latest]
runs-on: [ubuntu-20.04]
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -146,7 +146,7 @@ jobs:

big-file-rand-read-256k:
if: github.repository == 'juicedata/juicefs'
runs-on: [ubuntu-latest]
runs-on: [ubuntu-20.04]
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -164,7 +164,7 @@ jobs:

big-file-random-write-16k:
if: github.repository == 'juicedata/juicefs'
runs-on: [ubuntu-latest]
runs-on: [ubuntu-20.04]
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -179,7 +179,7 @@ jobs:

big-file-random-write-256k:
if: github.repository == 'juicedata/juicefs'
runs-on: [ubuntu-latest]
runs-on: [ubuntu-20.04]
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -194,7 +194,7 @@ jobs:

small-file-seq-read-4k:
if: github.repository == 'juicedata/juicefs'
runs-on: [ubuntu-latest]
runs-on: [ubuntu-20.04]
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -212,7 +212,7 @@ jobs:

small-file-seq-read-256k:
if: github.repository == 'juicedata/juicefs'
runs-on: [ubuntu-latest]
runs-on: [ubuntu-20.04]
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -230,7 +230,7 @@ jobs:

small-file-seq-write-4k:
if: github.repository == 'juicedata/juicefs'
runs-on: [ubuntu-latest]
runs-on: [ubuntu-20.04]
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -245,7 +245,7 @@ jobs:

small-file-seq-write-256k:
if: github.repository == 'juicedata/juicefs'
runs-on: [ubuntu-latest]
runs-on: [ubuntu-20.04]
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -260,7 +260,7 @@ jobs:

small-file-multi-read-1:
if: github.repository == 'juicedata/juicefs'
runs-on: [ubuntu-latest]
runs-on: [ubuntu-20.04]
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -275,7 +275,7 @@ jobs:

small-file-multi-read-4:
if: github.repository == 'juicedata/juicefs'
runs-on: [ubuntu-latest]
runs-on: [ubuntu-20.04]
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -290,7 +290,7 @@ jobs:

small-file-multi-read-16:
if: github.repository == 'juicedata/juicefs'
runs-on: [ubuntu-latest]
runs-on: [ubuntu-20.04]
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -305,7 +305,7 @@ jobs:

small-file-multi-write-1:
if: github.repository == 'juicedata/juicefs'
runs-on: [ubuntu-latest]
runs-on: [ubuntu-20.04]
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -320,7 +320,7 @@ jobs:

small-file-multi-write-4:
if: github.repository == 'juicedata/juicefs'
runs-on: [ubuntu-latest]
runs-on: [ubuntu-20.04]
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -335,7 +335,7 @@ jobs:

small-file-multi-write-16:
if: github.repository == 'juicedata/juicefs'
runs-on: [ubuntu-latest]
runs-on: [ubuntu-20.04]
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:

jobs:
format-test:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
services:
redis:
# Docker Hub image
Expand Down
Loading

0 comments on commit ab98cde

Please sign in to comment.