-
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
Execute a TaskRun without having to create a Task #249
Comments
@imjasonh @bobcatfish Its not clear what value |
That's a reasonable question. I think the benefit comes in two forms:
Finally, I think there's a real benefit to keeping consistency with |
good point @imjasonh, the more I think about it, the more I think Task + TaskRun for one off builds or simple building of an app might be a little too much for a lot of use cases. |
/assign @pivotal-nader-ziada |
Fix the nop hack
Related to #147
Expected Behavior
As a former Build user, I should be able to create a single resource that executes requested steps and can be watched for updates.
Actual Behavior
If I want to run some steps, I first have to define a
Task
that specifies those steps, then invoke it with aTaskRun
that references thatTask
.Additional Info
One possible solution would be to have the
TaskRun
type take either ataskRef
or ataskSpec
(but not both, or neither). When aTaskRun
is requested with ataskSpec
, it would perform the same steps as if aTask
had been created with the given spec, then invoked by theTaskRun
, without creating aTask
as a side effect. Tasks defined in this way can't specify parameters, but can specify inputs. Resources might also need to be able to be defined without referencing a pre-existing CRD resource.The text was updated successfully, but these errors were encountered: