-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
Check all places with check_mode: no
for side effects
#8573
Check all places with check_mode: no
for side effects
#8573
Conversation
and fix the one with side effect. Also removes `notify` from this task as the task has `changed_when: false` and notify is not going to fire.
Hi @fungusakafungus. 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. |
I haven't checked what the notify triggers (and so far never did, due to |
yes 🙈 |
I checked other files for |
It never occurred to me that kubespray could do a full run with |
Unfortunately it does not work as there are steps such as creating temporary directories for downloads which the succeeding tasks depend on. (This should affect both deployed and "empty" envs.) At brief glance it seems those problems may be fixable at least for deployed envs. What should certainly not happen is that check mode causes destructive actions. I personally think having check mode work on deployed envs (so that it can be used for its intented purpose of checking what would happen) would be extremely beneficial for users. There was a previous issue about this, #6870, but that went stale. |
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.
@fungusakafungus Thank you, hope that the last of it ;)
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: floryut, fungusakafungus 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 |
Thanks for the explanation @tjanson ! /lgtm |
@floryut I think the release note is misleading, this did not remove |
oh, my bad, I've updated as I still think this should be included in the release note. Do you think we should remove it entirely ? |
There are other instances of |
…igs#8573) and fix the one with side effect. Also removes `notify` from this task as the task has `changed_when: false` and notify is not going to fire.
…igs#8573) and fix the one with side effect. Also removes `notify` from this task as the task has `changed_when: false` and notify is not going to fire.
…igs#8573) and fix the one with side effect. Also removes `notify` from this task as the task has `changed_when: false` and notify is not going to fire.
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Fixes the last place where running with
--check
might change files. Noticed by @tjanson in #8570Also removes
notify
from this task as the task haschanged_when: false
and notify is not going to fire.
Which issue(s) this PR fixes:
Special notes for your reviewer:
Does this PR introduce a user-facing change?: