scripts: move verify-shellws to scripts/verify/shellws.sh #22816
Hi @ggirish90. Thanks for your PR.
I'm waiting for a etcd-io 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.
<details>
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-sigs/prow repository.
</details>
Hi @ivanvc, just following up on this PR from KubeCon ContribFest. The changes have been tested locally, and make verify-shellws passes.
Would appreciate a review when you get a chance. Happy to address any feedback. Thanks!
/ok-to-test
Codecov Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 73.01%. Comparing base (
dd2c518) to head (168143b).<details><summary>Additional details and impacted files</summary>
see 19 files with indirect coverage changes
@@ Coverage Diff @@
## main #22816 +/- ##
==========================================
- Coverage 73.07% 73.01% -0.06%
==========================================
Files 449 449
Lines 31903 31903
==========================================
- Hits 23312 23293 -19
- Misses 8588 8607 +19
Partials 3 3
------
Continue to review full report in Codecov by Harness.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing data
Powered by Codecov. Last update dd2c518...168143b. Read the comment docs.
</details>
<details><summary> :rocket: New features to boost your workflow: </summary>
</details>
Please fix conflict
@serathius - resolved the conflicts.
/retest
LGTM. Thanks, @ggirish90.
/cc @ahrtr @serathius @fuweid
Approved these changes.
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: <a href="https://github.com/etcd-io/etcd/pull/22816#pullrequestreview-5964852337" title="Approved">ahrtr</a>, <a href="https://github.com/etcd-io/etcd/pull/22816#" title="Author self-approved">ggirish90</a>, <a href="https://github.com/etcd-io/etcd/pull/22816#pullrequestreview-5946935238" title="Approved">ivanvc</a>
The full list of commands accepted by this bot can be found here.
The pull request process is described here
<details >
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
</details>
<!-- META={"approvers":[]} -->
ivanvc
ggirish90
Fixes #22721
Part of #20856.
Moves the
verify-shellwscheck out of theshellws_passfunction inscripts/test.shinto a standalone script,scripts/verify/shellws.sh.Changes:
scripts/verify/shellws.shwith the same tab-indentation check. It sourcestest_lib.shfor the logging helpers and exits 255 on failure, matching the oldreturn 255.verify-shellwsMakefile target to run./scripts/verify/shellws.shdirectly instead ofPASSES="shellws" ./scripts/test.sh.shellws_passfromscripts/test.sh.The script
cds intoETCD_ROOT_DIRsince the check uses a relativefind ., so it behaves the same no matter where it's invoked from.scripts/verify/grpc_experimental.shdoes the same.Testing:
make verify-shellwson a clean tree passes