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 version: v0
runs: 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 - name: Test and lint
tasks: tasks:
- name: Checkout code - name: Checkout code
runtime: runtime:
type: pod
containers: containers:
- image: docker.io/alpine/git - image: docker.io/alpine/git
steps: steps:
@ -15,11 +35,9 @@ runs:
- source_dir: . - source_dir: .
dest_dir: . dest_dir: .
paths: paths:
- '**' - "**"
- name: Run tests - name: Run tests
runtime: runtime:
type: pod
arch: amd64
containers: containers:
- image: docker.io/golang:1.19-bullseye - image: docker.io/golang:1.19-bullseye
environment: environment:
@ -42,8 +60,6 @@ runs:
- name: Lint code - name: Lint code
runtime: runtime:
type: pod
arch: amd64
containers: containers:
- image: docker.io/golangci/golangci-lint - image: docker.io/golangci/golangci-lint
environment: environment:

2
.gitignore vendored
View file

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