Check which folders and archives should be packed before passing to tar command.
If user uses backup task with SKIP and skips one of the archives listed(uploads, builds, artifacts) backup create will give an error: Cannot stat: No such file or directory
.
This MR fixes that by checking for skipped items.
Additionally, compact everything to avoid TypeError: no implicit conversion of nil into String
errors.
Merge request reports
Activity
Added 1 commit:
- d9c4625c - Specs that failed before the fix.
mentioned in merge request !1823 (merged)
Looks ok, but maybe we can verify that tests cover this case?
Edited by Kamil Trzcińśki@marin Looks ok to me. What you think about Kamil comment?
@dzaporozhets @ayufan The tests previously didn't cover this case, with d9c4625c this case should be covered. If you try that commit on master the specs will fail.
Thanks @marin
👍 Added 1 commit:
- bf3c0aaf - USe reject.
Ping @dzaporozhets
LGTM
👍 Edited by Kamil Trzcińśkimentioned in commit 5b302854
@marin merged. If want in 8.2 make sure to mention @rspeicher
@dzaporozhets Thanks, did so in the release issue.
mentioned in commit 61c6e969