Compare commits

...

4 commits

Author SHA1 Message Date
Oliver Traber 7cb52bd721 Merge pull request 'Configure renovate' (#2) from oliver/configure_renovate into main
Some checks failed
ci/woodpecker/push/matrix-media-repo Pipeline was successful
ci/woodpecker/push/wattpad-downloader Pipeline was successful
ci/woodpecker/push/woodpecker-email Pipeline failed
ci/woodpecker/cron/matrix-media-repo Pipeline was successful
ci/woodpecker/cron/wattpad-downloader Pipeline was successful
ci/woodpecker/cron/woodpecker-email Pipeline failed
Reviewed-on: #2
2024-04-06 00:53:13 +02:00
Oliver Traber ed2b67f29d
Setup renovate custom manager 2024-04-06 00:50:55 +02:00
Oliver Traber 3d7f0454de
Update clone step 2024-04-06 00:10:07 +02:00
Oliver Traber 24afa7b76a
Run pipelines only on changes to main 2024-04-06 00:07:17 +02:00
4 changed files with 21 additions and 9 deletions

View file

@ -1,5 +1,6 @@
when:
- path:
- branch: main
path:
include: [ '.woodpecker/matrix-media-repo.yaml' ]
labels:
@ -11,8 +12,8 @@ steps:
clone:
image: alpine/git
commands:
- git clone https://github.com/turt2live/matrix-media-repo.git .
- git checkout v1.3.4
# renovate: datasource=github-releases depName=turt2live/matrix-media-repo versioning=semver-coerced
- git clone --branch v1.3.4 --depth 1 https://github.com/turt2live/matrix-media-repo.git .
docker:
image: woodpeckerci/plugin-docker-buildx
secrets: [docker_username, docker_password]

View file

@ -1,5 +1,6 @@
when:
- path:
- branch: main
path:
include: [ '.woodpecker/wattpad-downloader.yaml' ]
skip_clone: true
@ -8,7 +9,7 @@ steps:
clone:
image: alpine/git
commands:
- git clone https://github.com/Feuerhamster/wattpad-downloader.git .
- git clone --depth 1 https://github.com/Feuerhamster/wattpad-downloader.git .
docker:
image: woodpeckerci/plugin-docker-buildx
secrets: [docker_username, docker_password]

View file

@ -1,5 +1,6 @@
when:
- path:
- branch: main
path:
include: [ '.woodpecker/woodpecker-email.yaml' ]
skip_clone: true
@ -8,8 +9,7 @@ steps:
clone:
image: alpine/git
commands:
- git clone https://gitnet.fr/deblan/woodpecker-email.git .
- git checkout master
- git clone --depth 1 --branch master https://gitnet.fr/deblan/woodpecker-email.git .
docker:
image: woodpeckerci/plugin-docker-buildx
secrets: [docker_username, docker_password]

View file

@ -1,3 +1,13 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"customManagers": [
{
"customType": "regex",
"fileMatch": ["^\\.woodpecker/.*\\.ya?ml$"],
"matchStrings": [
"datasource=(?<datasource>.*?)( registryUrl=(?<registryUrl>[^ ]*))? depName=(?<depName>[^ ]*)( versioning=(?<versioning>.*?))?\\s*- git clone --branch (?<currentValue>[^ ]*)\\s.*"
],
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}"
}
]
}