capactio / capact

Simple way to manage applications and infrastructure.
https://capact.io
Apache License 2.0
80 stars 19 forks source link

Support for validate the whole hub manifest #574

Closed mkuziemko closed 2 years ago

mkuziemko commented 2 years ago

Description

Changes proposed in this pull request:

Testing

  1. Checkout this branch and build CLI:
    gh pr checkout 574
    make build-tool-cli
  2. Clone hub-manifests repo:
    gh repo clone capactio/hub-manifests
  3. Execute manifest validate:
    capact manifest validate {HUB_MANIFEST_REPO_PATH}/manifests/ -r 

All files from catalog manifests and subdirectories should be validated. Execute the same command but without -r should validate 0 files. (as there is no file in that directory)

Related issue(s)

Resolves #346