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

Fix bom test failures #564

Merged
merged 3 commits into from
Nov 27, 2023
Merged

Conversation

smoser
Copy link
Contributor

@smoser smoser commented Nov 27, 2023

  • c-i: Un-mark alpine bom test as slow.

    Run the alpine bom test during normal c-i test. This is a quick test
    (~10 seconds). Having it run as part of c-i will mean that we sniff
    test the bom path without adding significant time.

  • c-i: Add alpine:edge image to those cloned and use it in test.

    The alpine image being used for the sbom test was already being
    used (and cloned). There is no reason to depend on ghcr.io for it.

    Signed-off-by: Scott Moser smoser@brickies.net

  • test: Fix bom tests to account for /stacker re-org

    Commit 2f284d8 re-organized the /stacker content layout.
    Instead of /stacker/tools/static-stacker we have /stacker/bin/stacker.

    Signed-off-by: Scott Moser smoser@brickies.net

@smoser smoser force-pushed the fix/bom-tests-regression branch 2 times, most recently from b405234 to c1de7a9 Compare November 27, 2023 21:09
Commit 2f284d8 re-organized the /stacker content layout.
Instead of /stacker/tools/static-stacker we have /stacker/bin/stacker.

Signed-off-by: Scott Moser <smoser@brickies.net>
The alpine image being used for the sbom test was already being
used (and cloned).  There is no reason to depend on ghcr.io for it.

Signed-off-by: Scott Moser <smoser@brickies.net>
Run the alpine bom test during normal c-i test.  This is a quick test
(~10 seconds).  Having it run as part of c-i will mean that we sniff
test the bom path without adding significant time.

Signed-off-by: Scott Moser <smoser@brickies.net>
Copy link

codecov bot commented Nov 27, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (3897848) 53.01% compared to head (d3c8aff) 57.12%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #564      +/-   ##
==========================================
+ Coverage   53.01%   57.12%   +4.10%     
==========================================
  Files          64       64              
  Lines        7505     7505              
==========================================
+ Hits         3979     4287     +308     
+ Misses       2815     2477     -338     
- Partials      711      741      +30     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@rchincha rchincha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@rchincha rchincha merged commit a576aa3 into project-stacker:main Nov 27, 2023
11 checks passed
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