-
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
make debug scripts comply with new /tekton/run #4416
Conversation
05674ed
to
f6fd5fb
Compare
- fix debug scripts (in /tekton/debug/scripts) to write entrypoint completion files to /tekton/run/<step-no.>/out and /tekton/run/<step-no.>/out.err instead of /tekton/run/<step-no.> and /tekton/run/<step-no.>.err.
f6fd5fb
to
6297b45
Compare
/test pull-tekton-pipeline-alpha-integration-tests |
I think this PR fixes #4224 ? |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: vdemeester 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 |
/kind fix |
/kind bug |
/lgtm It might be worth adding an alpha e2e test at some point to exercise the debug scripts if possible so we can catch regressions if they're broken with future changes to the entrypoint / Step filesystem. |
/test pull-tekton-pipeline-alpha-integration-tests |
@sbwsg yeah, it would be helpful to have integration tests. I would have already written them if I knew how to architect them for debug. There might be something very obvious that I am missing because of which I haven't already written them, because testing the scripts involve having a failing taskrun, 'exec'ing into the failed step pod and then checking and executing that script using exec. I am not sure how to achieve this as it is not as straightforward as checking the final state of a taskrun after it's executed. Testing breakpoints is a more involved process. We must discuss this on either an issue or is this something that might need a bigger change to e2e tests for tekton ? |
/test check-pr-has-kind-label |
Created #4426 to track this concern |
Changes
files to /tekton/run/<step-no.>/out and /tekton/run/<step-no.>/out.err
instead of /tekton/run/<step-no.> and /tekton/run/<step-no.>.err.
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
functionality, content, code)
fixes #4224
/kind bug
Release Notes