Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uds inspect --validate #600

Open
eFAILution opened this issue May 9, 2024 · 2 comments
Open

uds inspect --validate #600

eFAILution opened this issue May 9, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@eFAILution
Copy link
Contributor

Is your feature request related to a problem? Please describe

In a CI hardening pipeline there is a need to extrapolate the image-repo:tag and run scans against them, but all of that compute time would be wasted if the bundle would never build in the first place. Some projects do not have a bundle artifact (eg. LFAI) due to size or other reasons. Would it be possible to have uds verify the package endpoints exist along with some other verification in order to 'dry-run' a build?

Describe the solution you'd like

  • Given a state
    • with bundle tarball or bundle.yaml
  • When an action is taken
    • uds inspect [tarball | YAML] --validate [-o filename]
  • Then something happens
    • Outputs structured data report with expected bundle properties (eg. name, size, containers, etc.)

Describe alternatives you've considered

(optional) A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

@eFAILution eFAILution added the enhancement New feature or request label May 9, 2024
@eFAILution
Copy link
Contributor Author

Is there any directory structure standard for UDS projects? I'm asking because it might be nice to also include UDS project directories for this as well.

@UncleGedd
Copy link
Collaborator

UncleGedd commented Jun 6, 2024

@eFAILution I think the flag we added over in #599 solves this issue. You should be able to do uds inspect uds-bundle.yaml --list-images and get the list of images without having to create the bundle

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants