Files
proxmox/docs/04-configuration/RENOVATE_GITEA_SETUP.md
defiQUG fbda1b4beb
Some checks failed
Deploy to Phoenix / deploy (push) Has been cancelled
docs: Ledger Live integration, contract deploy learnings, NEXT_STEPS updates
- ADD_CHAIN138_TO_LEDGER_LIVE: Ledger form done; public code review repo bis-innovations/LedgerLive; init/push commands
- CONTRACT_DEPLOYMENT_RUNBOOK: Chain 138 gas price 1 gwei, 36-addr check, TransactionMirror workaround
- CONTRACT_*: AddressMapper, MirrorManager deployed 2026-02-12; 36-address on-chain check
- NEXT_STEPS_FOR_YOU: Ledger done; steps completable now (no LAN); run-completable-tasks-from-anywhere
- MASTER_INDEX, OPERATOR_OPTIONAL, SMART_CONTRACTS_INVENTORY_SIMPLE: updates
- LEDGER_BLOCKCHAIN_INTEGRATION_COMPLETE: bis-innovations/LedgerLive reference

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 15:46:57 -08:00

72 lines
1.7 KiB
Markdown

# Renovate Bot for Gitea Setup
**Last Updated:** 2026-02-10
---
## Overview
Renovate automatically creates PRs for dependency updates. This doc covers self-hosted Renovate with Gitea.
## Option 1: Renovate via Gitea Actions (when act_runner is running)
Create `.gitea/workflows/renovate.yml` to run Renovate on a schedule:
```yaml
name: Renovate
on:
schedule:
- cron: '0 5 * * 1'
workflow_dispatch:
jobs:
renovate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: renovate/renovate@v40
env:
RENOVATE_TOKEN: ${{ secrets.GITEA_TOKEN }}
RENOVATE_PLATFORM: gitea
RENOVATE_ENDPOINT: https://gitea.d-bis.org
```
Note: Renovate Action may require Gitea-specific configuration.
## Option 2: Self-Hosted Renovate (Docker)
Run Renovate as a container:
```bash
docker run -e RENOVATE_TOKEN=<gitea_token> \
-e RENOVATE_PLATFORM=gitea \
-e RENOVATE_ENDPOINT=https://gitea.d-bis.org \
-e RENOVATE_AUTODISCOVER=true \
renovate/renovate
```
Or use docker-compose with a config file.
## Repository Config
Each repo can have `renovate.json` in the root. The proxmox repo includes:
```json
{
"extends": ["config:base"],
"packageRules": [{
"updateTypes": ["minor", "patch", "pin", "digest"],
"automerge": false
}],
"schedule": ["before 6am on monday"]
}
```
## Gitea Token
Create a Gitea PAT with: `repo` (read/write), `user` (read), `issue` (read/write).
## References
- [Renovate Gitea Platform](https://docs.renovatebot.com/modules/platform/gitea/)
- [Gitea + Renovate Tutorial](https://about.gitea.com/resources/tutorials/use-gitea-and-renovate-bot-to-automatically-monitor-software-packages)