Skip to content

jenkinsci/renovate-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

renovate-config

This repository contains a custom configuration preset for Jenkins plugins.

Usage

On-boarding renovate

  1. Create a new file .github/renovate.json containing:

    {
      "$schema": "https://docs.renovatebot.com/renovate-schema.json",
      "extends": [
        "github>jenkinsci/renovate-config"
      ]
    }
  2. Run a manual scan on your repository from the mend.io developer portal by selecting "Run Renovate Scan".

image
  1. That's it. Renovate will now use the custom configuration preset.

Existing renovate configuration

  1. Check to see if you have a renovate.json already. It can be in any of these possible locations.

We recommend moving it to .github/renovate.json if it is not already there.

  1. Change renovate config to:

    {
      "$schema": "https://docs.renovatebot.com/renovate-schema.json",
      "extends": [
        "github>jenkinsci/renovate-config"
      ]
    }
  2. By extending from github>jenkinsci/renovate-config any usage of enabledManagers will disable the default managers. Unless there is a specific reason to do so, enabledManagers should be removed.

    # remove this
    "enabledManagers": [
      "customManager1",
      "customManager2"
    ]
  3. That's it. Renovate will now use the custom configuration preset.

Development

When contributing to this repository, validate your local changes running the following snippet:

npm install
npm test

This triggers the config validation to ensure the configuration is valid.

Validating your own renovate.json

If you want to validate .github/renovate.json in your repository, you can execute the following command.
Make sure to install NodeJS (or use Node Version Manager) then run:

npx --yes --package renovate -- renovate-config-validator --strict

References

About

Central repository for shared renovate configuration

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors