pipeline icon indicating copy to clipboard operation
pipeline copied to clipboard

fix:Refactored Steps and Sidecars to container_validation #7454

Open Dhruval7878 opened this issue 1 year ago • 11 comments

/kind cleanup fixes #7442

Changes

Moved validateSidecars and validateStep functions to container_validation

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
  • [x] Follows the commit message standard
  • [x] Meets the Tekton contributor standards (including functionality, content, code)
  • [x] 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.
  • [x] Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes

NONE

Dhruval7878 avatar Dec 28 '23 20:12 Dhruval7878

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: To complete the pull request process, please assign jerop after the PR has been reviewed. You can assign the PR to them by writing /assign @jerop in a comment when ready.

The full list of commands accepted by this bot can be found 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

tekton-robot avatar Dec 28 '23 20:12 tekton-robot

Hi @Dhruval7878. Thanks for your PR.

I'm waiting for a tektoncd member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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.

tekton-robot avatar Dec 28 '23 20:12 tekton-robot

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/container_validation.go 100.0% 98.8% -1.2
pkg/apis/pipeline/v1/task_validation.go 98.4% 98.4% -0.0

tekton-robot avatar Dec 28 '23 20:12 tekton-robot

@Dhruval7878: Cannot trigger testing until a trusted user reviews the PR and leaves an /ok-to-test message.

In response to this:

/ok-to-test

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.

tekton-robot avatar Dec 29 '23 03:12 tekton-robot

/ok-to-test

JeromeJu avatar Jan 02 '24 14:01 JeromeJu

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/container_validation.go 100.0% 98.8% -1.2
pkg/apis/pipeline/v1/task_validation.go 98.4% 98.4% -0.0

tekton-robot avatar Jan 02 '24 14:01 tekton-robot

/test pull-tekton-pipeline-alpha-integration-tests

chitrangpatel avatar Jan 09 '24 19:01 chitrangpatel

@Dhruval7878: PR needs rebase.

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.

tekton-robot avatar Jan 17 '24 10:01 tekton-robot

@Dhruval7878 thank you for your contribution. Are you still working on this? How does this relate to #7454 ?

afrittoli avatar Feb 26 '24 12:02 afrittoli

There hasn't been active work on this PR for a few months, should this be moved out of the release milestone @chitrangpatel ?

dibyom avatar Jul 11 '24 22:07 dibyom

There hasn't been active work on this PR for a few months, should this be moved out of the release milestone @chitrangpatel ?

Agreed! Moving it out.

chitrangpatel avatar Jul 11 '24 23:07 chitrangpatel