-
Notifications
You must be signed in to change notification settings - Fork 136
Handle kubectl diff exit code when diffs are found #636
base: master
Are you sure you want to change the base?
Conversation
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here with What to do if you already signed the CLAIndividual signers
Corporate signers
ℹ️ Googlers: Go here for more info. |
Hi @goodspark. Thanks for your PR. I'm waiting for a bazelbuild 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. |
c416954
to
1b9765a
Compare
/ok-to-test |
Hm. I'm not sure I the test failure is exactly related to this change:
|
/retest |
Yeah given the error is |
kubectl diff exits with code 1 if a diff is found. Because of the exit flag, this causes the bazel kubectl diff action to exit early. So this attempts to handle that without losing general script-level exit code handling.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: chases2, goodspark 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 |
/test all |
Please fix tests |
I've run into this and would be willing to take a stab at fixing the tests to get it merged, but it seems like the build history is gone. Any chance we could retrigger the tests and I can have a look? |
/retest |
2 similar comments
/retest |
/retest |
@goodspark: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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. |
This seems to be failing tests, would you like to try and fix the tests or close out this PR? |
kubectl diff exits with code 1 if a diff is found. Because of the exit flag, this causes the bazel kubectl diff action to exit early. So this attempts to handle that without losing general script-level exit code handling.