kokuwaio/renovate-config-validator

By kokuwaio

Updated about 14 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:43
    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:43
    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:43

Settings

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

Alternatives

ImageCommentamd64arm64
kokuwaio/renovate-config-validatorWoodpecker pluginsizesize
renovate/renovatenot a Woodpecker plugin, officialsizesize
rwslinkman/renovatebot-config-validatornot a Woodpecker plugin, outdatedsizesize

Tag summary

Content type

Image

Digest

sha256:949be8465

Size

101.9 MB

Last updated

about 14 hours ago

docker pull kokuwaio/renovate-config-validator:43