Skip to content

Migrate cache bash script to Go for helper image

What does this MR do?

Migrate cache bash script to Go for helper image

Why was this MR needed?

gitlab-runner-cache was 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.

Are there points in the code the reviewer needs to double check?

Does this MR meet the acceptance criteria?

  • Documentation created/updated
  • Added tests for this feature/bug
  • In case of conflicts with master - branch was rebased

What are the relevant issue numbers?

#3755 (closed)

Edited by Kamil Trzciński

Merge request reports