Skip to content

Commit

Permalink
Unarchive log files before uploading artifacts (#1874)
Browse files Browse the repository at this point in the history
Doing this makes the artifacts easier to use, since it doesn't require
unzip and unarchiving the logs separately. It also fixes an error with
the benchmark steps, since these expect the perf.json files to be
readily accessible.

Unfortunately, I wasn't able to do this in ansible, so running the test
manually on remote systems still creates archives on the local host.
  • Loading branch information
Molter73 authored Oct 2, 2024
1 parent 854b357 commit e84d88e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/integration-tests-vm-type.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,15 @@ jobs:
fi
make -C "${{ github.workspace }}/ansible" destroy-vms
- name: Unarchive logs
if: always()
run: |
cd ${{ github.workspace }}/integration-tests/
for file in container-logs/*.tar.gz; do
tar xzf "$file"
rm -f "$file"
done
- name: Store artifacts
if: always()
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit e84d88e

Please sign in to comment.