test-infra icon indicating copy to clipboard operation
test-infra copied to clipboard

feat: add tekton v1beta1 support

Open eddycharly opened this issue 2 years ago β€’ 14 comments

This PR adds tekton v1beta1 support (side by side with v1alpha1).

This should come after https://github.com/kubernetes/test-infra/pull/27032

TODO:

  • error handling
  • unit tests
  • docs

eddycharly avatar Aug 04 '22 13:08 eddycharly

Skipping CI for Draft Pull Request. If you want CI signal for your change, please convert it to an actual PR. You can still manually trigger a test run with /test all

k8s-ci-robot avatar Aug 04 '22 13:08 k8s-ci-robot

/hold /cc @alvaroaleman

eddycharly avatar Aug 04 '22 16:08 eddycharly

cc @qaifshaikh

eddycharly avatar Aug 04 '22 19:08 eddycharly

I think we still need an equivalent for run, right?

Not sure what you mean here. Isn’t Run used for custom tasks ?

eddycharly avatar Aug 04 '22 22:08 eddycharly

Oh I see. I thought it was the run status API for all pipelines.

qaifshaikh avatar Aug 04 '22 22:08 qaifshaikh

@qaifshaikh: changing LGTM is restricted to collaborators

In response to this:

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.

k8s-ci-robot avatar Aug 05 '22 16:08 k8s-ci-robot

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: eddycharly, qaifshaikh Once this PR has been reviewed and has the lgtm label, please assign mpherman2 for approval by writing /assign @mpherman2 in a comment. For more information see:The Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment Approvers can cancel approval by writing /approve cancel in a comment

k8s-ci-robot avatar Aug 05 '22 16:08 k8s-ci-robot

Can we move forward with this @alvaroaleman ? Its not a breaking change anymore and makes it easy to upgrade to v1 when it becomes a standard!

qaifshaikh avatar Aug 09 '22 18:08 qaifshaikh

We need #27032 first. @alvaroaleman WDYT ?

eddycharly avatar Aug 09 '22 18:08 eddycharly

Please note this PR needs a bit more work (docs, unit tests and better error handling). I will address missing bits soon, I’m currently on vacations.

eddycharly avatar Aug 09 '22 18:08 eddycharly

Now https://github.com/kubernetes/test-infra/pull/27032 is in, I will try to terminate this one next week :crossed_fingers:

eddycharly avatar Aug 26 '22 23:08 eddycharly

/cc

listx avatar Sep 02 '22 23:09 listx

Hey @eddycharly any idea how long until we can get this through?

qaifshaikh avatar Sep 14 '22 22:09 qaifshaikh

Any chance we can get this in before October end? πŸ™πŸ» @eddycharly

qaifshaikh avatar Oct 03 '22 13:10 qaifshaikh

Any updates?

halamix2 avatar Nov 02 '22 15:11 halamix2

We were waiting on @eddycharly for this one πŸ€”

qaifshaikh avatar Nov 04 '22 23:11 qaifshaikh

I was quite busy, sorry for that. I will terminate this next week !

eddycharly avatar Nov 04 '22 23:11 eddycharly

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: eddycharly, qaifshaikh Once this PR has been reviewed and has the lgtm label, please assign cjwagner for approval by writing /assign @cjwagner in a comment. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment Approvers can cancel approval by writing /approve cancel in a comment

k8s-ci-robot avatar Nov 10 '22 20:11 k8s-ci-robot

Needs a couple more unit tests and we should be good.

eddycharly avatar Nov 11 '22 09:11 eddycharly

I'm interested in merging this one, @eddycharly how can I help?

danilo-gemoli avatar Nov 17 '22 08:11 danilo-gemoli

@danilo-gemoli a couple unit tests are missing, I will add them by the end of the week (probably during the week-end).

eddycharly avatar Nov 17 '22 08:11 eddycharly

would be nice to close this off before the year ends πŸ˜„ We'd be happy to help push this through if you want!

qaifshaikh avatar Dec 01 '22 23:12 qaifshaikh

I'll join @qaifshaikh eventually!

danilo-gemoli avatar Dec 02 '22 08:12 danilo-gemoli

Can I help somehow?

halamix2 avatar Dec 20 '22 12:12 halamix2

Since a few releases back in Tekton, the v1alpha1 support has been dropped totally. It would be great to see v1beta1 support (or even v1 support) in Prow.

zhouhaibing089 avatar Dec 20 '22 22:12 zhouhaibing089

nudge @eddycharly πŸ˜„

qaifshaikh avatar Jan 03 '23 18:01 qaifshaikh

Tomorrow I promise !!

eddycharly avatar Jan 03 '23 19:01 eddycharly

Folks, I added the missing unit tests, please let me know how this looks. Sorry for the long delay.

cc @stevekuznetsov @alvaroaleman

eddycharly avatar Jan 04 '23 19:01 eddycharly

/cc @stevekuznetsov @alvaroaleman @chaodaiG

eddycharly avatar Jan 04 '23 19:01 eddycharly

@eddycharly: GitHub didn't allow me to request PR reviews from the following users: stevekuznetsov, alvaroaleman, chaodaiG.

Note that only kubernetes members and repo collaborators can review this PR, and authors cannot review their own PRs.

In response to this:

/cc @stevekuznetsov @alvaroaleman @chaodaiG

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.

k8s-ci-robot avatar Jan 04 '23 19:01 k8s-ci-robot

/assign @cjwagner

eddycharly avatar Jan 04 '23 19:01 eddycharly

/unhold

eddycharly avatar Jan 04 '23 19:01 eddycharly

@eddycharly: GitHub didn't allow me to request PR reviews from the following users: stevekuznetsov, alvaroaleman, chaodaiG.

Note that only kubernetes members and repo collaborators can review this PR, and authors cannot review their own PRs.

Not sure why this message πŸ€”

eddycharly avatar Jan 04 '23 19:01 eddycharly