Skip to content

Installer Scripts: use bash instead of sh#34039

Merged
marcoandredinis merged 2 commits intomasterfrom
marco/installer-scripts-use-bash
Nov 2, 2023
Merged

Installer Scripts: use bash instead of sh#34039
marcoandredinis merged 2 commits intomasterfrom
marco/installer-scripts-use-bash

Conversation

@marcoandredinis
Copy link
Copy Markdown
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 Tener and jakule October 30, 2023 17:35
@github-actions
Copy link
Copy Markdown
Contributor

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
@marcoandredinis marcoandredinis deleted the marco/installer-scripts-use-bash branch November 2, 2023 10:24
@public-teleport-github-review-bot
Copy link
Copy Markdown

@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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants