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

Update baremetal operator #5698

Merged

Conversation

filanov
Copy link
Contributor

@filanov filanov commented Nov 15, 2023

MGMT-16047: update baremetal-operator to 4.14

One of the major changes is controlelr-runtime verison

  • Cache functioanlity updated
  • Admission decoder does not return an error
  • Chaning deprecated PollImmediate function to PollUntilContextTimeout
  • Controller wait funtion signature have changed to get object instead of
    kind
  • Switching pointer package to use generic ptr
  • Generated webhook validation function signature changed

List all the issues related to this PR

  • New Feature
  • Enhancement
  • Bug fix
  • Tests
  • Documentation
  • CI/CD

What environments does this code impact?

  • Automation (CI, tools, etc)
  • Cloud
  • Operator Managed Deployments
  • None

How was this code tested?

  • assisted-test-infra environment
  • dev-scripts environment
  • Reviewer's test appreciated
  • Waiting for CI to do a full test run
  • Manual (Elaborate on how it was tested)
  • No tests needed

Checklist

  • Title and description added to both, commit and PR.
  • Relevant issues have been associated (see CONTRIBUTING guide)
  • This change does not require a documentation update (docstring, docs, README, etc)
  • Does this change include unit-tests (note that code changes require unit-tests)

Reviewers Checklist

  • Are the title and description (in both PR and commit) meaningful and clear?
  • Is there a bug required (and linked) for this change?
  • Should this PR be backported?

@filanov
Copy link
Contributor Author

filanov commented Nov 15, 2023

/assign @omertuc
/assign @danielerez

@openshift-ci openshift-ci bot added the size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. label Nov 15, 2023
Copy link

openshift-ci bot commented Nov 15, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: filanov

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 Nov 15, 2023
Copy link

codecov bot commented Nov 15, 2023

Codecov Report

Merging #5698 (e5aff9c) into master (270b38b) will increase coverage by 0.01%.
Report is 5 commits behind head on master.
The diff coverage is 9.61%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #5698      +/-   ##
==========================================
+ Coverage   67.94%   67.95%   +0.01%     
==========================================
  Files         233      233              
  Lines       34395    34391       -4     
==========================================
+ Hits        23370    23371       +1     
+ Misses       8952     8948       -4     
+ Partials     2073     2072       -1     
Files Coverage Δ
internal/controller/controllers/common.go 76.25% <ø> (ø)
internal/hardware/validator.go 76.49% <100.00%> (ø)
...nternal/controller/controllers/agent_controller.go 77.22% <0.00%> (ø)
...ller/controllers/agentclusterinstall_controller.go 59.09% <0.00%> (ø)
...ller/controllers/agentclassification_controller.go 57.89% <0.00%> (ø)
...oller/controllers/agentserviceconfig_controller.go 85.01% <0.00%> (ø)
...ler/controllers/preprovisioningimage_controller.go 80.87% <50.00%> (-0.06%) ⬇️
...al/controller/controllers/agentlabel_controller.go 57.14% <0.00%> (ø)
internal/common/common_unitest_db.go 18.14% <0.00%> (ø)
...nal/controller/controllers/bmh_agent_controller.go 75.17% <0.00%> (+0.25%) ⬆️
... and 2 more

... and 2 files with indirect coverage changes

@filanov
Copy link
Contributor Author

filanov commented Nov 16, 2023

/hold
having issues because of a bug in controller-runtime kubernetes-sigs/controller-runtime#2362

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Nov 16, 2023
@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Nov 19, 2023
Michael Filanov added 3 commits November 19, 2023 16:10
One of the major changes is controlelr-runtime verison

* Cache functioanlity updated
* Admission decoder does not return an error
* Chaning deprecated PollImmediate function to PollUntilContextTimeout
* Controller wait funtion signature have changed to get object instead of
kind
* Switching pointer package to use generic ptr
* Generated webhook validation function signature changed
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Nov 19, 2023
@filanov
Copy link
Contributor Author

filanov commented Nov 19, 2023

/unhold

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Nov 19, 2023
Status.Update will not work unless the resource is added to WithStatusSubresource
@filanov
Copy link
Contributor Author

filanov commented Nov 19, 2023

/retest

@filanov
Copy link
Contributor Author

filanov commented Nov 20, 2023

/hold
webhooks are not working as expected

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Nov 20, 2023
@filanov
Copy link
Contributor Author

filanov commented Nov 20, 2023

/test edge-e2e-ai-operator-ztp

@openshift-ci openshift-ci bot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. and removed size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Nov 20, 2023
@filanov
Copy link
Contributor Author

filanov commented Nov 21, 2023

/test edge-e2e-ai-operator-ztp

@filanov
Copy link
Contributor Author

filanov commented Nov 21, 2023

/test edge-e2e-ai-operator-ztp

@filanov
Copy link
Contributor Author

filanov commented Nov 21, 2023

/test edge-e2e-ai-operator-ztp

@openshift-ci openshift-ci bot added size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. and removed size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Nov 21, 2023
@filanov filanov marked this pull request as draft November 21, 2023 12:45
@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 Nov 21, 2023
@filanov
Copy link
Contributor Author

filanov commented Nov 21, 2023

/test edge-e2e-ai-operator-ztp

@filanov
Copy link
Contributor Author

filanov commented Nov 21, 2023

/test edge-e2e-ai-operator-ztp

@openshift-ci openshift-ci bot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. and removed size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Nov 21, 2023
@filanov filanov marked this pull request as ready for review November 22, 2023 06:35
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Nov 22, 2023
@danielerez
Copy link
Contributor

/test edge-assisted-operator-catalog-publish-verify

1 similar comment
@filanov
Copy link
Contributor Author

filanov commented Nov 22, 2023

/test edge-assisted-operator-catalog-publish-verify

Copy link

openshift-ci bot commented Nov 22, 2023

@filanov: 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.

@danielerez
Copy link
Contributor

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Nov 22, 2023
@filanov filanov added jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. and removed do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. labels Nov 22, 2023
@openshift-merge-bot openshift-merge-bot bot merged commit 4f300c5 into openshift:master Nov 22, 2023
16 checks passed
@openshift-bot
Copy link
Contributor

[ART PR BUILD NOTIFIER]

This PR has been included in build ose-agent-installer-api-server-container-v4.15.0-202311221354.p0.g4f300c5.assembly.stream for distgit ose-agent-installer-api-server.
All builds following this will include this PR.

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. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants