-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (40 loc) · 1.35 KB
/
fio2.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: "fio-benchmark-2"
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
inputs:
size:
description: 'file size to read/write by fio'
required: true
default: '1G'
nrfiles:
description: 'number of files to read/write by fio'
required: true
default: 10000
jobs:
big-file-sequential-read:
runs-on: [self-hosted, daily-build, bench-01]
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 1
- name: Build linux target
run: |
# export GOPATH=/usr/local/go
# export HOME=/root
# make juicefs
wget -q https://github.com/juicedata/juicefs/releases/download/v1.0.0-beta3/juicefs-1.0.0-beta3-darwin-arm64.tar.gz
tar -xzvf juicefs-1.0.0-beta3-darwin-arm64.tar.gz
mv juicefs-1.0.0-beta3-darwin-arm64 juicefs
rm juicefs-1.0.0-beta3-darwin-arm64.tar.gz
- name: Test
uses: ./.github/actions/fio
with:
meta_url: redis://mymaster,172.27.0.1,172.27.0.2,172.27.0.3:26379/6
storage: minio
bucket: http://172.27.0.2:9005/fio-test
access_key: minioadmin
secret_key: ${{ secrets.MINIO_SECRET_KEY }}
fio_job: "big-file-sequential-read: --rw=read --refill_buffers --bs=256k --size=${size}"