Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
CodingPoeta committed Jan 16, 2025
1 parent 99030ae commit 0d88754
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ jobs:
timeout-minutes: 30
run: |
if [[ "${{matrix.meta}}" == "mysql" || "${{matrix.meta}}" == "tikv" ]]; then
sudo META=${{matrix.meta}} .github/scripts/command/cache.sh
sudo META=${{matrix.meta}} .github/scripts/cache.sh
fi
- name: Test Graceful upgrade
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/command2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,11 @@ jobs:
sudo -E LOG_LEVEL=WARNING META1=redis META2=${{matrix.meta}} timeout 3600 .github/scripts/command/random.sh test_run_all || code=$?; if [[ $code -eq 124 ]]; then echo test timeout with $code && exit 0; else echo failed with $code && exit $code; fi
- name: Upload example database
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: hypothesis-example-db
path: .hypothesis/examples
path: ${{ env.subdir }}/.hypothesis/examples

- name: Check client log
if: always()
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/fsrand.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,11 @@ jobs:
timeout 7200 sudo -E LOG_LEVEL=WARNING python3 .github/scripts/hypo/fs.py 2>&1 | tee fsrand.log || code=$?; if [[ $code -ne 124 && $code -ne 0 ]]; then echo test failed; exit $code; fi
- name: Upload example database
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: hypothesis-example-db
path: .hypothesis/examples
path: ${{ env.subdir }}/.hypothesis/examples

- name: check fsrand.log
if: always()
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 @@ -101,11 +101,11 @@ jobs:
sudo -E LOG_LEVEL=WARNING SUBDIR=$subdir timeout 3600 .github/scripts/command/gateway-random.sh test_run_all || code=$?; if [[ $code -eq 124 ]]; then echo test timeout with $code && exit 0; else echo test failed with $code && exit $code; fi
- name: Upload example database
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: hypothesis-example-db
path: .hypothesis/examples
path: ${{ env.subdir }}/.hypothesis/examples

- name: check log
if: always()
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/mutate-test-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,10 @@ jobs:
cd -
- name: Upload Pit Report
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: pit-reports
path: sdk/java/target/pit-reports
path: ${{ env.subdir }}/sdk/java/target/pit-reports

- name: Send Slack Notification
if: failure() && github.event_name != 'workflow_dispatch'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pysdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,11 +167,11 @@ jobs:
sudo USE_SDK=true META_URL=$meta_url python3 .github/scripts/hypo/fs.py
- name: Upload example database
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: hypothesis-example-db
path: .hypothesis/examples
path: ${{ env.subdir }}/.hypothesis/examples

- name: upload coverage report
timeout-minutes: 5
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/vdbench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,10 @@ jobs:
GOCOVERDIR=$(pwd)/cover ./juicefs mount -d $meta_url /tmp/jfs --no-usage-report --cache-size 1024 --max-deletes 50
vdbench/vdbench -f .github/workflows/resources/vdbench_long_run.conf -jn
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: output-long-run
path: output
path: ${{ env.subdir }}/output

- name: check vdbench log
if: always()
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 @@ -128,7 +128,7 @@ jobs:
- name: Upload command log
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{matrix.meta}}-${{matrix.old_juicefs_version}}.command.log
path: ~/command.log
Expand Down

0 comments on commit 0d88754

Please sign in to comment.