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

kind/feat: passing artifacts between tasks #7978

Merged

Conversation

ericzzzzzzz
Copy link
Contributor

@ericzzzzzzz ericzzzzzzz commented May 23, 2024

fixes: #7870

Changes

  • Support passing artifacts between tasks as described in this tep

  • Task author can write task artifacts to $(artifacts.path)

  • Tasks can consume artifacts from another tasks with similar syntax introduced for step Artifacts

    • Specific Artifact: $(tasks.<task-name>.outputs.<artifacts-category-name>), , $(tasks.<task-name>.inputs.<artifacts-category-name>)
  • Note that both stepArtifacts which are written to $(step.artifacts.path) and task artifacts which are written to $(artifacts.path) are aggregated into TaskRun.Status.Artifacts with deduplication.

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

Support passing artifacts between tasks in a pipeline

@tekton-robot
Copy link
Collaborator

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@tekton-robot tekton-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. kind/feature Categorizes issue or PR as related to a new feature. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels May 23, 2024
@tekton-robot
Copy link
Collaborator

The following is the coverage report on the affected files.
Say /test pull-tekton-pipeline-go-coverage-df to re-run this coverage report

File Old Coverage New Coverage Delta
pkg/apis/pipeline/v1/artifact_types.go Do not exist 0.0%
pkg/apis/pipeline/v1/pipeline_validation.go 99.2% 98.5% -0.7
pkg/apis/pipeline/v1/task_validation.go 98.6% 98.6% 0.0
pkg/apis/pipeline/v1beta1/pipeline_validation.go 99.0% 98.3% -0.7
pkg/apis/pipeline/v1beta1/task_validation.go 98.6% 98.6% 0.0
pkg/entrypoint/entrypointer.go 86.8% 86.8% -0.0
pkg/pod/status.go 93.6% 92.0% -1.6
pkg/reconciler/pipelinerun/pipelinerun.go 91.8% 91.6% -0.2
pkg/reconciler/pipelinerun/resources/apply.go 97.9% 91.3% -6.5
pkg/reconciler/pipelinerun/resources/pipelinerunstate.go 99.6% 94.3% -5.3
pkg/reconciler/taskrun/resources/apply.go 99.5% 99.5% 0.0

@ericzzzzzzz ericzzzzzzz marked this pull request as ready for review May 24, 2024 14:10
@tekton-robot tekton-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label May 24, 2024
@tekton-robot
Copy link
Collaborator

The following is the coverage report on the affected files.
Say /test pull-tekton-pipeline-go-coverage to re-run this coverage report

File Old Coverage New Coverage Delta
pkg/apis/pipeline/v1/artifact_types.go Do not exist 0.0%
pkg/apis/pipeline/v1/pipeline_validation.go 99.2% 98.5% -0.7
pkg/apis/pipeline/v1/task_validation.go 98.6% 98.6% 0.0
pkg/apis/pipeline/v1beta1/pipeline_validation.go 99.0% 98.3% -0.7
pkg/apis/pipeline/v1beta1/task_validation.go 98.6% 98.6% 0.0
pkg/entrypoint/entrypointer.go 86.8% 86.8% -0.0
pkg/pod/status.go 93.6% 92.0% -1.6
pkg/reconciler/pipelinerun/pipelinerun.go 91.8% 91.6% -0.2
pkg/reconciler/pipelinerun/resources/apply.go 97.9% 91.3% -6.5
pkg/reconciler/pipelinerun/resources/pipelinerunstate.go 99.6% 94.3% -5.3
pkg/reconciler/taskrun/resources/apply.go 99.5% 99.5% 0.0

@tekton-robot tekton-robot added needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels May 24, 2024
@ericzzzzzzz ericzzzzzzz force-pushed the passing-artifacts-between-tasks branch from 00599d0 to cd0b12d Compare May 24, 2024 15:37
@tekton-robot tekton-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label May 24, 2024
@tekton-robot
Copy link
Collaborator

The following is the coverage report on the affected files.
Say /test pull-tekton-pipeline-go-coverage to re-run this coverage report

