Skip to content
  • Steve Xuereb's avatar
    617995a2
    Port cache bash script to Go for helper image · 617995a2
    Steve Xuereb authored
    `gitlab-runner-cache` is being used to change the permissions, port
    this script to Go so that it is cross-platform.
    
    The bash script loops through the paths but separating them with
    spaces, which will not work for Windows since it is a lot more common to
    have a directory with spaces. Looking at the usage of the script we
    always send 1 path so the loop was a bit redundant.
    
    For now do not use the Go command since changing it will result into a
    breaking change. This will be done behind a feature flag which will done
    in a feature MR.
    
    #3755
    617995a2
    Port cache bash script to Go for helper image
    Steve Xuereb authored
    `gitlab-runner-cache` is being used to change the permissions, port
    this script to Go so that it is cross-platform.
    
    The bash script loops through the paths but separating them with
    spaces, which will not work for Windows since it is a lot more common to
    have a directory with spaces. Looking at the usage of the script we
    always send 1 path so the loop was a bit redundant.
    
    For now do not use the Go command since changing it will result into a
    breaking change. This will be done behind a feature flag which will done
    in a feature MR.
    
    #3755
Loading