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

Bump tektoncd/pipeline to v0.12.1 #2260

Merged
merged 1 commit into from
Jul 10, 2020

Conversation

piyush-garg
Copy link
Contributor

@piyush-garg piyush-garg commented Jun 3, 2020

This will bump tektoncd/pipeline to v0.12.1 for both
v1alpha and v1beta1 resources in v1beta1 client.
Also use the respective dep as in the upstream project

@rohanKanojia
Copy link
Member

ok to test

@rohanKanojia
Copy link
Member

Welcome back 😄

@rohanKanojia
Copy link
Member

@Fabian-K : Could you please review this whenever you find some time?

@Fabian-K
Copy link
Contributor

Fabian-K commented Jun 3, 2020

Sure, unfortunately I might need 2-3 days to find some time for it :/

@rohanKanojia
Copy link
Member

No rush, take your time

@Fabian-K
Copy link
Contributor

Fabian-K commented Jun 3, 2020

First quick comment: updating the dependency of generator-v1alpha1 undermines the intention of generating two different models based on different dependency versions. The details are included somewhere in the comments of #2160

(sorry for just throwing a link at you)

@@ -2,10 +2,17 @@ module github.com/fabric8io/kubernetes-client/extensions/tekton/generator

require (
github.com/fabric8io/kubernetes-client/generator v0.0.0
github.com/tektoncd/pipeline v0.10.2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as mentioned, v1alpha1 should not be updated to the latest version!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup I misunderstood it. I thought the v1beta1 client for only v1beta1 resources. I think it has both latest v1alpha1 and v1beta1. While v1alpha client is for old v1alpha1 resources only. In that case, we don't need to update v1alpha1 client then

k8s.io/api => k8s.io/api v0.16.5
k8s.io/apimachinery => k8s.io/apimachinery v0.16.5
k8s.io/client-go => k8s.io/client-go v0.16.5
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you know why this is necessary?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did this to match with whatever is used in upstream https://github.com/tektoncd/pipeline/blob/release-v0.12.x/go.mod#L63

This will bump tektoncd/pipeline to v0.12.1 for both
v1alpha and v1beta1 resources in v1beta1 client.
Also use the respective dep as in the upstream project
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

Copy link
Member

@manusa manusa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thx!

@rohanKanojia
Copy link
Member

@Fabian-K : Could you please review the update whenever you get time? Once you approve we can proceed to merge this.

Copy link
Contributor

@Fabian-K Fabian-K left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one comment, otherwise this LGTM. Thank you!

@@ -6,14 +6,17 @@ cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6A
cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY=
cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc=
cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0=
cloud.google.com/go v0.47.0 h1:1JUtpcY9E7+eTospEwWS2QXP3DEn7poB3E2j0jN74mM=
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I´m not sure why there are changes in the go.sum for the v1alpha1. Anyway, they don´t seem to affect the resulting json. Therfore I´m fine with both options: reverting or keeping them

@rohanKanojia
Copy link
Member

Thanks a lot @piyush-garg ❤️

@rohanKanojia
Copy link
Member

[merge]

2 similar comments
@rohanKanojia
Copy link
Member

[merge]

@rohanKanojia
Copy link
Member

[merge]

@rohanKanojia rohanKanojia merged commit 7b577d2 into fabric8io:master Jul 10, 2020
@rohanKanojia rohanKanojia mentioned this pull request Aug 20, 2020
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants