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

Add Condition to v1alpha2 🎋 #1846

Closed
wants to merge 1 commit into from

Conversation

vdemeester
Copy link
Member

Changes

This port Condition from v1alpha1 as is to v1alpha2.

This depends on #1841 and #1725 (as it is based on those two)

/hold
/cc @bobcatfish

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.

Double check this list of stuff that's easy to miss:

Reviewer Notes

If API changes are included, additive changes must be approved by at least two OWNERS and backwards incompatible changes must be approved by more than 50% of the OWNERS, and they must first be added in a backwards compatible way.

@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 Jan 10, 2020
@googlebot googlebot added the cla: yes Trying to make the CLA bot happy with ppl from different companies work on one commit label Jan 10, 2020
@tekton-robot tekton-robot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Jan 10, 2020
@vdemeester vdemeester changed the title Add Condition to v1alpha2 tanabata_tree Add Condition to v1alpha2 🎋 Jan 10, 2020
@tekton-robot
Copy link
Collaborator

The following is the coverage report on pkg/.
Say /test pull-tekton-pipeline-go-coverage to re-run this coverage report

File Old Coverage New Coverage Delta
pkg/apis/pipeline/v1alpha2/condition_defaults.go Do not exist 0.0%
pkg/apis/pipeline/v1alpha2/condition_types.go Do not exist 0.0%
pkg/apis/pipeline/v1alpha2/condition_validation.go Do not exist 87.5%
pkg/apis/pipeline/v1alpha2/task_validation.go 74.8% 83.8% 9.0
pkg/apis/pipeline/v1alpha2/taskrun_defaults.go Do not exist 100.0%
pkg/apis/pipeline/v1alpha2/taskrun_types.go Do not exist 74.1%
pkg/apis/pipeline/v1alpha2/taskrun_validation.go Do not exist 96.2%
pkg/apis/pipeline/v1alpha2/workspace_types.go Do not exist 100.0%
pkg/apis/pipeline/v1alpha2/workspace_validation.go Do not exist 100.0%

@tekton-robot tekton-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Jan 21, 2020
@tekton-robot
Copy link
Collaborator

The following is the coverage report on pkg/.
Say /test pull-tekton-pipeline-go-coverage to re-run this coverage report

File Old Coverage New Coverage Delta
pkg/apis/pipeline/v1alpha2/condition_defaults.go Do not exist 0.0%
pkg/apis/pipeline/v1alpha2/condition_types.go Do not exist 0.0%
pkg/apis/pipeline/v1alpha2/condition_validation.go Do not exist 87.5%

@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 Jan 22, 2020
@ghost
Copy link

ghost commented Jan 24, 2020

/approve

@tekton-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: sbwsg

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 the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 24, 2020
This port Condition from v1alpha1 as is to v1alpha2.

Signed-off-by: Vincent Demeester <[email protected]>
@tekton-robot
Copy link
Collaborator

The following is the coverage report on pkg/.
Say /test pull-tekton-pipeline-go-coverage to re-run this coverage report

File Old Coverage New Coverage Delta
pkg/apis/pipeline/v1alpha2/condition_defaults.go Do not exist 0.0%
pkg/apis/pipeline/v1alpha2/condition_types.go Do not exist 0.0%
pkg/apis/pipeline/v1alpha2/condition_validation.go Do not exist 87.5%

@bobcatfish
Copy link
Collaborator

mentioned this is slack also but I'd rather hold off on making Condition part of beta since a) it's pretty new b) i'm not sure we've actually completed the epic yet (@dibyom correct me if I'm wrong) and c) in my own experience I haven't been able to use it the way I've wanted to (that's just me tho - and I think @dlorenc has had similar experiences). so personally I'd rather give it a bit of a revisit first

@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 Jan 27, 2020
@dibyom
Copy link
Member

dibyom commented Jan 27, 2020

I think the missing features are mostly going to be in the PipelineTask side rather than in the Condition CRD (e.g. chaining conditions, or #1684). That being said, I'm for waiting on making Conditions Beta (do we even need a extra CRD...can we just reuse some "kinds" of tasks/steps instead?)

@vdemeester
Copy link
Member Author

I guess I can close this for now 👼
/close

@tekton-robot
Copy link
Collaborator

@vdemeester: Closed this PR.

In response to this:

I guess I can close this for now 👼
/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
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 do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants