Skip to content

docs: add more explicit language in the Pipelines in Pipelines docs #8767

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

Merged

Conversation

aThorp96
Copy link
Contributor

Changes

Add more explicit language in the Pipelines in Pipelines docs to make it clear that the feature does not currently work, even with the alpha api fields enabled.

Submitter Checklist

As the author of this PR, please check off the items in this checklist:

  • Has Docs if any changes are user facing, including updates to minimum requirements e.g. Kubernetes version bumps
  • Has Tests included if any functionality added or changed
  • pre-commit Passed
  • Follows the commit message standard
  • Meets the Tekton contributor standards (including functionality, content, code)
  • Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
  • Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings). See some examples of good release notes.
  • Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes

NONE

@tekton-robot tekton-robot added the release-note-none Denotes a PR that doesnt merit a release note. label May 14, 2025
@tekton-robot tekton-robot requested review from dibyom and jerop May 14, 2025 05:53
@tekton-robot tekton-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label May 14, 2025
@aThorp96
Copy link
Contributor Author

/kind documentation

@tekton-robot tekton-robot added the kind/documentation Categorizes issue or PR as related to documentation. label May 14, 2025
@aThorp96
Copy link
Contributor Author

CC @vdemeester

Copy link
Member

@vdemeester vdemeester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 14, 2025
@aThorp96
Copy link
Contributor Author

As a side note, @vdemeester we should probably modify the build, unit tests, and e2e test CI to only run if there are code changes...

@waveywaves
Copy link
Member

@aThorp96 that sounds good, let's do it. I agree that for documentation checks we don't need the builds and all running.

@waveywaves
Copy link
Member

waveywaves commented May 19, 2025

@waveywaves
Copy link
Member

/approve cancel

Copy link
Member

@waveywaves waveywaves left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need to update the documentation for this in the additional configs instead ?

> :seedling: **Pipelines in Pipelines is an [alpha](additional-configs.md#alpha-features) feature.**
> The `enable-api-fields` feature flag must be set to `"alpha"` to specify `pipelineRef` or `pipelineSpec` in a `pipelineTask`.
> This feature is in Preview Only mode and not yet supported/implemented.
> :seedling: **Pipelines in Pipelines not yet [alpha](additional-configs.md#alpha-features) feature.**
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aThorp96 not sure if this is right, the PR that I mentioned earlier shows that pipelines in pipelines is an alpha feature, I see that you can reference a PIpeline in a Pipeline, this is the validation code with the Alpha API feature flag check https://github.com/tektoncd/pipeline/pull/7055/files#diff-78ff878240189b20e0ef82f2912c93c0b3c7b445865e04fa9b98aab851be6130R252-R283

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The API was extended to accept the schema, but it has no effect. This is also not currently listed under the list of alpha features. Both "Preview Only" and "alpha" to me implied that the logic and API is not stabilized yet, but I'm not sure if there are any formal definitions of what qualifies a feature as alpha in Tekton.

I want to make sure it's clear to users "you can reference a pipeline from a pipeline and there will be no error but literally nothing will happen", but I'm happy to reword my suggestion to better reflect the feature state if there's a more accurate stage. Maybe pre-alpha? Do you have any suggestion?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok that clarifies it for me as well, I think then it's ok to go with your changes. Think we are good for now.

cc @twoGiants

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think its properly worded. I checked it out couple of days ago.

I am working on this feature and we will have something workable soon 🤞 😸 .

@waveywaves
Copy link
Member

waveywaves commented May 21, 2025

update: this feature (pipelines in pipelines) is pre alpha as mentioned by Andrew in the previous comment as we only have a schema currently, not the implementation. I think it makes sense for this doc change to go through. Makes things clearer about pipelines in pipelines state of dev.

cc @vdemeester

@tekton-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: twoGiants, vdemeester

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

@waveywaves
Copy link
Member

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label May 21, 2025
@tekton-robot tekton-robot merged commit 897b497 into tektoncd:main May 21, 2025
18 checks passed
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. kind/documentation Categorizes issue or PR as related to documentation. lgtm Indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesnt merit a release note. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

5 participants