• Dmitriy Zaporozhets's avatar
    Merge branch 'check_if_it_should_be_archived_in_backup' into 'master' · 61c6e969
    Dmitriy Zaporozhets authored
    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.
    
    See merge request !1824
    61c6e969
manager.rb 5.35 KB