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

Smarter Chains: check taskrun level results for Subjects #866

Merged
merged 1 commit into from
Aug 10, 2023

Commits on Aug 10, 2023

  1. Smarter Chains: check taskrun level results for Subjects

    Step 1/2 of tektoncd#850
    
    Prior, Chains only looks for pipeline results to understand what
    artifacts were generated in a pipeline. That means pipeline authors need
    to propagate child TaskRun results to pipeline level and name the pipeline
    results in type hinting way even though the pulled tasks already produce
    type hinting results.
    
    Now, we introduced a new configmap field `artifacts.pipelinerun.enable-deep-inspection`
    to allow Chains to inspect both pipeline results and child task results
    to understand what artifacts were generated throughout a pipeline.
    
    This way, pipeline authors no longer need to worry about the rules when
    writting a pipeline as long as they pull in right tasks that produce type hinting results.
    That said, users still have ability to propagate task results to pipeline
    level if the tasks they referenced do not produce type hinting results.
    
    Signed-off-by: Chuang Wang <[email protected]>
    chuangw6 committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    4b8acd4 View commit details
    Browse the repository at this point in the history