0
0
mirror of https://github.com/renovatebot/renovate.git synced 2024-12-22 13:38:32 +00:00
renovatebot_renovate/lib/modules/datasource/galaxy-collection
2024-08-27 18:03:31 +00:00
..
__fixtures__ fix(galaxy-collection): return sourceUrl of highest_version in getReleases() (#25769) 2023-11-14 20:31:41 +00:00
__snapshots__ feat(datasource/galaxy-collection): support ansible automation hub (#25675) 2023-11-27 14:02:54 +00:00
index.spec.ts feat(datasource/galaxy-collection): support ansible automation hub (#25675) 2023-11-27 14:02:54 +00:00
index.ts refactor(galaxy-collection): Use single cache namespace (#31036) 2024-08-27 18:03:31 +00:00
readme.md feat(datasource/galaxy-collection): support ansible automation hub (#25675) 2023-11-27 14:02:54 +00:00
schema.ts feat(datasource/galaxy-collection): migrate from v2 to v3 (#25239) 2023-11-10 20:48:27 +00:00

By default, the galaxy-collection datasource checks for dependencies on https://galaxy.ansible.com. But you can override the default if you want.

Set your own registries by:

  • setting a source in your requirements.yaml file, or
  • writing a packageRule to set a new registryURLs

Then you can use Renovate with a private automation hub.

---
collections:
  - name: community.general
    version: 3.0.0
    source: https://hub.mydomain.com/api/galaxy/content/community/
{
  "packageRules": [
    {
      "matchDatasources": ["galaxy-collection"],
      "registryUrls": [
        "https://hub.mydomain.com/api/galaxy/content/community/",
        "https://hub.mydomain.com/api/galaxy/content/certified/",
        "https://hub.mydomain.com/api/galaxy/content/myprivaterepo/"
      ]
    }
  ]
}