pipeline icon indicating copy to clipboard operation
pipeline copied to clipboard

feat: improve step.Script variables references validation message

Open chengjoey opened this issue 1 year ago • 13 comments

Changes

feat: #8265

Scripts are often long and hard to read. When checking variable references, put non-existent variables before the message to make it easier to read.

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
  • [x] Has Tests included if any functionality added or changed
  • [x] pre-commit Passed
  • [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
  • [x] 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

improve step.Script variables references validation message

chengjoey avatar Oct 02 '24 07:10 chengjoey

/kind feature

chengjoey avatar Oct 02 '24 07:10 chengjoey

/test check-pr-has-kind-label

chengjoey avatar Oct 02 '24 07:10 chengjoey

@chengjoey: The specified target(s) for /test were not found. The following commands are available to trigger required jobs:

  • /test pull-tekton-pipeline-alpha-integration-tests
  • /test pull-tekton-pipeline-beta-integration-tests
  • /test pull-tekton-pipeline-build-tests
  • /test pull-tekton-pipeline-integration-tests
  • /test pull-tekton-pipeline-unit-tests

The following commands are available to trigger optional jobs:

  • /test pull-tekton-pipeline-go-coverage

Use /test all to run all jobs.

In response to this:

/test check-pr-has-kind-label

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 Oct 02 '24 07:10 tekton-robot

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/substitution/substitution.go 87.0% 86.0% -0.9

tekton-robot avatar Oct 02 '24 08:10 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/substitution/substitution.go 87.0% 86.0% -0.9

tekton-robot avatar Oct 02 '24 08:10 tekton-robot

/test check-pr-has-kind-label

chengjoey avatar Oct 03 '24 05:10 chengjoey

@chengjoey: The specified target(s) for /test were not found. The following commands are available to trigger required jobs:

  • /test pull-tekton-pipeline-alpha-integration-tests
  • /test pull-tekton-pipeline-beta-integration-tests
  • /test pull-tekton-pipeline-build-tests
  • /test pull-tekton-pipeline-integration-tests
  • /test pull-tekton-pipeline-unit-tests

The following commands are available to trigger optional jobs:

  • /test pull-tekton-pipeline-go-coverage

Use /test all to run all jobs.

In response to this:

/test check-pr-has-kind-label

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 Oct 03 '24 05:10 tekton-robot

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/substitution/substitution.go 87.0% 87.6% 0.6

tekton-robot avatar Oct 04 '24 05:10 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/substitution/substitution.go 87.0% 87.6% 0.6

tekton-robot avatar Oct 04 '24 05:10 tekton-robot

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

chengjoey avatar Oct 04 '24 05:10 chengjoey

/retest

vdemeester avatar Oct 11 '24 09:10 vdemeester

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: 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

tekton-robot avatar Oct 11 '24 09:10 tekton-robot

/test pull-tekton-pipeline-go-coverage-df

jkhelil avatar Nov 19 '24 12:11 jkhelil

@jkhelil: The specified target(s) for /test were not found. The following commands are available to trigger required jobs:

  • /test pull-tekton-pipeline-alpha-integration-tests
  • /test pull-tekton-pipeline-beta-integration-tests
  • /test pull-tekton-pipeline-build-tests
  • /test pull-tekton-pipeline-integration-tests
  • /test pull-tekton-pipeline-unit-tests

The following commands are available to trigger optional jobs:

  • /test pull-tekton-pipeline-go-coverage

Use /test all to run all jobs.

In response to this:

/test pull-tekton-pipeline-go-coverage-df

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 Nov 19 '24 12:11 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/substitution/substitution.go 87.0% 87.6% 0.6

tekton-robot avatar Nov 19 '24 12:11 tekton-robot

Well done!
Finally, I don't have to check one by one who left it undefined.
I really hope we can merge this PR soon.

l-qing avatar Jan 03 '25 15:01 l-qing

/retest

chengjoey avatar Jan 06 '25 01:01 chengjoey

/test all

chengjoey avatar Jan 06 '25 01:01 chengjoey

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/substitution/substitution.go 87.0% 87.6% 0.6

tekton-robot avatar Jan 06 '25 02:01 tekton-robot

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/substitution/substitution.go 87.0% 87.6% 0.6

tekton-robot avatar Jan 06 '25 02:01 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/substitution/substitution.go 87.0% 87.6% 0.6

tekton-robot avatar Jan 06 '25 02:01 tekton-robot

@afrittoli ,Are you available right now, can you review this pr?

chengjoey avatar Jan 09 '25 14:01 chengjoey

@l-qing Would you like to join the organization as a member? https://github.com/tektoncd/community/tree/main/org

chengjoey avatar Jan 09 '25 14:01 chengjoey

@l-qing Would you like to join the organization as a member? https://github.com/tektoncd/community/tree/main/org

Thank you for bringing this opportunity to my attention.

I had never considered the possibility of joining this organization before, but I'm genuinely excited about the prospect of becoming a member.

Upon reviewing the membership requirements, I noticed I still have some areas to work on. While I'm proud to have contributed with over 30 merged PRs, I realize I haven't participated in reviewing others' contributions. I mistakenly assumed that PR reviews were limited to existing members - I now see how wrong I was about that! 😄

I'm committed to meeting all the requirements and look forward to submitting my membership application in 2025.

l-qing avatar Jan 12 '25 02:01 l-qing

While I'm proud to have contributed with over 30 merged PRs

you've done a great job, and I very much welcome you to become a member. you can submit a PR to community, I think this can be done through

chengjoey avatar Jan 13 '25 01:01 chengjoey

While I'm proud to have contributed with over 30 merged PRs

you've done a great job, and I very much welcome you to become a member. you can submit a PR to community, I think this can be done through

Thank you for your encouragement.

I still intend to wait until all the requirements are met before initiating the PR request, to avoid wasting others' review time.

I will prioritize this matter as the most important thing in the next three months.

l-qing avatar Jan 13 '25 15:01 l-qing