renovate/lib/manager/bundler
2021-04-13 12:07:57 +02:00
..
__fixtures__ fix(bundler): More flexible parsing for gem lines (#7321) 2020-09-21 21:30:09 +02:00
__snapshots__ refactor(manager): Enforce getName usage (#9523) 2021-04-13 12:07:57 +02:00
artifacts.spec.ts feat: admin config init (#8546) 2021-02-05 09:20:47 +01:00
artifacts.ts feat: use short renovate image names (#9133) 2021-03-15 13:23:38 +00:00
extract.spec.ts refactor(manager): Enforce getName usage (#9523) 2021-04-13 12:07:57 +02:00
extract.ts refactor: optimize type usage (#8947) 2021-03-02 21:44:55 +01:00
gemfile.spec.ts refactor(test): move manager tests to lib (#5300) 2020-02-05 01:14:31 +01:00
host-rules.spec.ts refactor(manager): Enforce getName usage (#9523) 2021-04-13 12:07:57 +02:00
host-rules.ts feat(bundler): authentication support using hostRules (#5269) 2020-03-29 09:20:38 +02:00
index.ts chore: import linting (#6105) 2020-05-01 18:03:48 +02:00
locked-version.spec.ts refactor(test): move manager tests to lib (#5300) 2020-02-05 01:14:31 +01:00
locked-version.ts chore: import linting (#6105) 2020-05-01 18:03:48 +02:00
range.spec.ts refactor(manager): Enforce getName usage (#9523) 2021-04-13 12:07:57 +02:00
range.ts refactor: optimize type usage (#8947) 2021-03-02 21:44:55 +01:00
readme.md docs: fix bundler auth readme 2020-03-30 21:23:50 +02:00
utils.ts refactor: optimize type usage (#8947) 2021-03-02 21:44:55 +01:00

The bundler manager is used to extract dependencies from Gemfile and Gemfile.lock files.

Authenticating private registry

If you need Bundler to authenticate with a private registry - and it's not the same host as your GitHub/GitLab/etc - then you should do so with hostRules and be sure to set the hostType value to be "bundler". e.g.

{
  "hostRules": [
    {
      "hostName": "private-registry.company.com",
      "hostType": "bundler",
      "token": "abc123"
    }
  ]
}

Important notes regarding the above:

hostType=bundler is essential. If the registry is used for multiple package types then you may need multiple hostRules. You cannot leave off hostType.

Instead of token, you may also supply username and password instead.

If you don't want to commit raw secrets to your repository, either:

  • If self hosting, add the hostRules to your bot's configuration file rather than the repository's configuration file, or
  • If using the hosted WhiteSource Renovate app, make use of the encrypted capability