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

refactoring for easy unit-test and cm-cli integration #13

Merged

Conversation

itdove
Copy link
Member

@itdove itdove commented Jun 4, 2021

Refactoring for easy unit-tests and cm-cli integration
Also quick fix for : #12
Remove the "verbs" notion, use groups like oc
Signed-off-by: Dominique Vernier dvernier@redhat.com

Signed-off-by: Dominique Vernier <dvernier@redhat.com>
@openshift-ci
Copy link

openshift-ci bot commented Jun 4, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: itdove

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 label Jun 4, 2021
@openshift-ci openshift-ci bot requested a review from qiujian16 June 4, 2021 19:59
@itdove
Copy link
Member Author

itdove commented Jun 4, 2021

/hold

Signed-off-by: Dominique Vernier <dvernier@redhat.com>
Signed-off-by: Dominique Vernier <dvernier@redhat.com>
if err != nil {
return err
}

//quick fix for https://github.com/open-cluster-management-io/clusteradm/issues/12
fmt.Printf("Wait 10 sec... for the crd to be effective\n")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you could use wait.Until here to get crd of clustermanager.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

implement retry.OnError

pkg/helpers/apply/apply.go Outdated Show resolved Hide resolved
Signed-off-by: Dominique Vernier <dvernier@redhat.com>
Signed-off-by: Dominique Vernier <dvernier@redhat.com>
Copy link
Member

@qiujian16 qiujian16 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@itdove
Copy link
Member Author

itdove commented Jun 7, 2021

/unhold

@openshift-merge-robot openshift-merge-robot merged commit d552779 into open-cluster-management-io:main Jun 7, 2021
ycyaoxdu pushed a commit to ycyaoxdu/clusteradm that referenced this pull request Feb 8, 2023
* upgrade to kubernetes 1.25.4

Signed-off-by: clyang82 <chuyang@redhat.com>

* upgrade apiextensions-apiserver as well

Signed-off-by: clyang82 <chuyang@redhat.com>

Signed-off-by: clyang82 <chuyang@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants