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

Installer Scripts: use bash instead of sh #34039

Merged
merged 2 commits into from Nov 2, 2023

Conversation

marcoandredinis
Copy link
Contributor

@marcoandredinis marcoandredinis commented Oct 30, 2023

The agentless version of this script uses bash.
Using bash over sh should help the maintenance of the script. It's being used for the agentless version and the node join script sh is sometimes an alias to bash, and testing this script in those systems might lead to assume that the script is working fine, even tho when running in a real sh it will fail.

changelog: use bash instead of sh for the Server Auto-Discovery installer script

Related #31914

The agentless version of this script uses `bash`.
Using `bash` over `sh` should help the maitenance of the script.
It's being used for the agentless version and the node join script
`sh` is sometimes an alias to `bash`, and testing this script in those
systems might lead to assume that the script is working fine, even tho
when running in a real `sh` it will fail.
@github-actions github-actions bot requested review from jakule and Tener October 30, 2023 17:35
@github-actions
Copy link

The PR changelog entry failed validation: Changelog entry not found in the PR body. Please add a "no-changelog" label to the PR, or changelog lines starting with changelog: followed by the changelog entries for the PR.

@marcoandredinis marcoandredinis added this pull request to the merge queue Nov 2, 2023
Merged via the queue into master with commit 004d0db Nov 2, 2023
36 checks passed
@marcoandredinis marcoandredinis deleted the marco/installer-scripts-use-bash branch November 2, 2023 10:24
@public-teleport-github-review-bot

@marcoandredinis See the table below for backport results.

Branch Result
branch/v12 Failed
branch/v13 Create PR
branch/v14 Create PR

marcoandredinis added a commit that referenced this pull request Nov 2, 2023
* Installer Scripts: use bash instead of sh

The agentless version of this script uses `bash`.
Using `bash` over `sh` should help the maitenance of the script.
It's being used for the agentless version and the node join script
`sh` is sometimes an alias to `bash`, and testing this script in those
systems might lead to assume that the script is working fine, even tho
when running in a real `sh` it will fail.

* use the same expression that is being used in agentless
github-merge-queue bot pushed a commit that referenced this pull request Nov 8, 2023
* Installer Scripts: use bash instead of sh

The agentless version of this script uses `bash`.
Using `bash` over `sh` should help the maitenance of the script.
It's being used for the agentless version and the node join script
`sh` is sometimes an alias to `bash`, and testing this script in those
systems might lead to assume that the script is working fine, even tho
when running in a real `sh` it will fail.

* use the same expression that is being used in agentless
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants