sameersbn / docker-gitlab-ci-multi-runner

MIT License
145 stars 85 forks source link

Fix non-interactive mode #1

Closed outcoldman closed 9 years ago

outcoldman commented 9 years ago

When 'non-interactive' is not specified gitlab-ci-multi-runner will ask for the all parameters anyway.

As a workaround REGISTER_NON_INTERACTIVE env-var can be used.

sameersbn commented 9 years ago

@outcoldman merged. but just to be clear. I have not faced such an issue.

sameersbn commented 9 years ago

@outcoldman could however be related to a newer version or something

outcoldman commented 9 years ago

@sameersbn I just checked with the history of https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/blob/master/commands/register.go - I believe that without this flag register command never worked. Maybe you actually never used it? I mean maybe you had your own config every time when you started this image? This is the line which is getting affected by this setting https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/blob/master/commands/register.go#L31