File Old Coverage New Coverage Delta
pkg/apis/pipeline/v1/artifact_types.go Do not exist 0.0%
pkg/apis/pipeline/v1/pipeline_validation.go 99.2% 99.3% 0.0
pkg/apis/pipeline/v1/task_validation.go 98.6% 98.6% 0.0
pkg/apis/pipeline/v1beta1/pipeline_validation.go 99.0% 99.0% 0.0
pkg/apis/pipeline/v1beta1/task_validation.go 98.6% 98.6% 0.0
pkg/entrypoint/entrypointer.go 86.8% 86.8% -0.0
pkg/pod/status.go 93.6% 92.0% -1.6
pkg/reconciler/pipelinerun/pipelinerun.go 91.8% 91.6% -0.2
pkg/reconciler/pipelinerun/resources/apply.go 97.9% 91.3% -6.5
pkg/reconciler/pipelinerun/resources/pipelinerunstate.go 99.6% 94.3% -5.3
pkg/reconciler/taskrun/resources/apply.go 99.5% 99.5% 0.0

@tekton-robot
Copy link
Collaborator

The following is the coverage report on the affected files.
Say /test pull-tekton-pipeline-go-coverage-df to re-run this coverage report

File Old Coverage New Coverage Delta
pkg/apis/pipeline/v1/artifact_types.go Do not exist 0.0%
pkg/apis/pipeline/v1/pipeline_validation.go 99.2% 99.3% 0.0
pkg/apis/pipeline/v1/task_validation.go 98.6% 98.6% 0.0
pkg/apis/pipeline/v1beta1/pipeline_validation.go 99.0% 99.0% 0.0
pkg/apis/pipeline/v1beta1/task_validation.go 98.6% 98.6% 0.0
pkg/entrypoint/entrypointer.go 86.8% 86.8% -0.0
pkg/pod/status.go 93.6% 92.0% -1.6
pkg/reconciler/pipelinerun/pipelinerun.go 91.8% 91.6% -0.2
pkg/reconciler/pipelinerun/resources/apply.go 97.9% 91.3% -6.5
pkg/reconciler/pipelinerun/resources/pipelinerunstate.go 99.6% 94.3% -5.3
pkg/reconciler/taskrun/resources/apply.go 99.5% 99.5% 0.0

@tekton-robot
Copy link
Collaborator

The following is the coverage report on the affected files.
Say /test pull-tekton-pipeline-go-coverage to re-run this coverage report

File Old Coverage New Coverage Delta
internal/sidecarlogresults/sidecarlogresults.go 87.9% 88.0% 0.1
pkg/apis/pipeline/v1/artifact_types.go Do not exist 0.0%
pkg/apis/pipeline/v1/pipeline_validation.go 99.2% 99.3% 0.0
pkg/apis/pipeline/v1/task_validation.go 98.6% 98.6% 0.0
pkg/apis/pipeline/v1beta1/pipeline_validation.go 99.0% 99.0% 0.0
pkg/apis/pipeline/v1beta1/task_validation.go 98.6% 98.6% 0.0
pkg/entrypoint/entrypointer.go 86.8% 86.8% -0.0
pkg/pod/status.go 93.6% 92.2% -1.4
pkg/reconciler/pipelinerun/pipelinerun.go 91.8% 91.6% -0.2
pkg/reconciler/pipelinerun/resources/apply.go 97.9% 91.3% -6.5
pkg/reconciler/pipelinerun/resources/pipelinerunstate.go 99.6% 94.3% -5.3
pkg/reconciler/taskrun/resources/apply.go 99.5% 99.5% 0.0
pkg/result/result.go 87.5% 82.4% -5.1

@ericzzzzzzz ericzzzzzzz marked this pull request as draft May 24, 2024 17:29
@tekton-robot tekton-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label May 24, 2024
@tekton-robot
Copy link
Collaborator

The following is the coverage report on the affected files.
Say /test pull-tekton-pipeline-go-coverage-df to re-run this coverage report

File Old Coverage New Coverage Delta
internal/sidecarlogresults/sidecarlogresults.go 87.9% 88.0% 0.1
pkg/apis/pipeline/v1/artifact_types.go Do not exist 0.0%
pkg/apis/pipeline/v1/pipeline_validation.go 99.2% 99.3% 0.0
pkg/apis/pipeline/v1/task_validation.go 98.6% 98.6% 0.0
pkg/apis/pipeline/v1beta1/pipeline_validation.go 99.0% 99.0% 0.0
pkg/apis/pipeline/v1beta1/task_validation.go 98.6% 98.6% 0.0
pkg/entrypoint/entrypointer.go 86.8% 86.8% -0.0
pkg/pod/status.go 93.6% 92.2% -1.4
pkg/reconciler/pipelinerun/pipelinerun.go 91.8% 91.6% -0.2
pkg/reconciler/pipelinerun/resources/apply.go 97.9% 91.3% -6.5
pkg/reconciler/pipelinerun/resources/pipelinerunstate.go 99.6% 94.3% -5.3
pkg/reconciler/taskrun/resources/apply.go 99.5% 99.5% 0.0
pkg/result/result.go 87.5% 82.4% -5.1

