-
Notifications
You must be signed in to change notification settings - Fork 247
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
e2e: init docker image #1028
e2e: init docker image #1028
Conversation
✅ Deploy Preview for kubernetes-sigs-nfd ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
Hi @Tal-or. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
@marquiz I would also append the WDYT? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Uh-oh, thanks @Tal-or for catching this one. I had just one suggestion to drop the "caching" variable for good
ping @fmuyassarov
Sure, go ahead, I don't have anything against that. But probably in a separate PR (?) |
a70124b
to
98ec7fb
Compare
This PR is a result of conversation started here: kubernetes-sigs#1028 (comment) Signed-off-by: Talor Itzhak <[email protected]>
Done #1029 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/ok-to-test
/lgtm
Thanks for the fix.
LGTM label has been added. Git tree hash: 3cddc067abf5cb61a647eafe8be19f8710a15c92
|
Ach, needs rebase 🙃 Otherwise LGTM |
The docker image that used during e2e test composed of repo and tag flags that are passed to the test itself. The problem is that the docker image initialized before the flags are parsed. Hence, it will always contains the default flags value. Moving the variable into a separate function, fixing the issue. Also, moving the global variables to `e2e_test.go` since it commonly used by all tests. Signed-off-by: Talor Itzhak <[email protected]>
98ec7fb
to
97ca4de
Compare
Done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thx @Tal-or!
/lgtm
LGTM label has been added. Git tree hash: a58d3ff3b0ff50b12fde1292741cf2b0a1d0ee79
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: marquiz, Tal-or 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 |
/cherry-pick release-0.12 |
@marquiz: #1028 failed to apply on top of branch "release-0.12":
In response to this:
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. |
This PR is a result of conversation started here: kubernetes-sigs/node-feature-discovery#1028 (comment) Signed-off-by: Talor Itzhak <[email protected]>
This PR is a result of conversation started here: kubernetes-sigs#1028 (comment) Signed-off-by: Talor Itzhak <[email protected]>
The docker image that used during e2e test
composed of repo and tag flags that are
passed to the test itself.
The problem is that the docker image initialized
before the flags are parsed. Hence, it will always contains the default flags value.
Initialize the flag in later stage, fixing the issue.
Also, moving the global variables to
e2e_test.go
since it commonly used by all tests.Signed-off-by: Talor Itzhak [email protected]