Skip to content

Commit

Permalink
action: use benchmark runtime image arg
Browse files Browse the repository at this point in the history
Signed-off-by: Yadong Ding <[email protected]>
  • Loading branch information
Desiki-high authored and imeoer committed May 8, 2023
1 parent c2c79a2 commit 44f3b16
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
- name: BenchMark Test
run: |
cd misc/benchmark
sudo python3 benchmark.py --mode oci
sudo python3 benchmark.py --mode oci --image ${{env.IMAGE}}:${{env.TAG}}
- name: Save Test Result
uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -123,7 +123,7 @@ jobs:
- name: BenchMark Test
run: |
cd misc/benchmark
sudo python3 benchmark.py --mode nydus-no-prefetch
sudo python3 benchmark.py --mode nydus-no-prefetch --image ${{env.IMAGE}}:${{env.TAG}}
- name: Save Test Result
uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -159,7 +159,7 @@ jobs:
- name: BenchMark Test
run: |
cd misc/benchmark
sudo python3 benchmark.py --mode nydus-no-prefetch
sudo python3 benchmark.py --mode nydus-no-prefetch --image ${{env.IMAGE}}:${{env.TAG}}
- name: Save Test Result
uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -192,7 +192,7 @@ jobs:
- name: BenchMark Test
run: |
cd misc/benchmark
sudo python3 benchmark.py --mode nydus-all-prefetch
sudo python3 benchmark.py --mode nydus-all-prefetch --image ${{env.IMAGE}}:${{env.TAG}}
- name: Save Test Result
uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -228,7 +228,7 @@ jobs:
- name: BenchMark Test
run: |
cd misc/benchmark
sudo python3 benchmark.py --mode nydus-all-prefetch
sudo python3 benchmark.py --mode nydus-all-prefetch --image ${{env.IMAGE}}:${{env.TAG}}
- name: Save Test Result
uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -261,7 +261,7 @@ jobs:
- name: BenchMark Test
run: |
cd misc/benchmark
sudo python3 benchmark.py --mode nydus-filelist-prefetch
sudo python3 benchmark.py --mode nydus-filelist-prefetch --image ${{env.IMAGE}}:${{env.TAG}}
- name: Save Test Result
uses: actions/upload-artifact@v3
with:
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ jobs:
- name: BenchMark Test
run: |
cd misc/benchmark
sudo python3 benchmark.py --mode oci
sudo python3 benchmark.py --mode oci --image ${{env.IMAGE}}:${{env.TAG}}
- name: Save Test Result
uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -245,7 +245,7 @@ jobs:
- name: BenchMark Test
run: |
cd misc/benchmark
sudo python3 benchmark.py --mode nydus-no-prefetch
sudo python3 benchmark.py --mode nydus-no-prefetch --image ${{env.IMAGE}}:${{env.TAG}}
- name: Save Test Result
uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -279,7 +279,7 @@ jobs:
- name: BenchMark Test
run: |
cd misc/benchmark
sudo python3 benchmark.py --mode nydus-no-prefetch
sudo python3 benchmark.py --mode nydus-no-prefetch --image ${{env.IMAGE}}:${{env.TAG}}
- name: Save Test Result
uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -315,7 +315,7 @@ jobs:
- name: BenchMark Test
run: |
cd misc/benchmark
sudo python3 benchmark.py --mode nydus-no-prefetch
sudo python3 benchmark.py --mode nydus-no-prefetch --image ${{env.IMAGE}}:${{env.TAG}}
- name: Save Test Result
uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -352,7 +352,7 @@ jobs:
- name: BenchMark Test
run: |
cd misc/benchmark
sudo python3 benchmark.py --mode nydus-no-prefetch
sudo python3 benchmark.py --mode nydus-no-prefetch --image ${{env.IMAGE}}:${{env.TAG}}
- name: Save Test Result
uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -385,7 +385,7 @@ jobs:
- name: BenchMark Test
run: |
cd misc/benchmark
sudo python3 benchmark.py --mode nydus-all-prefetch
sudo python3 benchmark.py --mode nydus-all-prefetch --image ${{env.IMAGE}}:${{env.TAG}}
- name: Save Test Result
uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -419,7 +419,7 @@ jobs:
- name: BenchMark Test
run: |
cd misc/benchmark
sudo python3 benchmark.py --mode nydus-all-prefetch
sudo python3 benchmark.py --mode nydus-all-prefetch --image ${{env.IMAGE}}:${{env.TAG}}
- name: Save Test Result
uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -455,7 +455,7 @@ jobs:
- name: BenchMark Test
run: |
cd misc/benchmark
sudo python3 benchmark.py --mode nydus-all-prefetch
sudo python3 benchmark.py --mode nydus-all-prefetch --image ${{env.IMAGE}}:${{env.TAG}}
- name: Save Test Result
uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -492,7 +492,7 @@ jobs:
- name: BenchMark Test
run: |
cd misc/benchmark
sudo python3 benchmark.py --mode nydus-all-prefetch
sudo python3 benchmark.py --mode nydus-all-prefetch --image ${{env.IMAGE}}:${{env.TAG}}
- name: Save Test Result
uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -525,7 +525,7 @@ jobs:
- name: BenchMark Test
run: |
cd misc/benchmark
sudo python3 benchmark.py --mode nydus-filelist-prefetch
sudo python3 benchmark.py --mode nydus-filelist-prefetch --image ${{env.IMAGE}}:${{env.TAG}}
- name: Save Test Result
uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -559,7 +559,7 @@ jobs:
- name: BenchMark Test
run: |
cd misc/benchmark
sudo python3 benchmark.py --mode nydus-filelist-prefetch
sudo python3 benchmark.py --mode nydus-filelist-prefetch --image ${{env.IMAGE}}:${{env.TAG}}
- name: Save Test Result
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit 44f3b16

Please sign in to comment.