@tekton-robot
Copy link
Collaborator

The following is the coverage report on the affected files.
Say /test pull-tekton-pipeline-go-coverage to re-run this coverage report

File Old Coverage New Coverage Delta
internal/sidecarlogresults/sidecarlogresults.go 87.9% 88.0% 0.1
pkg/apis/pipeline/v1/artifact_types.go Do not exist 0.0%
pkg/apis/pipeline/v1/pipeline_validation.go 99.2% 99.3% 0.0
pkg/apis/pipeline/v1/task_validation.go 98.6% 98.6% 0.0
pkg/apis/pipeline/v1beta1/pipeline_validation.go 99.0% 99.0% 0.0
pkg/apis/pipeline/v1beta1/task_validation.go 98.6% 98.6% 0.0
pkg/entrypoint/entrypointer.go 86.8% 86.8% -0.0
pkg/pod/status.go 93.6% 92.2% -1.4
pkg/reconciler/pipelinerun/pipelinerun.go 91.8% 91.6% -0.2
pkg/reconciler/pipelinerun/resources/apply.go 97.9% 92.0% -5.9
pkg/reconciler/pipelinerun/resources/pipelinerunstate.go 99.6% 94.3% -5.3
pkg/reconciler/taskrun/resources/apply.go 99.5% 99.5% 0.0
pkg/result/result.go 87.5% 82.4% -5.1

@tekton-robot
Copy link
Collaborator

The following is the coverage report on the affected files.
Say /test pull-tekton-pipeline-go-coverage-df to re-run this coverage report

File Old Coverage New Coverage Delta
internal/sidecarlogresults/sidecarlogresults.go 87.9% 88.0% 0.1
pkg/apis/pipeline/v1/artifact_types.go Do not exist 0.0%
pkg/apis/pipeline/v1/pipeline_validation.go 99.2% 99.3% 0.0
pkg/apis/pipeline/v1/task_validation.go 98.6% 98.6% 0.0
pkg/apis/pipeline/v1beta1/pipeline_validation.go 99.0% 99.0% 0.0
pkg/apis/pipeline/v1beta1/task_validation.go 98.6% 98.6% 0.0
pkg/entrypoint/entrypointer.go 86.8% 86.8% -0.0
pkg/pod/status.go 93.6% 92.2% -1.4
pkg/reconciler/pipelinerun/pipelinerun.go 91.8% 91.6% -0.2
pkg/reconciler/pipelinerun/resources/apply.go 97.9% 92.0% -5.9
pkg/reconciler/pipelinerun/resources/pipelinerunstate.go 99.6% 94.3% -5.3
pkg/reconciler/taskrun/resources/apply.go 99.5% 99.5% 0.0
pkg/result/result.go 87.5% 82.4% -5.1

@tekton-robot
Copy link
Collaborator

The following is the coverage report on the affected files.
Say /test pull-tekton-pipeline-go-coverage-df to re-run this coverage report

File Old Coverage New Coverage Delta
internal/sidecarlogresults/sidecarlogresults.go 87.9% 88.0% 0.1
pkg/apis/pipeline/v1/artifact_types.go Do not exist 0.0%
pkg/apis/pipeline/v1/pipeline_validation.go 99.2% 99.3% 0.0
pkg/apis/pipeline/v1/task_validation.go 98.6% 98.6% 0.0
pkg/apis/pipeline/v1beta1/pipeline_validation.go 99.0% 99.0% 0.0
pkg/apis/pipeline/v1beta1/task_validation.go 98.6% 98.6% 0.0
pkg/entrypoint/entrypointer.go 86.8% 86.8% -0.0
pkg/pod/status.go 93.6% 92.2% -1.4
pkg/reconciler/pipelinerun/pipelinerun.go 91.8% 91.6% -0.2
pkg/reconciler/pipelinerun/resources/apply.go 97.9% 95.7% -2.2
pkg/reconciler/pipelinerun/resources/pipelinerunstate.go 99.6% 97.0% -2.6
pkg/reconciler/taskrun/resources/apply.go 99.5% 99.5% 0.0
pkg/result/result.go 87.5% 82.4% -5.1

