Skip to content

WIP: Refactor TaskRuns out of BuildRun Controller #1924

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

adambkaplan
Copy link
Member

Changes

Initial effort to abstract concrete usage of Tekton TaskRuns out of the BuildRun controller. This includes the creation of new a new interface (ImageBuildRunner), factories for converting TaskRuns to ImageBuildRunners, and updates to controller code.

/kind cleanup

Submitter Checklist

  • Includes tests if functionality changed/was added
  • Includes docs if changes are user-facing
  • Set a kind label on this PR
  • Release notes block has been filled in, or marked NONE

See the contributor guide
for details on coding conventions, github and prow interactions, and the code review process.

Release Notes

NONE

Initial effort to abstract concrete usage of Tekton TaskRuns out of the
BuildRun controller. This includes the creation of new a new interface
(ImageBuildRunner), factories for converting TaskRuns to
ImageBuildRunners, and updates to controller code.

Assisted-by: Cursor
Signed-off-by: Adam Kaplan <[email protected]>
@openshift-ci openshift-ci bot added the release-note-none Label for when a PR does not need a release note label Jul 1, 2025
@pull-request-size pull-request-size bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Jul 1, 2025
@openshift-ci openshift-ci bot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. labels Jul 1, 2025
@openshift-ci openshift-ci bot requested review from dorzel and SaschaSchwarze0 July 1, 2025 14:04
Copy link
Contributor

openshift-ci bot commented Jul 1, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign qu1queee for approval. For more information see the Code Review Process.

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

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

@adambkaplan
Copy link
Member Author

This is a "take two" of my attempt to refactor TaskRuns out of the BuildRun contrller (see #1866). This time I am narrowing the scope a bit and using AI assistance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. release-note-none Label for when a PR does not need a release note size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

1 participant