Sign inSign up

kokuwaio/renovate-config-validator

By kokuwaio

•Updated about 19 hours ago

A WoodpeckerCI plugin for renovate-config-validator to lint renovate files.

Image
Integration & delivery
Developer tools
0

10K+

kokuwaio/renovate-config-validator repository overview

⁠renovate-config-validator WoodpeckerCI Plugin

pulls size dockerfile license prs issues

A WoodpeckerCI⁠ plugin for Renovate configuration validation⁠.
Also usable with Gitlab, Github or locally, see examples for usage.

⁠Features

  • preconfigure Renovate parameters
  • searches for Renovate files recursive
  • runnable with local docker daemon

⁠Example

Woodpecker:

steps:
  renovate:
    depends_on: []
    image: kokuwaio/renovate-config-validator:44
    settings:
      strict: false
    when:
      event: pull_request
      path: renovate.json

Gitlab: (using script is needed because of https://gitlab.com/gitlab-org/gitlab/-/issues/19717⁠)

renovate:
  needs: []
  stage: lint
  image:
    name: kokuwaio/renovate-config-validator:44
    entrypoint: [""]
  script: /usr/local/bin/entrypoint.sh
  rules:
    - if: $CI_PIPELINE_SOURCE == "merge_request_event"
      changes: [renovate.json]

CLI:

docker run --rm --volume=$PWD:$PWD:ro --workdir=$PWD kokuwaio/renovate-config-validator:44

⁠Settings

Settings NameEnvironmentDefaultDescription
filesPLUGIN_FILE[]Files to validate, if empty scan for common names⁠.
strict⁠PLUGIN_STRICTtrueFail if a scanned config needs migration.
validate-jsonPLUGIN_VALIDATE_JSONtrueFail if not valid json but json5.

⁠Alternatives

ImageCommentamd64arm64
kokuwaio/renovate-config-validator⁠Woodpecker pluginsizesize
renovate/renovate⁠not a Woodpecker plugin, officialsizesize
rwslinkman/renovatebot-config-validator⁠not a Woodpecker plugin, outdatedsizesize

Tag summary

Content type

Image

Digest

sha256:c1763aa99…

Size

104.3 MB

Last updated

about 19 hours ago

docker pull kokuwaio/renovate-config-validator