@tekton-robot
Copy link
Collaborator

The following is the coverage report on the affected files.
Say /test pull-tekton-pipeline-go-coverage-df to re-run this coverage report

File Old Coverage New Coverage Delta
internal/sidecarlogresults/sidecarlogresults.go 87.9% 88.0% 0.1
pkg/apis/pipeline/v1/artifact_types.go Do not exist 0.0%
pkg/apis/pipeline/v1/pipeline_validation.go 99.2% 99.3% 0.0
pkg/apis/pipeline/v1/task_validation.go 98.6% 98.6% 0.0
pkg/apis/pipeline/v1beta1/pipeline_validation.go 99.0% 99.0% 0.0
pkg/apis/pipeline/v1beta1/task_validation.go 98.6% 98.6% 0.0
pkg/entrypoint/entrypointer.go 86.8% 86.8% -0.0
pkg/pod/status.go 93.6% 92.2% -1.4
pkg/reconciler/pipelinerun/pipelinerun.go 91.8% 91.6% -0.2
pkg/reconciler/pipelinerun/resources/apply.go 97.9% 97.3% -0.5
pkg/reconciler/pipelinerun/resources/pipelinerunstate.go 99.6% 97.0% -2.6
pkg/reconciler/taskrun/resources/apply.go 99.5% 99.5% 0.0
pkg/result/result.go 87.5% 88.2% 0.7

@tekton-robot tekton-robot removed the size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. label May 24, 2024
@tekton-robot
Copy link
Collaborator

The following is the coverage report on the affected files.
Say /test pull-tekton-pipeline-go-coverage to re-run this coverage report

File Old Coverage New Coverage Delta
internal/sidecarlogresults/sidecarlogresults.go 87.6% 87.7% 0.1
pkg/apis/pipeline/v1/artifact_types.go Do not exist 94.7%
pkg/apis/pipeline/v1/pipeline_validation.go 99.2% 99.3% 0.0
pkg/apis/pipeline/v1/task_validation.go 98.6% 98.6% 0.0
pkg/apis/pipeline/v1beta1/pipeline_validation.go 99.0% 99.0% 0.0
pkg/apis/pipeline/v1beta1/task_validation.go 98.6% 98.6% 0.0
pkg/entrypoint/entrypointer.go 86.8% 86.6% -0.2
pkg/pod/status.go 93.8% 92.2% -1.6
pkg/reconciler/pipelinerun/pipelinerun.go 91.8% 91.6% -0.2
pkg/reconciler/pipelinerun/resources/apply.go 97.9% 97.3% -0.5
pkg/reconciler/pipelinerun/resources/pipelinerunstate.go 99.6% 99.6% 0.0
pkg/reconciler/taskrun/resources/apply.go 99.5% 99.5% 0.0
pkg/result/result.go 87.5% 88.2% 0.7

@ericzzzzzzz ericzzzzzzz force-pushed the passing-artifacts-between-tasks branch from 46419a7 to 34c3828 Compare June 19, 2024 16:55
@tekton-robot
Copy link
Collaborator

The following is the coverage report on the affected files.
Say /test pull-tekton-pipeline-go-coverage-df to re-run this coverage report

File Old Coverage New Coverage Delta
internal/sidecarlogresults/sidecarlogresults.go 87.6% 87.7% 0.1
pkg/apis/pipeline/v1/artifact_types.go Do not exist 94.7%
pkg/apis/pipeline/v1/pipeline_validation.go 99.2% 99.3% 0.0
pkg/apis/pipeline/v1/task_validation.go 98.6% 98.6% 0.0
pkg/apis/pipeline/v1beta1/pipeline_validation.go 99.0% 99.0% 0.0
pkg/apis/pipeline/v1beta1/task_validation.go 98.6% 98.6% 0.0
pkg/entrypoint/entrypointer.go 86.8% 86.6% -0.2
pkg/pod/status.go 93.8% 92.2% -1.6
pkg/reconciler/pipelinerun/pipelinerun.go 91.8% 91.6% -0.2
pkg/reconciler/pipelinerun/resources/apply.go 97.9% 97.3% -0.5
pkg/reconciler/pipelinerun/resources/pipelinerunstate.go 99.6% 99.6% 0.0
pkg/reconciler/taskrun/resources/apply.go 99.5% 99.5% 0.0
pkg/result/result.go 87.5% 88.2% 0.7

