setup renovate

This commit is contained in:
Robert Kaussow 2020-11-17 14:01:42 +01:00
parent ebbc781ce7
commit b59abec139
Signed by: xoxys
GPG Key ID: 65362AE74AF98B61
3 changed files with 27 additions and 12 deletions

View File

@ -257,10 +257,9 @@ local PipelineDocs = {
steps: [
{
name: 'assets',
image: 'byrnedo/alpine-curl',
image: 'thegeeklab/alpine-tools',
commands: [
'mkdir -p docs/themes/hugo-geekdoc/',
'curl -L https://github.com/thegeeklab/hugo-geekdoc/releases/latest/download/hugo-geekdoc.tar.gz | tar -xz -C docs/themes/hugo-geekdoc/ --strip-components=1',
'make doc',
],
},
{
@ -337,6 +336,9 @@ local PipelineDocs = {
strip_prefix: 'docs/public/',
target: '/${DRONE_REPO_NAME}',
},
when: {
ref: ['refs/heads/master', 'refs/tags/**'],
},
},
],
depends_on: [
@ -346,7 +348,7 @@ local PipelineDocs = {
'build-container-arm',
],
trigger: {
ref: ['refs/heads/master', 'refs/tags/**'],
ref: ['refs/heads/master', 'refs/tags/**', 'refs/pull/**'],
},
};

View File

@ -436,10 +436,9 @@ concurrency:
steps:
- name: assets
image: byrnedo/alpine-curl
image: thegeeklab/alpine-tools
commands:
- mkdir -p docs/themes/hugo-geekdoc/
- curl -L https://github.com/thegeeklab/hugo-geekdoc/releases/latest/download/hugo-geekdoc.tar.gz | tar -xz -C docs/themes/hugo-geekdoc/ --strip-components=1
- make doc
- name: markdownlint
image: node:lts-alpine
@ -499,11 +498,16 @@ steps:
source: docs/public/
strip_prefix: docs/public/
target: /${DRONE_REPO_NAME}
when:
ref:
- refs/heads/master
- refs/tags/**
trigger:
ref:
- refs/heads/master
- refs/tags/**
- refs/pull/**
depends_on:
- build-package
@ -603,6 +607,6 @@ depends_on:
---
kind: signature
hmac: 06ddc40fb488eedcd3e5b8b71be91eed5b0414955f39edfd8689a286be1d2f7d
hmac: fd70b6b2c63c8307c8653b9ca6bd264501e5237ffb22bcf0883f9eb327ee6f89
...

View File

@ -1,5 +1,14 @@
{
"extends": [
"config:base"
]
}
"extends": ["config:base"],
"regexManagers": [
{
"fileMatch": ["^Makefile$"],
"matchStrings": [
"# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)( versioning=(?<versioning>.*?))?\\n.*?_VERSION := (?<currentValue>.*)\\s"
]
}
],
"droneci": {
"enabled": false
}
}