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

WIP - Operator sdk v0.18 #443

Closed

Conversation

adambkaplan
Copy link
Member

Work in progress - bumping operator sdk and k8s to v0.18.x

- operator-sdk to v0.18.2
- k8s.io/* to v0.18.2
- controller-runtime to v0.6.0
- Indirect imports updated
- Update clientsets
- Update fakes and counterfeiter
Client upgrades require a context.Context to be passed as the first
argument. This creates a background context for every test spec, and
wires it through to all client calls.
Files without the `_test.go` suffix are compiled as "normal" go code in
IDEs like VSCode. This can lead to spurious compile errors if the normal
code references variables in test code.

Updating the library code in `samples.go` and `validators.go` to accept
test variables as arguments in function calls. Wired test arguments
through to library functions.
Declare a golang context to be used when making k8s client calls in e2e
tests. Not to be confused with the test framework context.
@openshift-ci-robot openshift-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Oct 15, 2020
@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
To complete the pull request process, please assign adambkaplan after the PR has been reviewed.
You can assign the PR to them by writing /assign @adambkaplan in a comment when ready.

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 adambkaplan changed the title WIP - Operator sdk 018 WIP - Operator sdk v0.18 Oct 15, 2020
@openshift-ci-robot
Copy link

@adambkaplan: PR needs rebase.

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-robot openshift-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Oct 22, 2020
@openshift-merge-robot
Copy link
Contributor

@adambkaplan: The following test failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
ci/prow/4.4-unit c0f9a6b link /test 4.4-unit

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.

@adambkaplan
Copy link
Member Author

/close

Replaced by #462

@openshift-ci-robot
Copy link

@adambkaplan: Closed this PR.

In response to this:

/close

Replaced by #462

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.

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. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants