Compare commits

...

1 commit

Author SHA1 Message Date
Renovate Bot
9bf604683d configure renovate
All checks were successful
continuous-integration/drone/push Build is passing
2025-05-08 13:51:07 +02:00
4 changed files with 66 additions and 3 deletions

View file

@ -1,6 +1,6 @@
kind: pipeline kind: pipeline
type: docker type: docker
name: default name: check
services: services:
- name: postgres - name: postgres
@ -14,7 +14,7 @@ trigger:
- push - push
steps: steps:
- name: check - name: lint
image: docker.io/library/elixir:1.18.3-otp-27 image: docker.io/library/elixir:1.18.3-otp-27
commands: commands:
# Install hex package manager # Install hex package manager
@ -62,3 +62,32 @@ steps:
- mix deps.get - mix deps.get
# Run tests # Run tests
- mix test - mix test
---
kind: pipeline
type: docker
name: renovate
trigger:
event:
- cron
- push
- custom
environment:
LOG_LEVEL: debug
steps:
- name: renovate
image: renovate/renovate:39.256
environment:
RENOVATE_CONFIG_FILE: "renovate_backend_config.js"
RENOVATE_TOKEN:
from_secret: RENOVATE_TOKEN
#GITHUB_COM_TOKEN:
# from_secret: GITHUB_COM_TOKEN
commands:
# https://github.com/renovatebot/renovate/discussions/15049
- unset GIT_COMMITTER_NAME GIT_COMMITTER_EMAIL GIT_AUTHOR_NAME GIT_AUTHOR_EMAIL
- renovate-config-validator
- renovate

View file

@ -1,5 +1,10 @@
root = true root = true
[*]
indent_style = space
[*.yml] [*.yml]
indent_size = 2 indent_size = 2
indent_style = space
[*.json]
indent_size = 2

10
renovate.json Normal file
View file

@ -0,0 +1,10 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended"],
"packageRules": [
{
"groupName": "elixir dependencies",
"matchCategories": "elixir"
}
]
}

View file

@ -0,0 +1,19 @@
// This file only contains "backend" administration settings for renovate,
// such as where to access the forgejo api etc.
// To configure how renovate updates dependencies, see `renovate.json`.
module.exports = {
endpoint: "https://git.local-it.org/api/v1/",
gitAuthor: "Renovate Bot <renovate@local-it.org>",
username: "renovate",
platform: "gitea",
onboarding: true,
autodiscover: true,
persistRepoData: true,
optimizeForDisabled: true,
assignees: [],
labels: ["renovate", "dependencies", "automated"],
onboardingConfig: {
extends: ["config:recommended"],
},
repositories: ["local-it/mitgliederverwaltung"],
};