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

Clean up and clarify e2e scripts #3628

Merged
merged 2 commits into from
Mar 29, 2024

Conversation

cmurphy
Copy link
Contributor

@cmurphy cmurphy commented Mar 28, 2024

  • Removed e2e_test_secrets.sh, it's not used anywhere
  • piv_test.go looks like it's not used anywhere, but it actually is! Added a comment to make sure no one removes it like I almost did.

Summary

Release Note

Documentation

Since f6d8481 it's not clear what this file is for, as it's not run in
CI. Add a link to the docs that reference it to make it clear this is
still needed.

Signed-off-by: Colleen Murphy <colleenmurphy@google.com>
e2e_test_secrets.sh is no longer called from CI as of f633221. It's
objective is largely redundant with tests already in e2e_test.go, so
just remove it.

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

codecov bot commented Mar 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 40.41%. Comparing base (2ef6022) to head (1ca4dea).
Report is 60 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3628      +/-   ##
==========================================
+ Coverage   40.10%   40.41%   +0.31%     
==========================================
  Files         155      155              
  Lines       10044    10087      +43     
==========================================
+ Hits         4028     4077      +49     
+ Misses       5530     5517      -13     
- Partials      486      493       +7     

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

Copy link
Member

@cpanato cpanato left a comment

Choose a reason for hiding this comment

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

thanks

@cpanato cpanato merged commit abfd1cd into sigstore:main Mar 29, 2024
29 checks passed
@github-actions github-actions bot added this to the v2.3.0 milestone Mar 29, 2024
ianhundere pushed a commit to ianhundere/cosign that referenced this pull request May 31, 2024
* Add comment to test/piv_test.go

Since f6d8481 it's not clear what this file is for, as it's not run in
CI. Add a link to the docs that reference it to make it clear this is
still needed.

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

* Clean up unused test script

e2e_test_secrets.sh is no longer called from CI as of f633221. It's
objective is largely redundant with tests already in e2e_test.go, so
just remove it.

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

---------

Signed-off-by: Colleen Murphy <colleenmurphy@google.com>
Signed-off-by: ianhundere <138915+ianhundere@users.noreply.github.com>
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