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

Refactor inline Task to referenced Task or ClusterTask #511

Closed
siamaksade opened this issue Feb 25, 2021 · 0 comments · Fixed by #546
Closed

Refactor inline Task to referenced Task or ClusterTask #511

siamaksade opened this issue Feb 25, 2021 · 0 comments · Fixed by #546
Assignees
Milestone

Comments

@siamaksade
Copy link

Pipelines can embed Task specifications instead of referencing them:
https://github.com/tektoncd/pipeline/blob/master/examples/v1beta1/pipelineruns/pipelinerun-with-pipelinespec-and-taskspec.yaml#L9

It would be useful to be able to refactor pipelines in order to turn an inline Task into a referenced Task or ClusterTask.

@siamaksade siamaksade added this to the 0.14.0 milestone Mar 18, 2021
@evidolob evidolob self-assigned this Apr 5, 2021
evidolob added a commit that referenced this issue Apr 6, 2021
Signed-off-by: Yevhen Vydolob <yvydolob@redhat.com>
evidolob added a commit that referenced this issue Apr 8, 2021
* #511 add 'Extract Task spec' CodeAction

Signed-off-by: Yevhen Vydolob <yvydolob@redhat.com>

* Set 'ignoreFocusOut' to true

Signed-off-by: Yevhen Vydolob <yvydolob@redhat.com>

* Fix task yaml generator

Signed-off-by: Yevhen Vydolob <yvydolob@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants