mirror of
https://github.com/thegeeklab/docker-tidy.git
synced 2024-11-22 12:10:40 +00:00
Merge pull request #2 from thegeeklab/renovate/configure
Configure Renovate
This commit is contained in:
commit
97ca253a01
@ -257,10 +257,9 @@ local PipelineDocs = {
|
|||||||
steps: [
|
steps: [
|
||||||
{
|
{
|
||||||
name: 'assets',
|
name: 'assets',
|
||||||
image: 'byrnedo/alpine-curl',
|
image: 'thegeeklab/alpine-tools',
|
||||||
commands: [
|
commands: [
|
||||||
'mkdir -p docs/themes/hugo-geekdoc/',
|
'make doc',
|
||||||
'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',
|
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -337,6 +336,9 @@ local PipelineDocs = {
|
|||||||
strip_prefix: 'docs/public/',
|
strip_prefix: 'docs/public/',
|
||||||
target: '/${DRONE_REPO_NAME}',
|
target: '/${DRONE_REPO_NAME}',
|
||||||
},
|
},
|
||||||
|
when: {
|
||||||
|
ref: ['refs/heads/master', 'refs/tags/**'],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
depends_on: [
|
depends_on: [
|
||||||
@ -346,7 +348,7 @@ local PipelineDocs = {
|
|||||||
'build-container-arm',
|
'build-container-arm',
|
||||||
],
|
],
|
||||||
trigger: {
|
trigger: {
|
||||||
ref: ['refs/heads/master', 'refs/tags/**'],
|
ref: ['refs/heads/master', 'refs/tags/**', 'refs/pull/**'],
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
12
.drone.yml
12
.drone.yml
@ -436,10 +436,9 @@ concurrency:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: assets
|
- name: assets
|
||||||
image: byrnedo/alpine-curl
|
image: thegeeklab/alpine-tools
|
||||||
commands:
|
commands:
|
||||||
- mkdir -p docs/themes/hugo-geekdoc/
|
- make doc
|
||||||
- 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
|
|
||||||
|
|
||||||
- name: markdownlint
|
- name: markdownlint
|
||||||
image: node:lts-alpine
|
image: node:lts-alpine
|
||||||
@ -499,11 +498,16 @@ steps:
|
|||||||
source: docs/public/
|
source: docs/public/
|
||||||
strip_prefix: docs/public/
|
strip_prefix: docs/public/
|
||||||
target: /${DRONE_REPO_NAME}
|
target: /${DRONE_REPO_NAME}
|
||||||
|
when:
|
||||||
|
ref:
|
||||||
|
- refs/heads/master
|
||||||
|
- refs/tags/**
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
ref:
|
ref:
|
||||||
- refs/heads/master
|
- refs/heads/master
|
||||||
- refs/tags/**
|
- refs/tags/**
|
||||||
|
- refs/pull/**
|
||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- build-package
|
- build-package
|
||||||
@ -603,6 +607,6 @@ depends_on:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 06ddc40fb488eedcd3e5b8b71be91eed5b0414955f39edfd8689a286be1d2f7d
|
hmac: fd70b6b2c63c8307c8653b9ca6bd264501e5237ffb22bcf0883f9eb327ee6f89
|
||||||
|
|
||||||
...
|
...
|
||||||
|
14
renovate.json
Normal file
14
renovate.json
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"extends": ["config:base"],
|
||||||
|
"regexManagers": [
|
||||||
|
{
|
||||||
|
"fileMatch": ["^Makefile$"],
|
||||||
|
"matchStrings": [
|
||||||
|
"# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)( versioning=(?<versioning>.*?))?\\n.*?_VERSION := (?<currentValue>.*)\\s"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"droneci": {
|
||||||
|
"enabled": false
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user