You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Affected Puppet, Ruby, OS and module versions/distributions
Puppet: any
Ruby: any
Distribution: any
Module version: 2.1.0
Problem
There is no nice way to specify a runner config hash that results in multiple --env FOO=BAR options passed to the gitlab-runner register ... command. This is because each parameter is represented as a hash key and you can not have duplicate keys in a hash. The below hiera yaml shows a very hacky workaround to achieve this, but this is horrible.
Affected Puppet, Ruby, OS and module versions/distributions
Problem
There is no nice way to specify a runner config hash that results in multiple
--env FOO=BARoptions passed to thegitlab-runner register ...command. This is because each parameter is represented as a hash key and you can not have duplicate keys in a hash. The below hiera yaml shows a very hacky workaround to achieve this, but this is horrible.Hiera data for a node:
Suggestion
Perhaps a key
unstructured_parameterscontaining an array could be handled, eg:Or a special hash for environment variables:
The text was updated successfully, but these errors were encountered: