[ci] feat: migrated to gitea actions workflow
Some checks failed
Renovate Bot / renovate (push) Has been cancelled

This commit is contained in:
Simon Cornet 2024-07-02 17:03:59 +02:00
parent 6734633f70
commit e061a45739
2 changed files with 42 additions and 39 deletions

View File

@ -1,39 +0,0 @@
---
# renovate
name: 'renovate'
kind: 'pipeline'
type: 'kubernetes'
# renovate steps
steps:
# run renovate
- name: 'renovate'
image: 'registry.hub.docker.com/renovate/renovate'
when:
branch:
- 'master'
# run this command
commands:
- 'renovate'
# environment variables
environment:
# renovate -> github
GITHUB_COM_TOKEN:
from_secret: 'github_access_token'
# renovate -> gitea
RENOVATE_TOKEN:
from_secret: 'renovate_token'
RENOVATE_USERNAME: 'renovate'
RENOVATE_PLATFORM: 'gitea'
RENOVATE_ENDPOINT: 'https://git.simoncor.net/api/v1'
RENOVATE_GIT_URL: 'endpoint'
RENOVATE_GIT_AUTHOR: 'Renovate Bot <renovate@simoncor.net>'
RENOVATE_AUTODISCOVER: true

View File

@ -0,0 +1,42 @@
---
# generic
name: 'Renovate Bot'
on:
schedule:
- cron: "0 45 6 * * *"
push:
branches:
- 'master'
# jobs
jobs:
# renovate
renovate:
runs-on: 'ubuntu-latest'
container: 'ghcr.io/renovatebot/renovate:latest'
steps:
# checkout code
- name: 'Clone repo'
uses: 'actions/checkout@v2'
# run renovate
- run: 'renovate'
env:
# generic
LOG_LEVEL: 'info'
# renovate -> github
GITHUB_COM_TOKEN: ${{ secrets.GH_TOKEN }}
# renovate -> gitea
RENOVATE_USERNAME: 'renovate'
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
RENOVATE_PLATFORM: 'gitea'
RENOVATE_ENDPOINT: 'https://git.simoncor.net/api/v1'
RENOVATE_GIT_URL: 'endpoint'
RENOVATE_GIT_AUTHOR: 'Renovate Bot <renovate@simoncor.net>'
RENOVATE_AUTODISCOVER: true