Sign inSign up

kokuwaio/backstage-entity-validator

By kokuwaio

Updated 2 days ago

A WoodpeckerCI plugin for backstage-entity-validator to lint backstage entities.

Image
Integration & delivery
Developer tools
0

6.0K

kokuwaio/backstage-entity-validator repository overview

Backstage entity validator WoodpeckerCI Plugin

pulls size dockerfile license prs issues

A Woodpecker CI plugin for backstage-entity-validator to lint markdown files.
Also usable with Gitlab, Github or locally, see examples for usage.

Example

Woodpecker:

steps:
  backstage-entity-validator:
    depends_on: []
    image: kokuwaio/backstage-entity-validator:0.7.0
    when:
      event: pull_request
      paths: [catalog-info.yaml]

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

backstage-entity-validator:
  needs: []
  stage: lint
  image:
    name: kokuwaio/backstage-entity-validator:0.7.0
    entrypoint: [""]
  script: [/usr/local/bin/entrypoint.sh]
  rules:
    - if: $CI_PIPELINE_SOURCE == "merge_request_event"
      changes: [catalog-info.yaml]

CLI:

docker run --rm --volume=$PWD:$PWD:ro --workdir=$PWD kokuwaio/backstage-entity-validator

Settings

Settings NameEnvironmentDefaultDescription
filesPLUGIN_FILEScatalog-info.yamlFiles to validate.

Alternatives

ImageCommentamd64arm64
kokuwaio/backstage-entity-validatorWoodpecker pluginsizesize
roadiehq/backstage-entity-validatornot a Woodpecker plugin, officialsizesize

Tag summary

Content type

Image

Digest

sha256:4e464aba4

Size

85.2 MB

Last updated

2 days ago

docker pull kokuwaio/backstage-entity-validator