Skip to content

Commit e84d88e

Browse files
authored
Unarchive log files before uploading artifacts (#1874)
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.
1 parent 854b357 commit e84d88e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/integration-tests-vm-type.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,15 @@ jobs:
121121
fi
122122
make -C "${{ github.workspace }}/ansible" destroy-vms
123123
124+
- name: Unarchive logs
125+
if: always()
126+
run: |
127+
cd ${{ github.workspace }}/integration-tests/
128+
for file in container-logs/*.tar.gz; do
129+
tar xzf "$file"
130+
rm -f "$file"
131+
done
132+
124133
- name: Store artifacts
125134
if: always()
126135
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)