Skip to content

Commit

Permalink
Unarchive log files before uploading artifacts
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 committed Oct 2, 2024
1 parent 854b357 commit ffabbf4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 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,14 @@ jobs:
fi
make -C "${{ github.workspace }}/ansible" destroy-vms
- name: Unarchive logs
run: |
cd ${{ github.workspace }}/integration-tests/
for file in container-logs/*.tar.gz; do
tar -C xzf "$file"
rm -f "$file"
done
- name: Store artifacts
if: always()
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit ffabbf4

Please sign in to comment.