0
0
Fork 0
mirror of https://github.com/renovatebot/renovate.git synced 2025-01-03 10:49:20 +00:00
renovatebot_renovate/lib/modules/datasource/galaxy-collection/readme.md
jon4hz f7faaa4918
feat(datasource/galaxy-collection): support ansible automation hub (#25675)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
2023-11-27 14:02:54 +00:00

32 lines
917 B
Markdown

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.
```yaml title="Example config for requirements.yaml"
---
collections:
- name: community.general
version: 3.0.0
source: https://hub.mydomain.com/api/galaxy/content/community/
```
```json title="Example config for renovate.json"
{
"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/"
]
}
]
}
```