Compare commits

..

1 commit

Author SHA1 Message Date
ad9b32a833
Add pre-commit to renovate
All checks were successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
2024-07-03 18:43:41 +02:00
5 changed files with 10 additions and 9 deletions

View file

@ -31,7 +31,7 @@ repos:
hooks: hooks:
- id: shellcheck - id: shellcheck
- repo: https://github.com/gitleaks/gitleaks - repo: https://github.com/gitleaks/gitleaks
rev: v8.18.4 rev: v8.16.4
hooks: hooks:
- id: gitleaks - id: gitleaks
- repo: local - repo: local

View file

@ -3,7 +3,7 @@ steps:
when: when:
- event: push - event: push
branch: main branch: main
image: woodpeckerci/plugin-docker-buildx:4.2.0@sha256:e3c7a04b5c1c679655a7f8de77721a39492019b4c372bea0e90ec3dd765e750a image: woodpeckerci/plugin-docker-buildx:4.0.0@sha256:9d24b71c37d7a958d79252e608c4d1a04b02f2e74d4e26003b43e0830038bde0
pull: true pull: true
settings: settings:
platforms: linux/amd64 platforms: linux/amd64
@ -21,7 +21,7 @@ steps:
- event: push - event: push
branch: branch:
exclude: ['main'] exclude: ['main']
image: woodpeckerci/plugin-docker-buildx:4.2.0@sha256:e3c7a04b5c1c679655a7f8de77721a39492019b4c372bea0e90ec3dd765e750a image: woodpeckerci/plugin-docker-buildx:4.0.0@sha256:9d24b71c37d7a958d79252e608c4d1a04b02f2e74d4e26003b43e0830038bde0
pull: true pull: true
settings: settings:
platforms: linux/amd64 platforms: linux/amd64

View file

@ -7,7 +7,7 @@ variables:
- &image 'git.verdigado.com/verdigado-images/container-pre-commit:${CI_COMMIT_SHA}' - &image 'git.verdigado.com/verdigado-images/container-pre-commit:${CI_COMMIT_SHA}'
steps: steps:
await-image: await-image:
image: alpine@sha256:0a4eaa0eecf5f8c050e5bba433f58c052be7587ee8af3e8b3910ef9ab5fbe9f5 image: alpine@sha256:b89d9c93e9ed3597455c90a0b88a8bbb5cb7188438f70953fede212a0c4394e0
environment: environment:
IMAGE: *image IMAGE: *image
commands: commands:
@ -16,7 +16,7 @@ steps:
- echo 'found.' - echo 'found.'
clone salt: clone salt:
image: woodpeckerci/plugin-git@sha256:a878e6f9674d44c0dc43dcb6d8b916507b21176ab44fac70567af96cb80de602 image: woodpeckerci/plugin-git@sha256:7af90de3a9aa5dc93cc0d5cd2e67e28cb237d4b8e891ccacfd9031f78f4b05a8
settings: settings:
remote: https://git.verdigado.com/verdigado-Privileged/Salt.git remote: https://git.verdigado.com/verdigado-Privileged/Salt.git
path: salt path: salt
@ -36,7 +36,7 @@ steps:
- pre-commit run --all-files - pre-commit run --all-files
clone rocketchat2matrix: clone rocketchat2matrix:
image: woodpeckerci/plugin-git@sha256:a878e6f9674d44c0dc43dcb6d8b916507b21176ab44fac70567af96cb80de602 image: woodpeckerci/plugin-git@sha256:7af90de3a9aa5dc93cc0d5cd2e67e28cb237d4b8e891ccacfd9031f78f4b05a8
settings: settings:
remote: https://git.verdigado.com/NB-Public/rocketchat2matrix.git remote: https://git.verdigado.com/NB-Public/rocketchat2matrix.git
path: rocketchat2matrix path: rocketchat2matrix

View file

@ -1,4 +1,4 @@
FROM python:3.12.4-alpine3.20@sha256:7f15e22f496c65cffbbac5e30e7e98d60f3e3b9cc5ee5d51cf3c55ed604787c8 FROM python:3.12.4-alpine3.20@sha256:b7662fc33e07f05fb2f579c3634e1e4d2e30c02553397c6c24f775cb360dbc03
# renovate: datasource=repology depName=alpine_3_20/build-base versioning=loose # renovate: datasource=repology depName=alpine_3_20/build-base versioning=loose
ENV BUILD_BASE_VERSION="0.5-r3" ENV BUILD_BASE_VERSION="0.5-r3"
@ -11,7 +11,7 @@ ENV GIT_VERSION="2.45.2-r0"
# renovate: datasource=repology depName=alpine_3_20/openssh-keygen versioning=loose # renovate: datasource=repology depName=alpine_3_20/openssh-keygen versioning=loose
ENV OPENSSH_KEYGEN_VERSION="9.7_p1-r4" ENV OPENSSH_KEYGEN_VERSION="9.7_p1-r4"
# renovate: datasource=pypi depName=pre-commit versioning=pep440 # renovate: datasource=pypi depName=pre-commit versioning=pep440
ENV PRE_COMMIT_VERSION="3.8.0" ENV PRE_COMMIT_VERSION="3.7.1"
RUN mkdir /data /tmp/pre-commit RUN mkdir /data /tmp/pre-commit
COPY .pre-commit-config.yaml /tmp/pre-commit COPY .pre-commit-config.yaml /tmp/pre-commit

View file

@ -8,10 +8,11 @@
{ {
"groupName": "all dependencies", "groupName": "all dependencies",
"groupSlug": "all", "groupSlug": "all",
"matchPackageNames": ["/*/"] "matchPackagePatterns": ["*"]
} }
], ],
"separateMajorMinor": false, "separateMajorMinor": false,
"pre-commit": { "enabled": true },
"customManagers": [ "customManagers": [
{ {
"customType": "regex", "customType": "regex",