-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Remove PipelineParams #282
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: pivotal-nader-ziada 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 |
/cc @bobcatfish |
/hold until we discuss and decide what we want to do |
Exciting! I'm defintiely all for moving the service account I'm not sure about the results tho - i think it depends on how frequently we expect this to change. my preference would be to rename pipelineparams to something like p.s. this should address #121 can i assign that one to you @pivotal-nader-ziada ? :D |
I was thinking the results would be part of the runtime (pipelineRun) because you would change it to run in your own environment without having to change the original pipeline. You might also need to change it with every run if you want to keep history depending on how it will be implemented. @bobcatfish yes assign me the issue :) |
Runs ResultTarget `json:"runs"` | ||
|
||
// Logs will store all logs output from running a task. | ||
Logs ResultTarget `json:"logs"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
while we're at it, why don't we simplify this and get rid of Tests
and Runs
? Discussions with @tejal29 indicated that we might treat Tests like a type of resource instead, and it's not clear how we'll use Runs
(sorry for the scope creep!!)
I guess we have to see how #107 plays out! I was assuming that the log config wouldn't change as often as some of the other Resources (e.g. git revisions) b/c you'd provide your bucket and we'd make sure we created separate dirs for each Run, etc. Maybe it'll be too hard to make that generic tho 🤔 Okay let's go ahead with this for now - we can always add back a new CRD for results if we need it for #17 |
/lgtm |
/meow space |
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. |
(feel free to remove the |
- Move ServiceAccount and Results to PipelineRun
Its not clear yet how runs and tests will be used, so removing them for now. Might not be the best place to add them anyways. Also updated examples with new fields in PipelineRun Signed-off-by: Nader Ziada <[email protected]>
b133117
to
ec91ca6
Compare
/hold cancel @bobcatfish made the changes to remove Runs and Tests, we can always add them again when we figure out more details Please take another look |
The following is the coverage report on pkg/.
|
In tektoncd#282 we removed the PipelineParams CRD but accidentally missed this image (can't grep for it! :D).
In #282 we removed the PipelineParams CRD but accidentally missed this image (can't grep for it! :D).
Add ubi based gs-util image
The goal of this PR is to start a discussion about removing PipelineParams and moving its contents to PipelineRun.
In case we decide we want to do that, this is what things would look like
Proposed changes
Fixes: #121