renovate/lib/modules/manager/bundler
Michael Kriese ec4b17b8b6
feat(config)!: default dockerImagePrefix to containerbase (#20150)
Sidecar containers will now use `containerbase/` prefix instead of `renovate/` prefix.

BREAKING CHANGE: containerbase/ account used for sidecar containers instead of renovate/
2023-03-10 09:34:40 +01:00
..
__fixtures__ refactor: lib/modules (#14488) 2022-03-04 09:04:02 +01:00
__snapshots__ fix(ruby): extract version with quotation (#17222) 2022-08-19 10:04:12 +00:00
artifacts.spec.ts feat(config)!: default dockerImagePrefix to containerbase (#20150) 2023-03-10 09:34:40 +01:00
artifacts.ts feat: better sanitize (#19646) 2023-01-03 12:29:07 +00:00
common.spec.ts feat(config): containerbaseDir (#17414) 2022-08-25 15:43:06 +00:00
common.ts refactor: Fix constraint typos (#16879) 2022-08-01 04:02:55 +00:00
extract.spec.ts refactor: remove deprecated loadFixture calls (#16404) 2022-07-04 04:18:53 +00:00
extract.ts refactor: PackageFile -> PackageFileContent (#20502) 2023-02-19 12:43:48 +00:00
gemfile.spec.ts refactor: remove deprecated loadFixture calls (#16404) 2022-07-04 04:18:53 +00:00
host-rules.spec.ts test: enforce lint style rules (#15085) 2022-04-12 14:49:49 +00:00
host-rules.ts refactor(bundler): add tests (#18398) 2022-10-19 15:59:32 +03:00
index.ts refactor: convert ProgrammingLanguage to union type (#18748) 2022-11-05 08:49:57 +00:00
locked-version.spec.ts refactor(bundler): add tests (#18398) 2022-10-19 15:59:32 +03:00
locked-version.ts refactor(bundler): add tests (#18398) 2022-10-19 15:59:32 +03:00
readme.md fix: whitesource -> mend (#15729) 2022-05-25 15:23:28 +02:00
update-locked.spec.ts refactor: change currentVersion to non-optional in UpdateLockedConfig (#18406) 2022-10-21 15:29:39 +00:00
update-locked.ts refactor: change currentVersion to non-optional in UpdateLockedConfig (#18406) 2022-10-21 15:29:39 +00: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 Mend Renovate app, make use of the encrypted capability