doc: merge README.renovate into README

This commit is contained in:
Sebastian Mark 2023-07-29 17:57:24 +02:00
parent 6b65863071
commit 8b1c11d9d6
2 changed files with 36 additions and 35 deletions

View file

@ -2,8 +2,42 @@
* [ara-server](https://ara.recordsansible.org/) * [ara-server](https://ara.recordsansible.org/)
* [c19d](https://gitlab.com/smsvc/c19d/) * [c19d](https://gitlab.com/smsvc/c19d/)
* [removate-bot](https://github.com/renovatebot/renovate) (see [README.renovate.md](README.renovate.md)) * [removate-bot](https://github.com/renovatebot/renovate) (see [Renovate Bot](#renovate-bot))
## Installation ## Installation
see [argocd-init.yaml in k8s/baseline](https://git.smsvc.net/k8s/baseline/src/branch/main/argocd-init.yml) `kubectl apply -f argocd_app.yml`
### Renovate-Bot
The deployment only applies the basic settings for renovate, but does not include any credentials or platform configuration.
Create a new secret to provide the necessary settings:
```
---
apiVersion: v1
kind: Secret
metadata:
name: renovate-env
namespace: renovate
type: Opaque
stringData:
GITHUB_COM_TOKEN: 'your-github-token-here'
RENOVATE_PLATFORM: 'gitea'
RENOVATE_ENDPOINT: 'https://git.smsvc.net/'
RENOVATE_TOKEN: 'your-api-token-here'
LOG_LEVEL: info
```
You must set at least `RENOVATE_PLATFORM`, `RENOVATE_ENDPOINT` and `RENOVATE_TOKEN`.
You can set any configuration that can be set by environment variable (see References).
---
References:
- [Supported Platforms](https://docs.renovatebot.com/modules/platform/)
- [Self-Hosted configuration](https://docs.renovatebot.com/self-hosted-configuration/)
- [GitHub.com token for release notes](https://docs.renovatebot.com/getting-started/running/#githubcom-token-for-release-notes)
- [Log debug levels](https://docs.renovatebot.com/troubleshooting/#log-debug-levels)

View file

@ -1,33 +0,0 @@
# Renovate Bot
The baseline only applies the basic settings for renovate, but does not include any credentials or platform configuration.
Create a new secret to provide the necessary settings:
```
---
apiVersion: v1
kind: Secret
metadata:
name: renovate-env
namespace: renovate
type: Opaque
stringData:
GITHUB_COM_TOKEN: 'your-github-token-here'
RENOVATE_PLATFORM: 'gitea'
RENOVATE_ENDPOINT: 'https://git.smsvc.net/'
RENOVATE_TOKEN: 'your-api-token-here'
LOG_LEVEL: info
```
You must set at least `RENOVATE_PLATFORM`, `RENOVATE_ENDPOINT` and `RENOVATE_TOKEN`.
You can set any configuration that can be set by environment variable (see References).
---
References:
- [Supported Platforms](https://docs.renovatebot.com/modules/platform/)
- [Self-Hosted configuration](https://docs.renovatebot.com/self-hosted-configuration/)
- [GitHub.com token for release notes](https://docs.renovatebot.com/getting-started/running/#githubcom-token-for-release-notes)
- [Log debug levels](https://docs.renovatebot.com/troubleshooting/#log-debug-levels)