kubernetes / kubernetes/release

krel sign blobs: Don't resign artifacts on reruns

Open
#4,221 6 comments 1 reaction 0 assignees View on GitHub
area/release-eng kind/feature lifecycle/stale needs-priority sig/release
Dominant language
Go
Stars
504
Forks
556
Avg merge
18h 43m
Merged PRs (30d)
33

Description

#### What would you like to be added:

When rerunning the release workflow, the `krel sign blobs` should verify if the artifacts in the staging bucket are signed. In case they are, instead of re-signing them we should just verify them to be signed by the expected identity.

#### Why is this needed:

Most of the release process just noops on the each step when we rereun it. `krel sign blob` does not follow the same pattern. By not resigning binaries, we have the same guarantees of the other steps, meaning we can safely retry but also that other steps don't need to worry about the consistency of the signing step if it finished in a previous run.

Contributor guide

Open the contributing guide

Research direction

Start by locating the krel sign blobs command and the release workflow that invokes it. Check how staged artifacts are currently signed and verified, then run the relevant signing workflow or command against rerun conditions. Done means already-signed artifacts are verified against the expected identity rather than signed again, while unsigned artifacts still get signed.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
release, security
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.