Skip to content

fix(ci): remove kodata symlinks that break newer ko versions - #1815

Merged
vdemeester merged 1 commit into
tektoncd:release-v0.20.xfrom
infernus01:fix/remove-kodata-symlinks-v0.20.x
Jul 28, 2026
Merged

vdemeester merged 1 commit into
tektoncd:release-v0.20.xfrom
infernus01:fix/remove-kodata-symlinks-v0.20.x

Conversation

@infernus01

Copy link
Copy Markdown
Member

Changes

Cherry-pick of #1738 to release-v0.20.x.

Newer ko versions (v0.19+) reject symlinks in kodata/ that resolve
outside the kodata root directory. The release-v0.20.x branch still
had three such symlinks (HEAD, refs, LICENSE), causing every PR's
E2E tests to fail during ko apply.

This fix was already applied to main (#1738), release-v0.25.x
(#1745), and release-v0.27.x (#1744)

  • Delete cmd/controller/kodata/HEAD symlink
  • Delete cmd/controller/kodata/refs symlink
  • Replace cmd/controller/kodata/LICENSE symlink with actual file
  • Pin ko to v0.18.1 in CI workflow

Submitter Checklist

As the author of this PR, please check off the items in this checklist:

  • Has Docs included if any changes are user facing
  • Has Tests included if any functionality added or changed
  • Follows the commit message standard
  • Meets the Tekton contributor standards (including
    functionality, content, code)
  • Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings)
  • Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes

NONE

Signed-off-by: Shubham Bhardwaj <shubbhar@redhat.com>
@tekton-robot tekton-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Jul 21, 2026
@jkhelil

jkhelil commented Jul 21, 2026

Copy link
Copy Markdown
Member

/approve

@jkhelil

jkhelil commented Jul 21, 2026

Copy link
Copy Markdown
Member

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Jul 21, 2026
@jkhelil

jkhelil commented Jul 22, 2026

Copy link
Copy Markdown
Member

/approve

@infernus01

Copy link
Copy Markdown
Member Author

@wlynch @chitrangpatel Could you please add '/approve'? or @jkhelil we might have to force-merge this.

@anithapriyanatarajan

Copy link
Copy Markdown
Contributor

@vdemeester @afrittoli - Could you help merge this fix. This is blocking a few dependabot version upgrade PRs

@vdemeester vdemeester added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 28, 2026
@tekton-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

Approval requirements bypassed by manually added approval.

This pull-request has been approved by: jkhelil, vdemeester

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@vdemeester
vdemeester merged commit a5cd3a0 into tektoncd:release-v0.20.x Jul 28, 2026
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants