Files
Anne Stellingwerf 9fae0192a1 docs: introduce JSON schema validation and migration checks (#38145)
* docs: introduce JSON schema validation and migration checks

* refactor(tools): enhance code clarity with additional typings, comments, and optional chaining

* ci(workflows): add build steps to lint and type-check jobs

* Update tools/check-fenced-code.mjs

Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com>

* Partial revert

* docs(jsonata): fix wording in code block title in readme

* ci(workflows): remove redundant build steps from workflows

* ci(workflows): remove redundant build steps from workflows

* refactor(tools): simplify error reporting

* Incorporate feedback

* Incorporate feedback

* Incorporate feedback

---------

Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com>
Co-authored-by: Jamie Tanna <jamie.tanna@mend.io>
2025-10-07 10:54:48 +00:00

34 lines
1.0 KiB
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 or an ansible repository on artifactory.
```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/",
"https://mydomain.com/artifactory/api/ansible/myrepository/"
]
}
]
}
```