From fffef57a90754511dca68b8de26dcc1780993d34 Mon Sep 17 00:00:00 2001 From: Joanna Stencel Date: Thu, 12 Dec 2024 09:57:30 +0100 Subject: [PATCH] Fix load tests workflow (#115) Change ebpf-discovery log file permission after load tests to enable uploading it. --- .github/actions/run-load-tests/action.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/actions/run-load-tests/action.yaml b/.github/actions/run-load-tests/action.yaml index 8a7a30c2..205ef209 100644 --- a/.github/actions/run-load-tests/action.yaml +++ b/.github/actions/run-load-tests/action.yaml @@ -34,8 +34,12 @@ runs: cd ${{ env.LOAD_TESTING_PATH }} /bin/bash test_load.sh ${{ env.DISCOVERY_BIN_PATH }} ${{ github.workspace }}/logs 5 5 30m continue-on-error: true + - name: Set permissions for logs + shell: bash + run: | + sudo chmod -R 777 ${{ github.workspace }}/logs - name: "Upload log archive" - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: "log-archive" - path: ${{ github.workspace }}/logs \ No newline at end of file + path: ${{ github.workspace }}/logs