@tekton-robot
Copy link
Collaborator

The following is the coverage report on the affected files.
Say /test pull-tekton-pipeline-go-coverage to re-run this coverage report

File Old Coverage New Coverage Delta
internal/sidecarlogresults/sidecarlogresults.go 87.6% 87.7% 0.1
pkg/apis/pipeline/v1/artifact_types.go Do not exist 94.7%
pkg/apis/pipeline/v1/pipeline_validation.go 99.2% 99.3% 0.0
pkg/apis/pipeline/v1/task_validation.go 98.6% 98.6% 0.0
pkg/apis/pipeline/v1beta1/pipeline_validation.go 99.0% 99.0% 0.0
pkg/apis/pipeline/v1beta1/task_validation.go 98.6% 98.6% 0.0
pkg/entrypoint/entrypointer.go 86.8% 86.6% -0.2
pkg/pod/status.go 93.8% 92.2% -1.6
pkg/reconciler/pipelinerun/pipelinerun.go 91.8% 91.6% -0.2
pkg/reconciler/pipelinerun/resources/apply.go 97.9% 97.3% -0.5
pkg/reconciler/pipelinerun/resources/pipelinerunstate.go 99.6% 99.6% 0.0
pkg/reconciler/taskrun/resources/apply.go 99.5% 99.5% 0.0
pkg/result/result.go 87.5% 88.2% 0.7

@ericzzzzzzz
Copy link
Contributor Author

Hi @vdemeester , I removed the syntax to get default artifact, please take a look when you have time. Thanks

@chitrangpatel
Copy link
Contributor

Hi @vdemeester , I removed the syntax to get default artifact, please take a look when you have time. Thanks

Just a ping @vdemeester when you have a chance. Thanks!

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.

cc @lcarva

