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

View file

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

View file

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