Skip to content

test(cosign): disable tlog for signing checks - #23279

Merged
chlins merged 1 commit into
goharbor:mainfrom
chlins:tests/skip-cosign-tlog
May 25, 2026
Merged

chlins merged 1 commit into
goharbor:mainfrom
chlins:tests/skip-cosign-tlog

Conversation

@chlins

@chlins chlins commented May 25, 2026

Copy link
Copy Markdown
Member

Thank you for contributing to Harbor!

Comprehensive Summary of your change

This pull request updates the Cosign_Util.robot test resource to improve the reliability of signing and verification commands by modifying how transparency log interactions are handled.

Cosign signing and verification command updates:

  • The cosign sign command now disables transparency log upload by default using the --tlog-upload=false flag, preventing external network calls during signing.
  • The cosign verify command in negative test cases now ignores the transparency log using the --insecure-ignore-tlog=true flag, ensuring verification failures are not blocked by tlog lookup errors.

Issue being fixed

Fixes #(issue)

Please indicate you've done the following:

  • Well Written Title and Summary of the PR
  • Label the PR as needed. "release-note/ignore-for-release, release-note/new-feature, release-note/update, release-note/enhancement, release-note/community, release-note/breaking-change, release-note/docs, release-note/infra, release-note/deprecation"
  • Accepted the DCO. Commits without the DCO will delay acceptance.
  • Made sure tests are passing and test coverage is added if needed.
  • Considered the docs impact and opened a new docs issue or PR with docs changes if needed in website repository.

Signed-off-by: chlins <chlins.zhang@gmail.com>
@chlins
chlins requested a review from a team as a code owner May 25, 2026 08:46
@chlins chlins added the release-note/enhancement Label to mark PR to be added under release notes as enhancement label May 25, 2026
@codecov

codecov Bot commented May 25, 2026 •

Copy link
Copy Markdown

Codecov Report

βœ… All modified and coverable lines are covered by tests.
βœ… Project coverage is 66.03%. Comparing base (a7c6e4d) to head (c4cc752).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main   #23279      +/-   ##
==========================================
- Coverage   66.04%   66.03%   -0.02%     
==========================================
  Files        1074     1074              
  Lines      116855   116855              
  Branches     2956     2956              
==========================================
- Hits        77182    77167      -15     
- Misses      35386    35400      +14     
- Partials     4287     4288       +1     
Flag Coverage Ξ”
unittests 66.03% <ΓΈ> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 7 files with indirect coverage changes

πŸš€ New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • πŸ“¦ JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@chlins
chlins enabled auto-merge (squash) May 25, 2026 10:40

@MinerYang MinerYang left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lgtm

@wy65701436 wy65701436 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lgtm

@chlins
chlins merged commit 3a7e822 into goharbor:main May 25, 2026
13 of 14 checks passed
bupd added a commit to container-registry/8gcr that referenced this pull request Jun 11, 2026
Upstream-PR: goharbor/harbor#23279

Upstream-Author: @chlins
Signed-off-by: Prasanth Baskar <bupdprasanth@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-note/enhancement Label to mark PR to be added under release notes as enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants