diff options
author | John Wren Kennedy <[email protected]> | 2021-12-01 17:18:45 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2021-12-01 16:18:45 -0800 |
commit | ddc026f59ba38ae6a33fa7b6874eaa8105ad7df3 (patch) | |
tree | dc1244764346b217f4cbebf5da2b913ba533e6e8 /.github/workflows/zfs-tests-functional.yml | |
parent | 77e2756de08ccd4e8ce755f78bdcda1e3e0c55e5 (diff) |
Strip colons from all test result filenames
The upload artifact functionality in github can't handle colons in
filenames. The current code handles this for files under the most
recent set of results. With the ability to rerun failed tests, now
there can be multiple sets of results, and they all need to be
processed in the same way.
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Tony Nguyen <[email protected]>
Signed-off-by: John Kennedy <[email protected]>
Closes #12815
Diffstat (limited to '.github/workflows/zfs-tests-functional.yml')
-rw-r--r-- | .github/workflows/zfs-tests-functional.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/zfs-tests-functional.yml b/.github/workflows/zfs-tests-functional.yml index 46d7deace..2987cdac6 100644 --- a/.github/workflows/zfs-tests-functional.yml +++ b/.github/workflows/zfs-tests-functional.yml @@ -73,7 +73,7 @@ jobs: sudo cp /var/log/syslog $RESULTS_PATH/ sudo chmod +r $RESULTS_PATH/* # Replace ':' in dir names, actions/upload-artifact doesn't support it - for f in $(find $RESULTS_PATH -name '*:*'); do mv "$f" "${f//:/__}"; done + for f in $(find /var/tmp/test_results -name '*:*'); do mv "$f" "${f//:/__}"; done - uses: actions/upload-artifact@v2 if: failure() with: |