Skip to content

Fix sync-versions GHA for older release branches#4545

Merged
caseydavenport merged 1 commit intotigera:masterfrom
caseydavenport:casey-sync-versions-ssh-fix
Mar 13, 2026
Merged

Fix sync-versions GHA for older release branches#4545
caseydavenport merged 1 commit intotigera:masterfrom
caseydavenport:casey-sync-versions-ssh-fix

Conversation

@caseydavenport
Copy link
Member

Follow-up to #4544 — the GIT_CLONE_URL_BASE variable only exists on master, so passing it on the make command line has no effect on older release branches where the SSH URL is hardcoded in the fetch_crds function. This was causing release-v1.38 (and likely other older branches) to fail with SSH auth errors.

Adds a git insteadOf config to rewrite git@github.com: URLs to https://github.com/ at the git level, which works regardless of which branch's Makefile is checked out.

The GIT_CLONE_URL_BASE variable only exists on master, so passing it on
the command line has no effect on older release branches where the SSH
URL is hardcoded. Use git's insteadOf config to rewrite SSH URLs to
HTTPS at the git level, which works regardless of the Makefile version.
@caseydavenport caseydavenport requested a review from a team as a code owner March 13, 2026 15:52
@marvin-tigera marvin-tigera added this to the v1.42.0 milestone Mar 13, 2026
@caseydavenport caseydavenport merged commit 20200ad into tigera:master Mar 13, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants