gitlab-runner: Try fixing #356717

This commit is contained in:
Ben Gamari
2024-12-01 15:03:37 -05:00
parent dcfddbffcc
commit 0a7dc31a85

View File

@@ -78,7 +78,7 @@ let
touch ${configPath}
# update global options
remarshal --if toml --of json ${configPath} \
remarshal --if toml --of json --stringify ${configPath} \
| jq -cM 'with_entries(select([.key] | inside(["runners"])))' \
| jq -scM '.[0] + .[1]' - <(echo ${escapeShellArg (toJSON cfg.settings)}) \
| remarshal --if json --of toml \