feat(ci): run renovate bot
Some checks are pending
agola/kreaper/Renovate deps The run finished successfully
agola/kreaper/Test and lint The run is pending

This commit is contained in:
Peter 2022-09-27 21:20:49 +02:00
parent 618e114b08
commit 359be8cf44
Signed by: prskr
GPG key ID: C1DB5D2E8DB512F9
2 changed files with 37 additions and 19 deletions

View file

@ -1,11 +1,31 @@
version: v0
runs:
- name: Renovate deps
when:
branch: main
tasks:
- name: Run renovate
runtime:
containers:
- image: docker.io/renovate/renovate
environment:
RENOVATE_PLATFORM: gitea
RENOVATE_AUTODISCOVER: 'false'
RENOVATE_ENDPOINT: https://code.icb4dc0.de/api/v1
LOG_LEVEL: info
RENOVATE_TOKEN:
from_variable: gitea-token
GITHUB_COM_TOKEN:
from_variable: github-token
steps:
- run:
name: Run bot
command: renovate prskr/kreaper
- name: Test and lint
tasks:
- name: Checkout code
runtime:
type: pod
containers:
- image: docker.io/alpine/git
steps:
@ -15,11 +35,9 @@ runs:
- source_dir: .
dest_dir: .
paths:
- '**'
- "**"
- name: Run tests
runtime:
type: pod
arch: amd64
containers:
- image: docker.io/golang:1.19-bullseye
environment:
@ -42,8 +60,6 @@ runs:
- name: Lint code
runtime:
type: pod
arch: amd64
containers:
- image: docker.io/golangci/golangci-lint
environment:

2
.gitignore vendored
View file

@ -17,3 +17,5 @@
.idea/
dist/
out/
.env
.env.*