Automated Dependency Updates for CircleCI
Categories: ci
Renovate supports updating CircleCI dependencies.
File Matching¶
By default, Renovate will check any files matching the following regular expression: /(^|/)\.circleci/.+\.ya?ml$/.
For details on how to extend a manager's managerFilePatterns value, please follow this link.
Supported datasources¶
This manager supports extracting the following datasources: docker, orb.
Default config¶
{
"managerFilePatterns": [
"/(^|/)\\.circleci/.+\\.ya?ml$/"
]
}
Additional Information¶
The circleci manager extracts both docker as well as orb datasources from CircleCI config files.
If you need to change the versioning format, read the versioning documentation to learn more.
Private orbs¶
To get private orbs working you should:
- Encrypt your CircleCI token with the Renovate encryption page
- Create a new
hostRulesentry in your Renovate config file - Put the encrypted token in the
tokenfield
The end-result should look like this:
{
"hostRules": [
{
"matchHost": "circleci.com",
"authType": "Token-Only",
"encrypted": {
"token": "****"
}
}
]
}
This config strips the Bearer/Basic prefix from the authorization header.