Let a release survive Harbor's scan and re-run past existing tags #1
Loading…
Reference in a new issue
No description provided.
Delete branch "patrick/rerunnable-release"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Makes
orbital-cosign.ymlsurvive Harbor's scan-on-push and safe to re-run. Both problems hit orbital v0.3.20 and v0.3.21.1. Signing raced Harbor's vulnerability scan
The
orbitalproject blocks pulling an image while its scan is running. cosign reads the image to sign it, so for a large image (asterisk) signing straight after the push failed withPROJECTPOLICYVIOLATION ... vulnerability scan is in "Running" status. Signing now retries every 15s, up to 10 minutes, only for that error. Any other cosign error still fails right away.2. Re-running a release failed on immutable version tags
Once an image's
X.Y.Ztag is pushed, Harbor refuses to push it again, so re-running a partly failed release could never get past the push and the chart was never published. Before pushing each extra (version) tag, the step now checks what the registry already has:latestand the commit-SHA tag are pushed as before.Also:
curl -f --retry 5for the cosign download.🤖 Generated with Claude Code
https://claude.ai/code/session_015nhjTULCMboQBz71VUawYr