renovate/lib/modules/manager/bundler
Rhys Arkins 7e2e0b3f18
feat(poetry): updateLockedDependency() (#14627)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-03-14 17:56:09 +01:00
..
__fixtures__ refactor: lib/modules (#14488) 2022-03-04 09:04:02 +01:00
__snapshots__ refactor: lib/modules (#14488) 2022-03-04 09:04:02 +01:00
artifacts.spec.ts refactor: lib/modules (#14488) 2022-03-04 09:04:02 +01:00
artifacts.ts refactor: lib/modules (#14488) 2022-03-04 09:04:02 +01:00
extract.spec.ts refactor: lib/modules (#14488) 2022-03-04 09:04:02 +01:00
extract.ts refactor: lib/modules (#14488) 2022-03-04 09:04:02 +01:00
gemfile.spec.ts refactor: lib/modules (#14488) 2022-03-04 09:04:02 +01:00
host-rules.spec.ts refactor: lib/modules (#14488) 2022-03-04 09:04:02 +01:00
host-rules.ts refactor: lib/modules (#14488) 2022-03-04 09:04:02 +01:00
index.ts refactor: lib/modules (#14488) 2022-03-04 09:04:02 +01:00
locked-version.spec.ts refactor: lib/modules (#14488) 2022-03-04 09:04:02 +01:00
locked-version.ts refactor: lib/modules (#14488) 2022-03-04 09:04:02 +01:00
range.spec.ts refactor: lib/modules (#14488) 2022-03-04 09:04:02 +01:00
range.ts refactor: lib/modules (#14488) 2022-03-04 09:04:02 +01:00
readme.md refactor: lib/modules (#14488) 2022-03-04 09:04:02 +01:00
update-locked.spec.ts refactor: lib/modules (#14488) 2022-03-04 09:04:02 +01:00
update-locked.ts feat(poetry): updateLockedDependency() (#14627) 2022-03-14 17:56:09 +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": [
    {
      "matchHost": "private-registry.company.com",
      "hostType": "rubygems",
      "token": "abc123"
    }
  ]
}

Important notes regarding the above:

hostType is a required field, and you must provide a value. If you use Renovate v26 or higher, set hostType=rubygems. If you use Renovate v25 or lower, set hostType=bundler.

If the registry is used for multiple package types then you may need multiple hostRules.

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