Skip to content
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

MCO-585: Introduce BuildController #3665

Conversation

cheesesashimi
Copy link
Member

@cheesesashimi cheesesashimi commented Apr 6, 2023

- What I did

This cherry-picks some of the BuildController commits from the layering branch into master and implements a fairly simple state machine as a first-pass.

- How to verify it

For now, this code is not active, however its unit tests will be run as part of CI.

- Description for the changelog
Introduces BuildController

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Apr 6, 2023
@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Apr 6, 2023
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Apr 6, 2023

@cheesesashimi: This pull request references MCO-585 which is a valid jira issue.

In response to this:

- What I did

This cherry-picks the main BuildController commits from the layering branch into master.

- How to verify it

For now, this code is not active, however its unit tests will be run as part of CI.

- Description for the changelog
Introduces BuildController

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Apr 6, 2023

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Apr 6, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cheesesashimi

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

The pull request process is described 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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 6, 2023
@cheesesashimi
Copy link
Member Author

/test verify
/test unit

@cheesesashimi cheesesashimi force-pushed the zzlotnik/land-buildcontroller branch from b8931db to dc2c7de Compare May 16, 2023 19:46
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented May 16, 2023

@cheesesashimi: This pull request references MCO-585 which is a valid jira issue.

In response to this:

- What I did

This cherry-picks some of the BuildController commits from the layering branch into master and implements a fairly simple state machine as a first-pass.

- How to verify it

For now, this code is not active, however its unit tests will be run as part of CI.

- Description for the changelog
Introduces BuildController

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@cheesesashimi cheesesashimi force-pushed the zzlotnik/land-buildcontroller branch 2 times, most recently from a9ac1ea to a256977 Compare May 17, 2023 17:12
jkyros and others added 6 commits May 18, 2023 11:26
We need to specify what resources the pool should be creating/owning in
order to manage builds and the relationships between them (triggers,
which buildconfigs should source from which streams, etc). The pool
needs some template/plan to follow when it gets triggered to create and
verify that its resources exist.

This is my not-quite-as-elegant-as-I-had-hoped attempt at that.
The build controller "takes over" for pools that are marked as
layered. It will more or less serve the function of the render
controller but for image based pools.

The render controller currently retains the functionality of generating
the rendered config, and will push that rendered config into an
imagestream every time it gets updated.
This adds helpers for getting and setting the current image stream for a
pool, separates the per-pool suffix '-base' from the global 'coreos'
imagestream, and adds a per-node stream name constant for later.
I don't know that we'll ultimately end up with imagestreams with these
names but for right now, I think these are at least the ones we think
we want that have purposes behind them.
@cheesesashimi cheesesashimi force-pushed the zzlotnik/land-buildcontroller branch from a256977 to 4c85d9b Compare May 18, 2023 15:27
@cheesesashimi cheesesashimi force-pushed the zzlotnik/land-buildcontroller branch from 4c85d9b to 1d33445 Compare May 22, 2023 16:27
@cheesesashimi
Copy link
Member Author

/test test-unit
/test verify

@cheesesashimi
Copy link
Member Author

/test unit

@openshift-ci
Copy link
Contributor

openshift-ci bot commented May 24, 2023

@cheesesashimi: all tests passed!

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@cheesesashimi
Copy link
Member Author

This is replaced by #3731

@cheesesashimi cheesesashimi deleted the zzlotnik/land-buildcontroller branch March 21, 2024 14:04
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. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants