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

[MINOR] fix(deploy): Fix invocation of kubernetes bash scripts #1513

Merged
merged 1 commit into from
Feb 9, 2024

Conversation

EnricoMi
Copy link
Contributor

@EnricoMi EnricoMi commented Feb 8, 2024

What changes were proposed in this pull request?

Do not invoke bash scripts via sh ./SCRIPT.sh, but ./SCRIPT.sh.

Why are the changes needed?

These bash scripts are invoked via sh ./SCRIPT.sh, which overrides the shebang line in the script, effectively executing the scripts via /bin/sh. The scripts require bash though, so the invocation fails.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Manually tested.

Copy link

github-actions bot commented Feb 8, 2024

Test Results

2 287 files  ±0  2 287 suites  ±0   4h 28m 21s ⏱️ -1s
  819 tests ±0    818 ✅ ±0   1 💤 ±0  0 ❌ ±0 
9 086 runs  ±0  9 073 ✅ ±0  13 💤 ±0  0 ❌ ±0 

Results for commit 624008a. ± Comparison against base commit 9471cba.

Copy link
Member

@zuston zuston left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks @EnricoMi

@zuston zuston changed the title [MINOR] Fix invocation of kubernetes bash scripts [MINOR] fix(deploy): Fix invocation of kubernetes bash scripts Feb 9, 2024
@zuston zuston merged commit 866f5ff into apache:master Feb 9, 2024
38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants