Validate CD4PE Yaml files #971
Unanswered
glennsarti
asked this question in
Feature Request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Use Case
CD4PE has a Pipelines as code configuration file. It would be nice to have an indepth validator for it.
Docs - https://puppet.com/docs/continuous-delivery/3.x/structuring_cd4pe_yaml.html#structuring_cd4pe_yaml
Describe the Solution You Would Like
Perhaps be a separate validator?
cd4pe
?Or be part of the
puppet
validator?Or be part of the
yaml
validator?Describe Alternatives You've Considered
None.
Additional Context
Unfortunately this is currently only a Java class. No schema docs for it 😢
Tests for validation (Private repo)
https://github.com/puppetlabs/PipelinesInfra/blob/17f200c3fe95f64dc08defc6a357606c2f52301e/src/test/java/com/puppet/cdpe/pac/PACManagerTest.java
https://github.com/puppetlabs/PipelinesInfra/tree/17f200c3fe95f64dc08defc6a357606c2f52301e/src/test/java/com/puppet/cdpe/pac
Beta Was this translation helpful? Give feedback.
All reactions