for _, vv := range v.Values {
exists := false
for _, av := range outputMap[v.Name] {
if cmp.Equal(vv, av) {
Copy link
Member

Choose a reason for hiding this comment

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

Any reason to use cmp.Equal here ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

vv, av are instances of ArtifactValue struct, this struct contains a map, we so cannot use == operator to compare them, that's why cmp.Equal is used here.

type ArtifactValue struct {
	Digest map[Algorithm]string `json:"digest,omitempty"` // Algorithm-specific digests for verifying the content (e.g., SHA256)
	Uri    string               `json:"uri,omitempty"`    // Location where the artifact value can be retrieved
}

if e.ArtifactsDirectory != "" {
artifactsDir = e.ArtifactsDirectory
}
fp = filepath.Join(artifactsDir, "provenance.json")
Copy link
Member

Choose a reason for hiding this comment

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

We might want to make this an exported constant at least. Also, naive question, why the name provenance.json ?

Copy link
Contributor

Choose a reason for hiding this comment

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

agreed about exported const.
provenance.json because it contains information about the location of the artifacts (i.e. Uri and digest). We can certainly change the name to something else. We thought that it was accurate.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

To make fp a constant value, it would require artifactsDir to be a constant first, but it needs to be a variable as we need to overwrite this value for test purpose. This is the same pattern used for resultDir

resultPath := pipeline.DefaultResultPath
if e.ResultsDirectory != "" {
resultPath = e.ResultsDirectory
}
if err := e.readResultsFromDisk(ctx, resultPath, result.TaskRunResultType); err != nil {
logger.Fatalf("Error while handling results: %s", err)
}

@ericzzzzzzz ericzzzzzzz force-pushed the passing-artifacts-between-tasks branch from 34c3828 to 6ff6e9b Compare July 3, 2024 14:53
@tekton-robot
Copy link
Collaborator

The following is the coverage report on the affected files.
Say /test pull-tekton-pipeline-go-coverage-df to re-run this coverage report

File Old Coverage New Coverage Delta
internal/sidecarlogresults/sidecarlogresults.go 87.6% 87.7% 0.1
pkg/apis/pipeline/v1/artifact_types.go Do not exist 94.7%
pkg/apis/pipeline/v1/pipeline_validation.go 99.2% 99.3% 0.0
pkg/apis/pipeline/v1/task_validation.go 98.6% 98.6% -0.0
pkg/apis/pipeline/v1beta1/pipeline_validation.go 99.0% 99.0% 0.0
pkg/apis/pipeline/v1beta1/task_validation.go 98.6% 98.6% -0.0
pkg/entrypoint/entrypointer.go 88.2% 88.0% -0.2
pkg/pod/status.go 93.8% 92.2% -1.6
pkg/reconciler/pipelinerun/pipelinerun.go 91.9% 91.7% -0.2
pkg/reconciler/pipelinerun/resources/apply.go 97.9% 97.3% -0.5
pkg/reconciler/pipelinerun/resources/pipelinerunstate.go 99.6% 99.6% 0.0
pkg/reconciler/taskrun/resources/apply.go 99.5% 99.5% 0.0
pkg/result/result.go 87.5% 88.2% 0.7

@tekton-robot
Copy link
Collaborator

The following is the coverage report on the affected files.
Say /test pull-tekton-pipeline-go-coverage to re-run this coverage report

File Old Coverage New Coverage Delta
internal/sidecarlogresults/sidecarlogresults.go 87.6% 87.7% 0.1
pkg/apis/pipeline/v1/artifact_types.go Do not exist 94.7%
pkg/apis/pipeline/v1/pipeline_validation.go 99.2% 99.3% 0.0
pkg/apis/pipeline/v1/task_validation.go 98.6% 98.6% -0.0
pkg/apis/pipeline/v1beta1/pipeline_validation.go 99.0% 99.0% 0.0
pkg/apis/pipeline/v1beta1/task_validation.go 98.6% 98.6% -0.0
pkg/entrypoint/entrypointer.go 88.2% 88.0% -0.2
pkg/pod/status.go 93.8% 92.2% -1.6
pkg/reconciler/pipelinerun/pipelinerun.go 91.9% 91.7% -0.2
pkg/reconciler/pipelinerun/resources/apply.go 97.9% 97.3% -0.5
pkg/reconciler/pipelinerun/resources/pipelinerunstate.go 99.6% 99.6% 0.0
pkg/reconciler/taskrun/resources/apply.go 99.5% 99.5% 0.0
pkg/result/result.go 87.5% 88.2% 0.7

@ericzzzzzzz ericzzzzzzz force-pushed the passing-artifacts-between-tasks branch from 6ff6e9b to d2b4341 Compare July 3, 2024 15:16
@tekton-robot
Copy link
Collaborator

The following is the coverage report on the affected files.
Say /test pull-tekton-pipeline-go-coverage to re-run this coverage report

File Old Coverage New Coverage Delta
internal/sidecarlogresults/sidecarlogresults.go 87.6% 87.7% 0.1
pkg/apis/pipeline/v1/artifact_types.go Do not exist 94.7%
pkg/apis/pipeline/v1/pipeline_validation.go 99.2% 99.3% 0.0
pkg/apis/pipeline/v1/task_validation.go 98.6% 98.6% 0.0
pkg/apis/pipeline/v1beta1/pipeline_validation.go 99.0% 99.0% 0.0
pkg/apis/pipeline/v1beta1/task_validation.go 98.6% 98.6% 0.0
pkg/entrypoint/entrypointer.go 88.2% 88.0% -0.2
pkg/pod/status.go 93.8% 92.2% -1.6
pkg/reconciler/pipelinerun/pipelinerun.go 91.9% 91.7% -0.2
pkg/reconciler/pipelinerun/resources/apply.go 97.9% 97.3% -0.5
pkg/reconciler/pipelinerun/resources/pipelinerunstate.go 99.6% 99.6% 0.0
pkg/reconciler/taskrun/resources/apply.go 99.5% 99.5% 0.0
pkg/result/result.go 87.5% 88.2% 0.7

@tekton-robot
Copy link
Collaborator

The following is the coverage report on the affected files.
Say /test pull-tekton-pipeline-go-coverage-df to re-run this coverage report

File Old Coverage New Coverage Delta
internal/sidecarlogresults/sidecarlogresults.go 87.6% 87.7% 0.1
pkg/apis/pipeline/v1/artifact_types.go Do not exist 94.7%
pkg/apis/pipeline/v1/pipeline_validation.go 99.2% 99.3% 0.0
pkg/apis/pipeline/v1/task_validation.go 98.6% 98.6% 0.0
pkg/apis/pipeline/v1beta1/pipeline_validation.go 99.0% 99.0% 0.0
pkg/apis/pipeline/v1beta1/task_validation.go 98.6% 98.6% 0.0
pkg/entrypoint/entrypointer.go 88.2% 88.0% -0.2
pkg/pod/status.go 93.8% 92.2% -1.6
pkg/reconciler/pipelinerun/pipelinerun.go 91.9% 91.7% -0.2
pkg/reconciler/pipelinerun/resources/apply.go 97.9% 97.3% -0.5
pkg/reconciler/pipelinerun/resources/pipelinerunstate.go 99.6% 99.6% 0.0
pkg/reconciler/taskrun/resources/apply.go 99.5% 99.5% 0.0
pkg/result/result.go 87.5% 88.2% 0.7

@ericzzzzzzz
Copy link
Contributor Author

/retest

@chitrangpatel
Copy link
Contributor

/approve

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 4, 2024
@tekton-robot tekton-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jul 5, 2024
@tekton-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: chitrangpatel, 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:
  • OWNERS [chitrangpatel,vdemeester]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ericzzzzzzz ericzzzzzzz force-pushed the passing-artifacts-between-tasks branch from d2b4341 to 1e5fb7f Compare July 5, 2024 14:38
@tekton-robot tekton-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jul 5, 2024
@tekton-robot
Copy link
Collaborator

The following is the coverage report on the affected files.
Say /test pull-tekton-pipeline-go-coverage to re-run this coverage report

File Old Coverage New Coverage Delta
internal/sidecarlogresults/sidecarlogresults.go 87.6% 87.7% 0.1
pkg/apis/pipeline/v1/artifact_types.go Do not exist 94.7%
pkg/apis/pipeline/v1/pipeline_validation.go 99.2% 99.3% 0.0
pkg/apis/pipeline/v1/task_validation.go 98.6% 98.6% 0.0
pkg/apis/pipeline/v1beta1/pipeline_validation.go 99.0% 99.0% 0.0
pkg/apis/pipeline/v1beta1/task_validation.go 98.6% 98.6% 0.0
pkg/entrypoint/entrypointer.go 88.2% 88.0% -0.2
pkg/pod/status.go 93.8% 92.2% -1.6
pkg/reconciler/pipelinerun/pipelinerun.go 91.9% 91.7% -0.2
pkg/reconciler/pipelinerun/resources/apply.go 97.9% 97.3% -0.5
pkg/reconciler/pipelinerun/resources/pipelinerunstate.go 99.6% 99.6% 0.0
pkg/reconciler/taskrun/resources/apply.go 99.5% 99.5% 0.0
pkg/result/result.go 87.5% 88.2% 0.7

@tekton-robot
Copy link
Collaborator

The following is the coverage report on the affected files.
Say /test pull-tekton-pipeline-go-coverage-df to re-run this coverage report

File Old Coverage New Coverage Delta
internal/sidecarlogresults/sidecarlogresults.go 87.6% 87.7% 0.1
pkg/apis/pipeline/v1/artifact_types.go Do not exist 94.7%
pkg/apis/pipeline/v1/pipeline_validation.go 99.2% 99.3% 0.0
pkg/apis/pipeline/v1/task_validation.go 98.6% 98.6% 0.0
pkg/apis/pipeline/v1beta1/pipeline_validation.go 99.0% 99.0% 0.0
pkg/apis/pipeline/v1beta1/task_validation.go 98.6% 98.6% 0.0
pkg/entrypoint/entrypointer.go 88.2% 88.0% -0.2
pkg/pod/status.go 93.8% 92.2% -1.6
pkg/reconciler/pipelinerun/pipelinerun.go 91.9% 91.7% -0.2
pkg/reconciler/pipelinerun/resources/apply.go 97.9% 97.3% -0.5
pkg/reconciler/pipelinerun/resources/pipelinerunstate.go 99.6% 99.6% 0.0
pkg/reconciler/taskrun/resources/apply.go 99.5% 99.5% 0.0
pkg/result/result.go 87.5% 88.2% 0.7

@chitrangpatel
Copy link
Contributor

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Jul 5, 2024
@chitrangpatel
Copy link
Contributor

/retest

@tekton-robot tekton-robot merged commit d345e99 into tektoncd:main Jul 5, 2024
13 of 14 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/feature Categorizes issue or PR as related to a new feature. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TEP-0147 passing artifacts between tasks
4 participants