Giter Site home page Giter Site logo

Comments (6)

marcus-crane avatar marcus-crane commented on August 22, 2024 1

One alternative, which is what I've opted to do, is just use grep to find catalogue yaml files and pipe them into the entity validator.

grep -rnwl -e 'apiVersion: backstage.io' --include '*.yaml' | xargs -rt validate-entity -q

CleanShot 2022-04-28 at 23 32 49@2x

From there, we just have a shared CI task internally that you can add and it'll automatically lint catalogue entries as part of your CI pipeline

from backstage-entity-validator.

dtuite avatar dtuite commented on August 22, 2024 1

That's a good way to accomplish this. I will close this since there's no need to build this functionality into the validator itself.

from backstage-entity-validator.

roadie-bot avatar roadie-bot commented on August 22, 2024

https://app.shortcut.com/larder/story/5484

from backstage-entity-validator.

dtuite avatar dtuite commented on August 22, 2024

@kissmikijr could you close this issue if the work is complete please? GitHub and Shortcut are not kept in sync unfortunately.

from backstage-entity-validator.

kissmikijr avatar kissmikijr commented on August 22, 2024

@dtuite I'd close this issue since we decided that this feature gets the most value if we put it into the github app. So the opensource validator package did not get updated by this feature. However it wouldn't be that hard to add it here also to walk the directory structure and do the validations if we want. Wdyt?

from backstage-entity-validator.

dtuite avatar dtuite commented on August 22, 2024

Let's see how it goes on Roadie first. We can add the functionality here too if it works out well.

You can leave this issue open for now.

from backstage-entity-validator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.