10dad07bcd9764c43bf2b5b5347dfa4e1dfc3062
A var used in container_limits broke the build, because FileConfigSource parses the file into an atc.TaskConfig before any interpolation happens, and '((container_mem_limit))' is not a memory limit. Only fields that are plain strings survived that first parse. FileConfigSource can now hand back the file as written, and InterpolateTemplateConfigSource resolves those bytes and parses once, instead of parsing, marshalling back and parsing again. For a task file the interpolation pass now always runs, with the pipeline vars followed by the credential variables, so a var resolves the same way wherever it appears in the file.
Description
My contributions to concourse/concourse: 1 commits, 1 merged PRs
68 KiB
0 Stars
1 Watchers
0 Forks
Languages
Go
100%