2024-02-14 13:33:51 +01:00
< p align = "right" >
< img src = "http://forthebadge.com/images/badges/built-with-love.svg" >
< img src = "http://forthebadge.com/images/badges/for-you.svg" >
< / p >
< p align = "center" >
< a href = "https://gitea.ocram85.com/renovate-bot/config/" >
< img
2024-02-14 14:31:34 +01:00
src="./assets/social-logo.png"
2024-02-14 13:33:51 +01:00
alt="config"
>
< / a >
< / p >
< h1 align = "center" >
2024-02-14 14:31:34 +01:00
Local Renovate-Bot Config
2024-02-14 13:33:51 +01:00
< / h1 >
< p align = "center" >
2024-02-14 14:31:34 +01:00
Renovate-bot instance and preset config
2024-02-14 13:33:51 +01:00
< / p >
< p align = "center" >
2024-02-14 14:31:34 +01:00
< a href = "https://ci.ocram85.com/renovate-bot/config" >
< img src = "https://ci.ocram85.com/api/badges/renovate-bot/config/status.svg" alt = "Main Branch Build Status" >
2024-02-14 13:33:51 +01:00
< / a >
< / p >
2024-02-14 14:31:34 +01:00
## 📖 General
2024-02-14 13:33:51 +01:00
2024-02-14 14:46:35 +01:00
![setup ](assets/setup.excalidraw.png )
2024-02-14 14:31:34 +01:00
This repository contains the definition for local the local renovate-bot instance.
Dependency updates will be checked weekly and executed as woodpecker cron job.
| Config file | Description |
| -------------------------------: | ------------------------------------------------------------------------------- |
| [`config.js` ](config.js ) | Platform relevant config for local instance. |
| [`default.json` ](default.json ) | Local preset for repos hosted by this Gitea instance. |
| [`renovate.json` ](renovate.json ) | Basic onboarding which can be copied. Also enables renovate on this repository. |
2024-02-14 14:57:44 +01:00
## Instance Setup
Renovate-bot runs containerized started by a Woodpecker-CI cron task. There are 2 pipelines defining the local
renovate instance:
### [lint](.woodpecker/lint.yml) Workflow
Tests all relevant config files and indicates open syntax migrations when needed.
### [renovate](.woodpecker/renovate.yml) Workflow
Defines a _dry-run_ and the actual _renovate_ prod step. _Dry-run_ runs on every push event and _renovate_ when triggered manually or by weekly cronjob.
2024-02-14 14:31:34 +01:00
### Repository Onboarding
1. First check if your Gitea account or organization is listed in the `autodiscoverFilter` .
2. Copy the [`renovate.json` ](renovate.json ) file for basic onboarding. Modify the file based on your project needs.