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

Move to the v1beta1 Conditions implementation. #744

Merged
merged 4 commits into from
Apr 17, 2019

Conversation

vdemeester
Copy link
Member

Changes

See here for more context on what's changed (no breaking changes): knative/pkg#361

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.

cc @mattmoor

@googlebot googlebot added the cla: yes Trying to make the CLA bot happy with ppl from different companies work on one commit label Apr 9, 2019
@tekton-robot
Copy link
Collaborator

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tekton-robot tekton-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Apr 9, 2019
@vdemeester
Copy link
Member Author

/hold

@tekton-robot tekton-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 10, 2019
@vdemeester
Copy link
Member Author

/hold cancel

@tekton-robot tekton-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 10, 2019
@@ -113,16 +114,20 @@ type PipelineTrigger struct {

// PipelineRunStatus defines the observed state of PipelineRun
type PipelineRunStatus struct {
Conditions duckv1alpha1.Conditions `json:"conditions"`
duckv1beta1.Status `json:",inline"`
Copy link
Member

Choose a reason for hiding this comment

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

One thing this includes that I don't see here is ObservedGeneration.

For mutable types, this is important to understand whether the overall Status reflects the latest Spec.

Basically, if metadata.generation == status.observedGeneration, then I can believe the conditions.

Not for this change, but probably worth an issue.

Copy link
Member Author

Choose a reason for hiding this comment

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

ah I see, yeah we'll need to update our usage of Condition to reflect that then 👼
(adding this to my todo 🙃 )

@mattmoor
Copy link
Member

/lgtm

@tekton-robot
Copy link
Collaborator

@mattmoor: changing LGTM is restricted to assignees, and only tektoncd/pipeline repo collaborators may be assigned issues.

In response to this:

/lgtm

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.

@bobcatfish
Copy link
Collaborator

Thanks for keeping everything up to date @vdemeester !! 🎉

One thing that seems to be missing from the existing commit messages - and from the linked knative/pkg PR - is kind of a higher level explanation of what's going on here (i.e. what is Conditions, why did it change to v1beta1, why do we want this change, why do we have to make it - im assuming some kind of co-vendoring situation) 🙏

Anyway tho if you want to stick with what you've got now I won't be too upset, the messages do have sweet emojis ;)

/lgtm

I wasn't clear if you wanted to make that ObservedGeneration change that @mattmoor is suggesting so:

/hold

(p.s. @mattmoor any plans on moving this lib into its own repo outside of pkg? would be pretty sweeeeet)

/meow space

@tekton-robot tekton-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 12, 2019
@tekton-robot
Copy link
Collaborator

@bobcatfish: cat image

In response to this:

Thanks for keeping everything up to date @vdemeester !! 🎉

One thing that seems to be missing from the existing commit messages - and from the linked knative/pkg PR - is kind of a higher level explanation of what's going on here (i.e. what is Conditions, why did it change to v1beta1, why do we want this change, why do we have to make it - im assuming some kind of co-vendoring situation) 🙏

Anyway tho if you want to stick with what you've got now I won't be too upset, the messages do have sweet emojis ;)

/lgtm

I wasn't clear if you wanted to make that ObservedGeneration change that @mattmoor is suggesting so:

/hold

(p.s. @mattmoor any plans on moving this lib into its own repo outside of pkg? would be pretty sweeeeet)

/meow space

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.

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Apr 12, 2019
@vdemeester
Copy link
Member Author

Thanks for keeping everything up to date @vdemeester !! tada

One thing that seems to be missing from the existing commit messages - and from the linked knative/pkg PR - is kind of a higher level explanation of what's going on here (i.e. what is Conditions, why did it change to v1beta1, why do we want this change, why do we have to make it - im assuming some kind of co-vendoring situation) pray

Anyway tho if you want to stick with what you've got now I won't be too upset, the messages do have sweet emojis ;)

/lgtm

Lol 😂 Right, so I wasn't sure about what to include as explaination there, but it's a mix of "keeping things up-to-date" and "assuming some kind of co-vendoring situation" in the near future 💃

I wasn't clear if you wanted to make that ObservedGeneration change that @mattmoor is suggesting so:

/hold

I was gonna fix that in a follow-up but I could do it too 😅

@dlorenc
Copy link
Contributor

dlorenc commented Apr 15, 2019

/lgtm

@vdemeester
Copy link
Member Author

/hold cancel

@tekton-robot tekton-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 15, 2019
@vdemeester
Copy link
Member Author

ahah 😓 I need to rebase…

Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
See here for more context on what's changed (no breaking changes): knative/pkg#361

Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
See knative/pkg@8b3dc0d

Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
`apis.FieldError` output has change a bit

Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
@tekton-robot tekton-robot removed the lgtm Indicates that a PR is ready to be merged. label Apr 16, 2019
@vdemeester
Copy link
Member Author

/test pull-tekton-pipeline-integration-tests

@bobcatfish
Copy link
Collaborator

/lgtm

i wasn't sure if you wanted to merge this as-is or you wanted to address @mattmoor 's comment first so feel free to remove this if you want to go ahead as-is:

/hold

@tekton-robot tekton-robot added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. lgtm Indicates that a PR is ready to be merged. labels Apr 16, 2019
@vdemeester
Copy link
Member Author

/hold cancel

Let's do that in follow-up 👼

@tekton-robot tekton-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 17, 2019
@tekton-robot tekton-robot merged commit 45e35af into tektoncd:master Apr 17, 2019
@vdemeester vdemeester deleted the v1beta1-conditions branch April 17, 2019 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cla: yes Trying to make the CLA bot happy with ppl from different companies work on one commit lgtm Indicates that a PR is ready to be merged. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants