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: migrate upload artifact to v4 #5570

Merged
merged 11 commits into from
Jan 24, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Next Next commit
upload artifact v4
  • Loading branch information
CodingPoeta committed Jan 17, 2025
commit 32f7bd196c330da06d661f75411a5234d6a7b6ab
2 changes: 1 addition & 1 deletion .github/workflows/command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,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,10 +106,10 @@ 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
name: hypothesis-example-db-${{ matrix.runs-on }}
path: .hypothesis/examples

- name: Check client log
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,10 +118,10 @@ 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
name: hypothesis-example-db-${{ matrix.runs-on }}
path: .hypothesis/examples

- name: check fsrand.log
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,10 +101,10 @@ 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
name: hypothesis-example-db-${{ matrix.runs-on }}
path: .hypothesis/examples

- name: check log
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mutate-test-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ 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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pysdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,10 +166,10 @@ 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
name: hypothesis-example-db-${{ matrix.runs-on }}
path: .hypothesis/examples

- name: upload coverage report
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,9 +98,9 @@ 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
name: output-long-run-${{ matrix.runs-on }}
path: output

- name: check vdbench log
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/version_compatible_hypo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,9 @@ 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
name: ${{matrix.meta}}-${{matrix.old_juicefs_version}}.command.log-${{ matrix.runs-on }}
path: ~/command.log

- name: Display log
Expand Down
Loading