-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Emit pipelinerun event when it is cancelled #1230
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 @Letty5411. Thanks for your PR. I'm waiting for a tektoncd 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. |
|
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
/assign @bobcatfish |
Thanks for finding this problem and fixing it this @Letty5411 ! Would you mind adding a test for this as well? It looks like the best place to add it would be in our cancel tests: https://github.com/tektoncd/pipeline/blob/master/test/cancel_test.go You can see an example of another end to end test that tests the events in https://github.com/tektoncd/pipeline/blob/master/test/pipelinerun_test.go#L203 |
Thanks for your suggestion, I have added the test. |
/ok-to-test |
The following is the coverage report on pkg/.
|
hey @Letty5411 looks like the build test is failing with a lint error:
Could you run |
8dbc48f
to
0242f14
Compare
Fixes tektoncd#1229 Signed-off-by: letty <letty.ll@alibaba-inc.com>
Thanks for your review, I have fixed it. |
The following is the coverage report on pkg/.
|
hi @dibyom , if this PR is OK, could you help merge it, thanks~ |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dibyom, Letty5411 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 |
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.
Thank you for your PR and fix!
The change looks good to me.
/lgtm |
/test pull-tekton-pipeline-integration-tests |
Fixes #1229
Changes
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
See the contribution guide for more details.
Double check this list of stuff that's easy to miss:
cmd
dir, please updatethe release Task and TaskRun to build and release this image
Reviewer Notes
If API changes
are included, additive changes
must be approved by at least two OWNERS
and backwards incompatible changes
must be approved by more than 50% of the OWNERS,
and they must first be added
in a backwards compatible way.
Release Notes