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

Simplify artifact inspection logic #41

Merged
merged 1 commit into from
Nov 29, 2024

Conversation

domust
Copy link
Contributor

@domust domust commented Nov 28, 2024

  • Removed unnecessary functions
  • Added new types and aliases
  • Added comments for old types
  • Updated error handling and logging
  • Calculating digest in advance instead of during layer analysis
  • Open config file only once
  • Properly communicate what artifact info is and how is it related to config
  • Reordered operations to avoid unnecessary error handling (missingImageKey)
  • Split inspect into inspectLayers and inspectImage

@domust domust force-pushed the simplify-artifact-inspection-logic branch 3 times, most recently from f264f2e to 2a795f9 Compare November 28, 2024 12:27
@domust domust force-pushed the simplify-artifact-inspection-logic branch from 2a795f9 to b398bfe Compare November 28, 2024 12:35
@domust domust merged commit 92ad767 into main Nov 29, 2024
1 check passed
@domust domust deleted the simplify-artifact-inspection-logic branch November 29, 2024 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants