Skip to content

Conversation

@Ajay-singh1
Copy link
Member

@Ajay-singh1 Ajay-singh1 commented Sep 8, 2025

Description

This PR updates helm_test.sh to disable Shellcheck warning SC2218.
Fixes #16730

  • ShellCheck reports SC2218 (This function is only defined later. Move the definition up) for functions like set_multi_network_vars, setup_helm_repo, configure_trust, and verify_load_balancing However, these functions are not defined inside this script — they are sourced from other scripts (common.sh, gateway-api.sh). At runtime, the script works as expected. ShellCheck simply cannot follow external sources
  • Added SC2218 to the existing # shellcheck disable directive at the top of the script to avoid false positives.
See:- Logs
Impact No change in functionality Only lint noise is suppressed

Reviewers

  • Ambient
  • Docs
  • Installation
  • Networking
  • Performance and Scalability
  • Extensions and Telemetry
  • Security
  • Test and Release
  • User Experience
  • Developer Infrastructure
  • Localization/Translation

@Ajay-singh1 Ajay-singh1 requested a review from a team as a code owner September 8, 2025 13:05
@istio-testing istio-testing added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Sep 8, 2025
@Ajay-singh1
Copy link
Member Author

@dhawton This has to go in it is blocking all the PRs.

@Ajay-singh1 Ajay-singh1 requested a review from dhawton September 10, 2025 06:01
@dhawton
Copy link
Member

dhawton commented Sep 10, 2025

#16865 was a better fix and is in.

@dhawton dhawton closed this Sep 10, 2025
@Ajay-singh1 Ajay-singh1 deleted the fix/test branch September 10, 2025 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/docs size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix Helm canary upgrade doc tests

4 participants