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

Refactor insecure registry E2E tests #3701

Merged
merged 6 commits into from
May 17, 2024

Conversation

cmurphy
Copy link
Contributor

@cmurphy cmurphy commented May 17, 2024

Move the shell script tests to Go, have them use a local Rekor instance instead of the public one, and clean up the workflow.

Summary

Release Note

Documentation

Signed-off-by: Colleen Murphy <colleenmurphy@google.com>
- These tests don't use KinD, don't set it up
- Don't install yq, ko, or kustomize
- The scripts build cosign, no need to build it in its own step
- Don't use global environment variables when they're only needed for
  individual steps

Signed-off-by: Colleen Murphy <colleenmurphy@google.com>
Signed-off-by: Colleen Murphy <colleenmurphy@google.com>
Signed-off-by: Colleen Murphy <colleenmurphy@google.com>
Signed-off-by: Colleen Murphy <colleenmurphy@google.com>
Condense the kind-e2e-insecure-registry workflow into the rest of the
E2E tests workflow. The workflow name was misleading because these tests
don't relate to KinD except as an implementation detail of the
scaffolding action. Combining it makes it more discoverable and reduces
clutter inthe GitHub Actions UI.

Signed-off-by: Colleen Murphy <colleenmurphy@google.com>
Copy link

codecov bot commented May 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 40.19%. Comparing base (2ef6022) to head (1c76303).
Report is 108 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3701      +/-   ##
==========================================
+ Coverage   40.10%   40.19%   +0.09%     
==========================================
  Files         155      157       +2     
  Lines       10044    10157     +113     
==========================================
+ Hits         4028     4083      +55     
- Misses       5530     5593      +63     
+ Partials      486      481       -5     

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

Copy link
Contributor

@haydentherapper haydentherapper left a comment

Choose a reason for hiding this comment

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

Thanks so much for cleaning this up!

@haydentherapper haydentherapper merged commit 62742a1 into sigstore:main May 17, 2024
21 checks passed
@github-actions github-actions bot added this to the v2.3.0 milestone May 17, 2024
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.

None yet

2 participants