Skip to content
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

TEP-0114: Custom Tasks Beta - Testing #5156

Closed
Tracked by #4313
jerop opened this issue Jul 18, 2022 · 11 comments
Closed
Tracked by #4313

TEP-0114: Custom Tasks Beta - Testing #5156

jerop opened this issue Jul 18, 2022 · 11 comments
Assignees
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@jerop
Copy link
Member

jerop commented Jul 18, 2022

In TEP-0114: Custom Tasks Beta, we proposed migrating Custom Tasks and Runs to beta.

Ahead of the promotion, we agreed to improve the test coverage for Custom Tasks and Runs. This issue tracks the testing work.

Related issues:

@jerop jerop added the kind/feature Categorizes issue or PR as related to a new feature. label Jul 18, 2022
@XinruZhang
Copy link
Member

/assign XinruZhang

@XinruZhang
Copy link
Member

Currently, we have two ways to run custom tasks: w/ CRD, w/o CRD

The highest priority of this issue is to create an e2e test to ensure the basic functionalities of a custom task work as expected, which is a blocker of V1 Pipeline release.

Then we can write a new CRD and controller with more functionalities implemented – as @lbernick suggested in issue #5120.

@XinruZhang
Copy link
Member

XinruZhang commented Aug 10, 2022

  • move wait-task to test/
  • write e2e test (install tekton, custom controller)
  • put this e2e test together with other tests? (not sure if this is required)
    • as part of a release test etc.
  • documentation and future work (stage 2)

@XinruZhang
Copy link
Member

After talking to @dibyom offline, we reached agreement on implementing a new controller for the testing purpose instead of using the exisitng wait-task because

  1. wait-task will be eventually replaced by the new controller, no need to write code and make people review something that will definitely be removed;
  2. the effort of implementing a new test controller is at the similar level of implementing a new controller.

@XinruZhang
Copy link
Member

XinruZhang commented Aug 16, 2022

Done in PR #5332

@XinruZhang
Copy link
Member

XinruZhang commented Aug 19, 2022

Next steps of improving the test coverage for Custom Task:

@XinruZhang
Copy link
Member

@jerop For the retries, we need to be aligned with the behavior of TaskRun, IMHO it would be better to implement it after addressing #5248. wdyt?

@lbernick
Copy link
Member

For the retries, we need to be aligned with the behavior of TaskRun, IMHO it would be better to implement it after addressing #5248. wdyt?

I think since we've decided to add retries to TaskRun rather than changing how Run retries work, we can implement testing for Run retries in parallel. (We might want to wait for the TEP to be accepted, but I don't think we need to wait for the implementation to land.)

@XinruZhang
Copy link
Member

@jerop I think we can mark this issue as done, wdyt?

@jerop
Copy link
Member Author

jerop commented Sep 27, 2022

yes, making it as done - thank you so much @XinruZhang 😻

/close

@tekton-robot
Copy link
Collaborator

@jerop: Closing this issue.

In response to this:

yes, making it as done - thank you so much @XinruZhang 😻

/close

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
Status: Done
Status: Done
Development

No branches or pull requests

4 participants