Skip to content

Bugfix GH Action cli-compat-matrix - #1362

Merged
Catalin-Stratulat-Ericsson merged 2 commits into
kptdev:mainfrom
Nordix:bug-cli-compat-matrix-porch-and-kpt-versioning-fix
Nov 18, 2026
Merged

Catalin-Stratulat-Ericsson merged 2 commits into
kptdev:mainfrom
Nordix:bug-cli-compat-matrix-porch-and-kpt-versioning-fix

Conversation

@Catalin-Stratulat-Ericsson

@Catalin-Stratulat-Ericsson Catalin-Stratulat-Ericsson commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Title

Quick patch PR for the cli-compat-matrix GitHub Action


Description

  • What changed: the matrix now tests porch pre-releases (vX.Y.Z-pre.N), and Go/kpt setup uses the shared setup-go-kpt action instead of a hand-written kpt install step.
  • Why it's needed: pre-releases were being skipped, and the kpt binary URL changed (cli/<tag> for newer kpt, plain <tag> for older), which broke the kpt install.
  • How it works: a small regex change picks the two latest releases including pre-releases. setup-go-kpt installs the kpt version pinned in each server version's go.mod.

Related Issue(s)


Type of Change

  • Bug fix

Checklist

  • Code follows project style guidelines
  • Self-reviewed changes

AI Disclosure

  • I have used AI in the creation of this PR.
    • Kiro to get the ideal regex to follow kpt versioning instructions listed in here, and to investigate and test the kpt install change locally.

…fix new kpt binaries url

Signed-off-by: Catalin-Stratulat-Ericsson <catalin.stratulat@ericsson.com>
@netlify

netlify Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for kpt-porch canceled.

Built without sensitive environment variables

Name Link
🔨 Latest commit a6b240d
🔍 Latest deploy log https://app.netlify.com/projects/kpt-porch/deploys/6af607d63af2417badafcad1

Copilot AI 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.

🟢 Approval recommended

No active review issues are reported for the Porch CLI compatibility workflow update.

No open issues 🎉

What changed in this PR

This PR updates the Porch CLI compatibility workflow to include prereleases and support both kpt release download layouts.

Changes:

  • Includes vX.Y.Z-pre.N tags when selecting the two most recently published Porch releases.
  • Resolves the kpt dependency version from the repository root.
  • Tries both cli/<tag> and plain <tag> download URLs, with retries and explicit failure reporting.
File Description
.github/​workflows/​porch-compat-matrix.yaml Expands release selection to prereleases and updates kpt version resolution and downloads.

Review effort: Balanced

Signed-off-by: Catalin-Stratulat-Ericsson <catalin.stratulat@ericsson.com>
@Catalin-Stratulat-Ericsson

Copy link
Copy Markdown
Contributor Author

added the do-not-merge-hold label as it needs kptdev/kpt#4871 to work as intended

@Catalin-Stratulat-Ericsson
Catalin-Stratulat-Ericsson merged commit fcd8f11 into kptdev:main Nov 18, 2026
24 checks passed
@efiacor
efiacor deleted the bug-cli-compat-matrix-porch-and-kpt-versioning-fix branch November 18, 2026 09:49
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.

Fix compatability matrix job to work with new kpt binaries

6 participants