[ci] feat: migrated to gitea actions workflow
Some checks failed
Renovate Bot / renovate (push) Has been cancelled
Some checks failed
Renovate Bot / renovate (push) Has been cancelled
This commit is contained in:
parent
6734633f70
commit
e061a45739
39
.drone.yaml
39
.drone.yaml
@ -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
|
42
.gitea/workflows/renovate.yaml
Normal file
42
.gitea/workflows/renovate.yaml
Normal 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
|
Loading…
Reference in New Issue
Block a user