feat(ci): run renovate bot
This commit is contained in:
parent
618e114b08
commit
359be8cf44
2 changed files with 37 additions and 19 deletions
|
@ -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
2
.gitignore
vendored
|
@ -17,3 +17,5 @@
|
||||||
.idea/
|
.idea/
|
||||||
dist/
|
dist/
|
||||||
out/
|
out/
|
||||||
|
.env
|
||||||
|
.env.*
|
Reference in a new issue