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

Remove dependency on os dpuoperatorconfig controller #35

Merged
merged 1 commit into from May 21, 2024

Conversation

bn222
Copy link
Contributor

@bn222 bn222 commented Apr 11, 2024

No description provided.

Copy link

openshift-ci bot commented Apr 11, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bn222

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 11, 2024
@vrindle
Copy link

vrindle commented Apr 12, 2024

/test e2e-dpu-operator-tests

@bn222 bn222 force-pushed the bindata branch 3 times, most recently from 79ae26f to e071c79 Compare April 14, 2024 09:39
@vrindle
Copy link

vrindle commented Apr 17, 2024

/retest

@vrindle
Copy link

vrindle commented Apr 17, 2024

/test e2e-dpu-operator-tests

3 similar comments
@vrindle
Copy link

vrindle commented Apr 19, 2024

/test e2e-dpu-operator-tests

@vrindle
Copy link

vrindle commented Apr 22, 2024

/test e2e-dpu-operator-tests

@vrindle
Copy link

vrindle commented Apr 22, 2024

/test e2e-dpu-operator-tests

@bn222
Copy link
Contributor Author

bn222 commented May 16, 2024

This depends on #61

@bn222
Copy link
Contributor Author

bn222 commented May 16, 2024

/override ci/prow/e2e-dpu-operator-tests

Copy link

openshift-ci bot commented May 16, 2024

@bn222: Overrode contexts on behalf of bn222: ci/prow/e2e-dpu-operator-tests

In response to this:

/override ci/prow/e2e-dpu-operator-tests

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-sigs/prow repository.

@bn222 bn222 force-pushed the bindata branch 2 times, most recently from 26f3ad6 to c065f40 Compare May 21, 2024 09:30
@bn222 bn222 changed the title Add way to set bindata Remove dependency on os May 21, 2024
@bn222 bn222 changed the title Remove dependency on os Remove dependency on os dpuoperatorconfig controller May 21, 2024
Embed the files into the reconciler. The net effect of this is:
1. Remove depenency on os from the reconciler
2. Make it easier to initialize the reconciler

Signed-off-by: Balazs Nemeth <bnemeth@redhat.com>
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do we need to move the files?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Because:

  1. The files are not relevant top level2
  2. The embedding works relatively to the embed line.

ctrl "sigs.k8s.io/controller-runtime"
"sigs.k8s.io/controller-runtime/pkg/client"
"sigs.k8s.io/controller-runtime/pkg/log"
)

//go:embed bindata/*
Copy link
Contributor

Choose a reason for hiding this comment

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

I guess this can't reference the root directory?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Correct. It works relatively to the .go file, which is nice because as long as the .go file lives in the same directory as the embedded files, this will work.

@bn222
Copy link
Contributor Author

bn222 commented May 21, 2024

/override ci/prow/e2e-dpu-operator-tests

@openshift-ci-robot
Copy link

/test remaining-required

Copy link

openshift-ci bot commented May 21, 2024

@bn222: Overrode contexts on behalf of bn222: ci/prow/e2e-dpu-operator-tests

In response to this:

/override ci/prow/e2e-dpu-operator-tests

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-sigs/prow repository.

@wizhaoredhat
Copy link
Contributor

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label May 21, 2024
@openshift-ci-robot
Copy link

/retest-required

Remaining retests: 0 against base HEAD 1e785fc and 2 for PR HEAD 1ec315e in total

Copy link

openshift-ci bot commented May 21, 2024

@bn222: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/unit e071c79 link true /test 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-sigs/prow repository. I understand the commands that are listed here.

@bn222
Copy link
Contributor Author

bn222 commented May 21, 2024

/override ci/prow/e2e-dpu-operator-tests

Copy link

openshift-ci bot commented May 21, 2024

@bn222: Overrode contexts on behalf of bn222: ci/prow/e2e-dpu-operator-tests

In response to this:

/override ci/prow/e2e-dpu-operator-tests

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-sigs/prow repository.

@openshift-merge-bot openshift-merge-bot bot merged commit e2d511d into openshift:main May 21, 2024
5 checks passed
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. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants