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

Allow PipelineRuns to provide extra parameters #2513

Closed
bobcatfish opened this issue Apr 30, 2020 · 9 comments
Closed

Allow PipelineRuns to provide extra parameters #2513

bobcatfish opened this issue Apr 30, 2020 · 9 comments
Assignees
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@bobcatfish
Copy link
Collaborator

Expected Behavior

Imagine you have a system creating PipelineRuns automatically, and each PipelineRun uses a different Pipeline which has a different set of parameters. The system has a number of parameters it knows how to provide, e.g. the service account and url of a bucket the Pipelines can push to (but not all Pipelines need to push to a bucket).

It would be very convenient if the system creating the PipelineRuns could provide all the parameters it has available to all PipelineRuns, and the Pipelines could use the ones they need and ignore the rest.

Actual Behavior

If a PipelineRun provides extra params to a Pipeline, it will fail (99% sure!). This means that the system creating the PipelineRuns described above will need to look at each Pipeline, see what params it needs, and only provide the correct params. This feels like a level of complication that doesn't add much.

Additional Info

  • You can use TriggerBindings + TriggerTemplates to accomplish this today; TriggerBindings can provide params that TriggerTemplates do not use, but you have to involve an EventListener to make it work
  • The specific use case which is motivating me to suggest this is designing the test infrastructure fo the Tekton catalog (some details in this design doc). The proposal is using TriggerBindings + TriggerTemplates because they allow this functionality, but beyond that there is no reason to use Triggers for this and it would be nice to simplify the design by removing that component.
  • This might be an incremental improvement of the situation described in Better support for CI systems that provide many env vars #1294
@vdemeester
Copy link
Member

/kind feature

@tekton-robot tekton-robot added the kind/feature Categorizes issue or PR as related to a new feature. label Apr 30, 2020
jerop added a commit to jerop/pipeline that referenced this issue May 29, 2020
While working on allowing PipelineRuns to provide extra parameters (tektoncd#2513),
we discovered that providing extra parameters was unintentionally allowed.
That's because, currently, there's no validation that all parameters expected
by the Pipeline is provided by the PipelineRun. In this PR, we add validation
for PipelineRun parameters.

In this validation, we allow PipelineRuns to provide extra parameters.
If we disallow PipelineRuns from provides extra parameters, the Pipelines
would fail. As a result, systems that autogenerate PipelineRuns need to
lookat each pipeline to see what parameters they need so it can provide
only the required parameters. Consequently, users would have to resort to
more complex designs to solve this issue, as further described in (tektoncd#2513).
By allowing PipelineRuns to provide extra parameters, we make the process
of autogenerating of PipelineRuns simpler.

Fixes tektoncd#2708.
jerop added a commit to jerop/pipeline that referenced this issue May 29, 2020
While working on allowing PipelineRuns to provide extra parameters (tektoncd#2513),
we discovered that providing extra parameters was unintentionally allowed.
That's because, currently, there's no validation that all parameters expected
by the Pipeline is provided by the PipelineRun. In this PR, we add validation
for PipelineRun parameters.

In this validation, we allow PipelineRuns to provide extra parameters.
If we disallow PipelineRuns from provides extra parameters, the Pipelines
would fail. As a result, systems that autogenerate PipelineRuns need to
lookat each pipeline to see what parameters they need so it can provide
only the required parameters. Consequently, users would have to resort to
more complex designs to solve this issue, as further described in (tektoncd#2513).
By allowing PipelineRuns to provide extra parameters, we make the process
of autogenerating of PipelineRuns simpler.

Fixes tektoncd#2708.
jerop added a commit to jerop/pipeline that referenced this issue May 29, 2020
While working on allowing PipelineRuns to provide extra parameters (tektoncd#2513),
we discovered that providing extra parameters was unintentionally allowed.
That's because, currently, there's no validation that all parameters expected
by the Pipeline is provided by the PipelineRun. In this PR, we add validation
for PipelineRun parameters.

In this validation, we allow PipelineRuns to provide extra parameters.
If we disallow PipelineRuns from provides extra parameters, the Pipelines
would fail. As a result, systems that autogenerate PipelineRuns need to
lookat each pipeline to see what parameters they need so it can provide
only the required parameters. Consequently, users would have to resort to
more complex designs to solve this issue, as further described in (tektoncd#2513).
By allowing PipelineRuns to provide extra parameters, we make the process
of autogenerating of PipelineRuns simpler.

Fixes tektoncd#2708.
jerop added a commit to jerop/pipeline that referenced this issue May 29, 2020
While working on allowing PipelineRuns to provide extra parameters (tektoncd#2513),
we found that providing extra parameters was unintentionally allowed.That's
because, currently, there's no validation that all parameters expected by
the Pipeline is provided by the PipelineRun.

In this PR, we add validation for PipelineRun parameters by generating a
list of provided parameters then iterating through the expected parameters
to ensure they are in the list of provided parameters.

In the validation, we still allow PipelineRuns to provide extra parameters.
If we disallow PipelineRuns from provides extra parameters, the Pipelines
would fail. As a result, systems that autogenerate PipelineRuns need to
lookat each pipeline to see what parameters they need so it can provide
only the required parameters. That means users would have to resort to
more complex designs to solve this issue, as further described in (tektoncd#2513).
By allowing PipelineRuns to provide extra parameters, we make the process
of autogenerating of PipelineRuns simpler.

Fixes tektoncd#2708.
jerop added a commit to jerop/pipeline that referenced this issue May 29, 2020
While working on allowing PipelineRuns to provide extra parameters (tektoncd#2513),
we found that providing extra parameters was unintentionally allowed.That's
because, currently, there's no validation that all parameters expected by
the Pipeline is provided by the PipelineRun.

In this PR, we add validation for PipelineRun parameters by generating a
list of provided parameters then iterating through the expected parameters
to ensure they are in the list of provided parameters.

In the validation, we still allow PipelineRuns to provide extra parameters.
If we disallow PipelineRuns from provides extra parameters, the Pipelines
would fail. As a result, systems that autogenerate PipelineRuns need to
lookat each pipeline to see what parameters they need so it can provide
only the required parameters. That means users would have to resort to
more complex designs to solve this issue, as further described in (tektoncd#2513).
By allowing PipelineRuns to provide extra parameters, we make the process
of autogenerating of PipelineRuns simpler.

Fixes tektoncd#2708.
jerop added a commit to jerop/pipeline that referenced this issue May 29, 2020
While working on allowing PipelineRuns to provide extra parameters (tektoncd#2513),
we found that providing extra parameters was unintentionally allowed. That's
because, currently, there's no validation that all parameters expected by
the Pipeline is provided by the PipelineRun.

In this PR, we add validation for PipelineRun parameters by generating a
list of provided parameters then iterating through the expected parameters
to ensure they are in the list of provided parameters.

In the validation, we still allow PipelineRuns to provide extra parameters.
If we disallow PipelineRuns from provides extra parameters, the Pipelines
would fail. As a result, systems that autogenerate PipelineRuns need to
lookat each pipeline to see what parameters they need so it can provide
only the required parameters. That means users would have to resort to
more complex designs to solve this issue, as further described in (tektoncd#2513).
By allowing PipelineRuns to provide extra parameters, we make the process
of autogenerating of PipelineRuns simpler.

Fixes tektoncd#2708.
jerop added a commit to jerop/pipeline that referenced this issue May 29, 2020
While working on allowing PipelineRuns to provide extra parameters (tektoncd#2513),
we found that providing extra parameters was unintentionally allowed. That's
because, currently, there's no validation that all parameters expected by
the Pipeline is provided by the PipelineRun.

In this PR, we add validation for PipelineRun parameters by generating a
list of provided parameters then iterating through the expected parameters
to ensure they are in the list of provided parameters.

In the validation, we still allow PipelineRuns to provide extra parameters.
If we disallow PipelineRuns from provides extra parameters, the Pipelines
would fail. As a result, systems that autogenerate PipelineRuns need to
lookat each pipeline to see what parameters they need so it can provide
only the required parameters. That means users would have to resort to
more complex designs to solve this issue, as further described in (tektoncd#2513).
By allowing PipelineRuns to provide extra parameters, we make the process
of autogenerating of PipelineRuns simpler.

Fixes tektoncd#2708.
jerop added a commit to jerop/pipeline that referenced this issue May 29, 2020
While working on allowing PipelineRuns to provide extra parameters (tektoncd#2513),
we found that providing extra parameters was unintentionally allowed. That's
because, currently, there's no validation that all parameters expected by
the Pipeline is provided by the PipelineRun.

In this PR, we add validation for PipelineRun parameters by generating a
list of provided parameters then iterating through the expected parameters
to ensure they are in the list of provided parameters.

In the validation, we still allow PipelineRuns to provide extra parameters.
If we disallow PipelineRuns from provides extra parameters, the Pipelines
would fail. As a result, systems that autogenerate PipelineRuns need to
lookat each pipeline to see what parameters they need so it can provide
only the required parameters. That means users would have to resort to
more complex designs to solve this issue, as further described in (tektoncd#2513).
By allowing PipelineRuns to provide extra parameters, we make the process
of autogenerating of PipelineRuns simpler.

Fixes tektoncd#2708.
jerop added a commit to jerop/pipeline that referenced this issue May 29, 2020
While working on allowing PipelineRuns to provide extra parameters (tektoncd#2513),
we found that providing extra parameters was unintentionally allowed. That's
because, currently, there's no validation that all parameters expected by
the Pipeline is provided by the PipelineRun.

In this PR, we add validation for PipelineRun parameters by generating a
list of provided parameters then iterating through the expected parameters
to ensure they are in the list of provided parameters.

In the validation, we still allow PipelineRuns to provide extra parameters.
If we disallow PipelineRuns from provides extra parameters, the Pipelines
would fail. As a result, systems that autogenerate PipelineRuns need to
lookat each pipeline to see what parameters they need so it can provide
only the required parameters. That means users would have to resort to
more complex designs to solve this issue, as further described in (tektoncd#2513).
By allowing PipelineRuns to provide extra parameters, we make the process
of autogenerating of PipelineRuns simpler.

Fixes tektoncd#2708.
jerop added a commit to jerop/pipeline that referenced this issue May 29, 2020
While working on allowing PipelineRuns to provide extra parameters (tektoncd#2513),
we found that providing extra parameters was unintentionally allowed. That's
because, currently, there's no validation that all parameters expected by
the Pipeline is provided by the PipelineRun.

In this PR, we add validation for PipelineRun parameters by generating a
list of provided parameters then iterating through the expected parameters
to ensure they are in the list of provided parameters.

In the validation, we still allow PipelineRuns to provide extra parameters.
If we disallow PipelineRuns from provides extra parameters, the Pipelines
would fail. As a result, systems that autogenerate PipelineRuns need to
lookat each pipeline to see what parameters they need so it can provide
only the required parameters. That means users would have to resort to
more complex designs to solve this issue, as further described in (tektoncd#2513).
By allowing PipelineRuns to provide extra parameters, we make the process
of autogenerating of PipelineRuns simpler.

Fixes tektoncd#2708.
jerop added a commit to jerop/pipeline that referenced this issue May 29, 2020
While working on allowing PipelineRuns to provide extra parameters (tektoncd#2513),
we found that providing extra parameters was unintentionally allowed. That's
because, currently, there's no validation that all parameters expected by
the Pipeline is provided by the PipelineRun.

In this PR, we add validation for PipelineRun parameters by generating a
list of provided parameters then iterating through the expected parameters
to ensure they are in the list of provided parameters.

In the validation, we still allow PipelineRuns to provide extra parameters.
If we disallow PipelineRuns from provides extra parameters, the Pipelines
would fail. As a result, systems that autogenerate PipelineRuns need to
lookat each pipeline to see what parameters they need so it can provide
only the required parameters. That means users would have to resort to
more complex designs to solve this issue, as further described in (tektoncd#2513).
By allowing PipelineRuns to provide extra parameters, we make the process
of autogenerating of PipelineRuns simpler.

Fixes tektoncd#2708.
jerop added a commit to jerop/pipeline that referenced this issue May 29, 2020
While working on allowing PipelineRuns to provide extra parameters (tektoncd#2513),
we found that providing extra parameters was unintentionally allowed. That's
because, currently, there's no validation that all parameters expected by
the Pipeline is provided by the PipelineRun.

In this PR, we add validation for PipelineRun parameters by generating a
list of provided parameters then iterating through the required parameters
to ensure they are in the list of provided parameters. Note that parameters
which have default values specified in Pipeline are not required.

In the validation, we still allow PipelineRuns to provide extra parameters.
If we disallow PipelineRuns from provides extra parameters, the Pipelines
would fail. As a result, systems that autogenerate PipelineRuns need to
lookat each pipeline to see what parameters they need so it can provide
only the required parameters. That means users would have to resort to
more complex designs to solve this issue, as further described in (tektoncd#2513).
By allowing PipelineRuns to provide extra parameters, we make the process
of autogenerating of PipelineRuns simpler.

Fixes tektoncd#2708.
jerop added a commit to jerop/pipeline that referenced this issue May 29, 2020
While working on allowing PipelineRuns to provide extra parameters (tektoncd#2513),
we found that providing extra parameters was unintentionally allowed. That's
because, currently, there's no validation that all parameters expected by
the Pipeline is provided by the PipelineRun.

In this PR, we add validation for PipelineRun parameters by generating a
list of provided parameters then iterating through the required parameters
to ensure they are in the list of provided parameters. Note that parameters
which have default values specified in Pipeline are not required.

In the validation, we still allow PipelineRuns to provide extra parameters.
If we disallow PipelineRuns from provides extra parameters, the Pipelines
would fail. As a result, systems that autogenerate PipelineRuns need to
lookat each pipeline to see what parameters they need so it can provide
only the required parameters. That means users would have to resort to
more complex designs to solve this issue, as further described in (tektoncd#2513).
By allowing PipelineRuns to provide extra parameters, we make the process
of autogenerating of PipelineRuns simpler.

Fixes tektoncd#2708.
jerop added a commit to jerop/pipeline that referenced this issue May 29, 2020
While working on allowing PipelineRuns to provide extra parameters (tektoncd#2513),
we found that providing extra parameters was unintentionally allowed. That's
because, currently, there's no validation that all parameters expected by
the Pipeline is provided by the PipelineRun.

In this PR, we add validation for PipelineRun parameters by generating a
list of provided parameters then iterating through the required parameters
to ensure they are in the list of provided parameters. Note that parameters
which have default values specified in Pipeline are not required.

In the validation, we still allow PipelineRuns to provide extra parameters.
If we disallow PipelineRuns from provides extra parameters, the Pipelines
would fail. As a result, systems that autogenerate PipelineRuns need to
lookat each pipeline to see what parameters they need so it can provide
only the required parameters. That means users would have to resort to
more complex designs to solve this issue, as further described in (tektoncd#2513).
By allowing PipelineRuns to provide extra parameters, we make the process
of autogenerating of PipelineRuns simpler.

Fixes tektoncd#2708.
jerop added a commit to jerop/pipeline that referenced this issue May 31, 2020
While working on allowing PipelineRuns to provide extra parameters (tektoncd#2513),
we found that providing extra parameters was unintentionally allowed. That's
because, currently, there's no validation that all parameters expected by
the Pipeline is provided by the PipelineRun.

In this PR, we add validation for PipelineRun parameters by generating a
list of provided parameters then iterating through the required parameters
to ensure they are in the list of provided parameters. Note that parameters
which have default values specified in Pipeline are not required.

In the validation, we still allow PipelineRuns to provide extra parameters.
If we disallow PipelineRuns from provides extra parameters, the Pipelines
would fail. As a result, systems that autogenerate PipelineRuns need to
lookat each pipeline to see what parameters they need so it can provide
only the required parameters. That means users would have to resort to
more complex designs to solve this issue, as further described in (tektoncd#2513).
By allowing PipelineRuns to provide extra parameters, we make the process
of autogenerating of PipelineRuns simpler.

Fixes tektoncd#2708.
jerop added a commit to jerop/pipeline that referenced this issue Jun 1, 2020
While working on allowing PipelineRuns to provide extra parameters (tektoncd#2513),
we found that providing extra parameters was unintentionally allowed. That's
because, currently, there's no validation that all parameters expected by
the Pipeline is provided by the PipelineRun.

In this PR, we add validation for PipelineRun parameters by generating a
list of provided parameters then iterating through the required parameters
to ensure they are in the list of provided parameters. Note that parameters
which have default values specified in Pipeline are not required.

In the validation, we still allow PipelineRuns to provide extra parameters.
If we disallow PipelineRuns from provides extra parameters, the Pipelines
would fail. As a result, systems that autogenerate PipelineRuns need to
lookat each pipeline to see what parameters they need so it can provide
only the required parameters. That means users would have to resort to
more complex designs to solve this issue, as further described in (tektoncd#2513).
By allowing PipelineRuns to provide extra parameters, we make the process
of autogenerating of PipelineRuns simpler.

Fixes tektoncd#2708.
jerop added a commit to jerop/pipeline that referenced this issue Jun 1, 2020
While working on allowing PipelineRuns to provide extra parameters (tektoncd#2513),
we found that providing extra parameters was unintentionally allowed. That's
because, currently, there's no validation that all parameters expected by
the Pipeline is provided by the PipelineRun.

In this PR, we add validation for PipelineRun parameters by generating a
list of provided parameters then iterating through the required parameters
to ensure they are in the list of provided parameters. Note that parameters
which have default values specified in Pipeline are not required.

In the validation, we still allow PipelineRuns to provide extra parameters.
If we disallow PipelineRuns from provides extra parameters, the Pipelines
would fail. As a result, systems that autogenerate PipelineRuns need to
lookat each pipeline to see what parameters they need so it can provide
only the required parameters. That means users would have to resort to
more complex designs to solve this issue, as further described in (tektoncd#2513).
By allowing PipelineRuns to provide extra parameters, we make the process
of autogenerating of PipelineRuns simpler.

Fixes tektoncd#2708.
jerop added a commit to jerop/pipeline that referenced this issue Jun 1, 2020
While working on allowing PipelineRuns to provide extra parameters (tektoncd#2513),
we found that providing extra parameters was unintentionally allowed. That's
because, currently, there's no validation that all parameters expected by
the Pipeline is provided by the PipelineRun.

In this PR, we add validation for PipelineRun parameters by generating a
list of provided parameters then iterating through the required parameters
to ensure they are in the list of provided parameters. Note that parameters
which have default values specified in Pipeline are not required.

In the validation, we still allow PipelineRuns to provide extra parameters.
If we disallow PipelineRuns from provides extra parameters, the Pipelines
would fail. As a result, systems that autogenerate PipelineRuns need to
lookat each pipeline to see what parameters they need so it can provide
only the required parameters. That means users would have to resort to
more complex designs to solve this issue, as further described in (tektoncd#2513).
By allowing PipelineRuns to provide extra parameters, we make the process
of autogenerating of PipelineRuns simpler.

Fixes tektoncd#2708.
jerop added a commit to jerop/pipeline that referenced this issue Jun 1, 2020
While working on allowing PipelineRuns to provide extra parameters (tektoncd#2513),
we found that providing extra parameters was unintentionally allowed. That's
because, currently, there's no validation that all parameters expected by
the Pipeline is provided by the PipelineRun.

In this PR, we add validation for PipelineRun parameters by generating a
list of provided parameters then iterating through the required parameters
to ensure they are in the list of provided parameters. Note that parameters
which have default values specified in Pipeline are not required.

In the validation, we still allow PipelineRuns to provide extra parameters.
If we disallow PipelineRuns from provides extra parameters, the Pipelines
would fail. As a result, systems that autogenerate PipelineRuns need to
lookat each pipeline to see what parameters they need so it can provide
only the required parameters. That means users would have to resort to
more complex designs to solve this issue, as further described in (tektoncd#2513).
By allowing PipelineRuns to provide extra parameters, we make the process
of autogenerating of PipelineRuns simpler.

Fixes tektoncd#2708.
jerop added a commit to jerop/pipeline that referenced this issue Jun 9, 2020
While working on allowing PipelineRuns to provide extra parameters (tektoncd#2513),
we found that providing extra parameters was unintentionally allowed. That's
because, currently, there's no validation that all parameters expected by
the Pipeline is provided by the PipelineRun.

In this PR, we add validation for PipelineRun parameters by generating a
list of provided parameters then iterating through the required parameters
to ensure they are in the list of provided parameters. Note that parameters
which have default values specified in Pipeline are not required.

In the validation, we still allow PipelineRuns to provide extra parameters.
If we disallow PipelineRuns from provides extra parameters, the Pipelines
would fail. As a result, systems that autogenerate PipelineRuns need to
lookat each pipeline to see what parameters they need so it can provide
only the required parameters. That means users would have to resort to
more complex designs to solve this issue, as further described in (tektoncd#2513).
By allowing PipelineRuns to provide extra parameters, we make the process
of autogenerating of PipelineRuns simpler.

Fixes tektoncd#2708.
jerop added a commit to jerop/pipeline that referenced this issue Jun 9, 2020
While working on allowing PipelineRuns to provide extra parameters (tektoncd#2513),
we found that providing extra parameters was unintentionally allowed. That's
because, currently, there's no validation that all parameters expected by
the Pipeline is provided by the PipelineRun.

In this PR, we add validation for PipelineRun parameters by generating a
list of provided parameters then iterating through the required parameters
to ensure they are in the list of provided parameters. Note that parameters
which have default values specified in Pipeline are not required.

In the validation, we still allow PipelineRuns to provide extra parameters.
If we disallow PipelineRuns from provides extra parameters, the Pipelines
would fail. As a result, systems that autogenerate PipelineRuns need to
lookat each pipeline to see what parameters they need so it can provide
only the required parameters. That means users would have to resort to
more complex designs to solve this issue, as further described in (tektoncd#2513).
By allowing PipelineRuns to provide extra parameters, we make the process
of autogenerating of PipelineRuns simpler.

Fixes tektoncd#2708.
jerop added a commit to jerop/pipeline that referenced this issue Jun 9, 2020
While working on allowing PipelineRuns to provide extra parameters (tektoncd#2513),
we found that providing extra parameters was unintentionally allowed. That's
because, currently, there's no validation that all parameters expected by
the Pipeline is provided by the PipelineRun.

In this PR, we add validation for PipelineRun parameters by generating a
list of provided parameters then iterating through the required parameters
to ensure they are in the list of provided parameters. Note that parameters
which have default values specified in Pipeline are not required.

In the validation, we still allow PipelineRuns to provide extra parameters.
If we disallow PipelineRuns from provides extra parameters, the Pipelines
would fail. As a result, systems that autogenerate PipelineRuns need to
lookat each pipeline to see what parameters they need so it can provide
only the required parameters. That means users would have to resort to
more complex designs to solve this issue, as further described in (tektoncd#2513).
By allowing PipelineRuns to provide extra parameters, we make the process
of autogenerating of PipelineRuns simpler.

Fixes tektoncd#2708.
jerop added a commit to jerop/pipeline that referenced this issue Jun 15, 2020
While working on allowing PipelineRuns to provide extra parameters (tektoncd#2513),
we found that providing extra parameters was unintentionally allowed. That's
because, currently, there's no validation that all parameters expected by
the Pipeline is provided by the PipelineRun.

In this PR, we add validation for PipelineRun parameters by generating a
list of provided parameters then iterating through the required parameters
to ensure they are in the list of provided parameters. Note that parameters
which have default values specified in Pipeline are not required.

In the validation, we still allow PipelineRuns to provide extra parameters.
If we disallow PipelineRuns from provides extra parameters, the Pipelines
would fail. As a result, systems that autogenerate PipelineRuns need to
lookat each pipeline to see what parameters they need so it can provide
only the required parameters. That means users would have to resort to
more complex designs to solve this issue, as further described in (tektoncd#2513).
By allowing PipelineRuns to provide extra parameters, we make the process
of autogenerating of PipelineRuns simpler.

Fixes tektoncd#2708.
tekton-robot pushed a commit that referenced this issue Jun 16, 2020
While working on allowing PipelineRuns to provide extra parameters (#2513),
we found that providing extra parameters was unintentionally allowed. That's
because, currently, there's no validation that all parameters expected by
the Pipeline is provided by the PipelineRun.

In this PR, we add validation for PipelineRun parameters by generating a
list of provided parameters then iterating through the required parameters
to ensure they are in the list of provided parameters. Note that parameters
which have default values specified in Pipeline are not required.

In the validation, we still allow PipelineRuns to provide extra parameters.
If we disallow PipelineRuns from provides extra parameters, the Pipelines
would fail. As a result, systems that autogenerate PipelineRuns need to
lookat each pipeline to see what parameters they need so it can provide
only the required parameters. That means users would have to resort to
more complex designs to solve this issue, as further described in (#2513).
By allowing PipelineRuns to provide extra parameters, we make the process
of autogenerating of PipelineRuns simpler.

Fixes #2708.
@tekton-robot
Copy link
Collaborator

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

/close

Send feedback to tektoncd/plumbing.

@tekton-robot
Copy link
Collaborator

@tekton-robot: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

/close

Send feedback to tektoncd/plumbing.

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.

@vdemeester
Copy link
Member

/remove-lifecycle rotten
/remove-lifecycle stale
/reopen

@tekton-robot tekton-robot reopened this Aug 17, 2020
@tekton-robot
Copy link
Collaborator

@vdemeester: Reopened this issue.

In response to this:

/remove-lifecycle rotten
/remove-lifecycle stale
/reopen

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 Author

Oh I think this is actually completed! Turns out there was NO validation at all XD in #2708 @jerop improved this so that we now check that AT LEAST the required params are provided, but the current state should be that you can provide extra

/assign jerop

@jerop
Copy link
Member

jerop commented Aug 17, 2020

Similarly, @bobcatfish does it make sense to allow TaskRuns to provide extra parameters?
We currently disallow TasksRuns from providing extra parameters -- can open a separate PR for it

@bobcatfish
Copy link
Collaborator Author

We currently disallow TasksRuns from providing extra parameters -- can open a separate PR for it

my personal feeling is to avoid adding that until someone has a compelling use case for it - maybe im wrong to draw a distinction between pipelineruns and taskruns but i feel like the use case we have, where a system is generating pipelineruns, is more likely than taskruns

@jerop
Copy link
Member

jerop commented Aug 17, 2020

my personal feeling is to avoid adding that until someone has a compelling use case for it - maybe im wrong to draw a distinction between pipelineruns and taskruns but i feel like the use case we have, where a system is generating pipelineruns, is more likely than taskruns

sounds good 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

4 participants