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

Refactor: Include ClusterProvision in InstallManager #1825

Conversation

2uasimojo
Copy link
Member

@2uasimojo 2uasimojo commented Jul 20, 2022

In preparation for needing to plumb some data from the ClusterProvision
into the invocations of the openshift-install command, add a new field
to InstallManager containing the actual ClusterProvision object. This
allows us to change a bunch of function prototypes to remove it as an
argument, as those functions can get it from the InstallManager argument
they already accept (or are methods on).

HIVE-1966

In preparation for needing to plumb some data from the ClusterProvision
into the invocations of the openshift-install command, add a new field
to InstallManager containing the actual ClusterProvision object. This
allows us to change a bunch of function prototypes to remove it as an
argument, as those functions can get it from the InstallManager argument
they already accept (or are methods on).

HIVE-1966
@openshift-ci openshift-ci bot requested review from abutcher and suhanime July 20, 2022 17:51
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 20, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: 2uasimojo

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 Jul 20, 2022
@2uasimojo 2uasimojo added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. and removed approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Jul 20, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 20, 2022

@2uasimojo: 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.

@codecov
Copy link

codecov bot commented Jul 20, 2022

Codecov Report

Merging #1825 (fda64b8) into master (707d093) will decrease coverage by 0.00%.
The diff coverage is 54.54%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1825      +/-   ##
==========================================
- Coverage   41.71%   41.70%   -0.01%     
==========================================
  Files         354      354              
  Lines       33142    33139       -3     
==========================================
- Hits        13824    13822       -2     
+ Misses      18155    18154       -1     
  Partials     1163     1163              
Impacted Files Coverage Δ
pkg/installmanager/fake.go 0.00% <0.00%> (ø)
pkg/installmanager/installmanager.go 34.20% <57.14%> (-0.10%) ⬇️

@2uasimojo
Copy link
Member Author

Closing in favor of #1828

@2uasimojo 2uasimojo closed this Jul 21, 2022
@2uasimojo 2uasimojo deleted the HIVE-1966/log-kv-from-clusterprovision branch July 21, 2022 23:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant