Remove shell specification in Makefile for Ansible and Helm#4489
Conversation
d14de91 to
7d7e455
Compare
|
I thought we put these in for a reason but I can't find why. We have it set to bash in the main Makefile. |
|
Does this need a changelog? It will affect the generated Makefile right? |
|
/hold These may be necessary due to the PATH setup that includes the project-local |
|
If there's an alternate way of ensuring executables from However I'm a bit confused. Based on the documentation here, it seems like we're basically just running |
|
Ah, yes. Right now, the problem is that |
|
@varshaprasad96 I'm wondering if the original issue reported is more of an edge case than a normal case. See https://stackoverflow.com/questions/4814006/can-i-assume-bash-is-installed It seems like it's safer to assume /bin/sh than /bin/bash. I'm not personally super opposed to switching to /bin/bash, but that has a chance of breaking someone else who has /bin/sh but not /bin/bash. |
|
/retest |
|
Is the |
7d7e455 to
61f733b
Compare
Remove the shell specification in ansible and helm makefiles. Signed-off-by: varshaprasad96 <varshaprasad96@gmail.com>
61f733b to
812c54e
Compare
|
/lgtm |
Remove the shell specification in ansible and helm makefiles. Signed-off-by: varshaprasad96 <varshaprasad96@gmail.com>
Remove the shell specification in ansible and helm makefiles. Signed-off-by: varshaprasad96 <varshaprasad96@gmail.com> Signed-off-by: reinvantveer <reinvantveer@gmail.com>
Remove the shell specification in ansible and helm makefiles. Signed-off-by: varshaprasad96 <varshaprasad96@gmail.com>
Remove the shell specification in ansible
and helm makefiles.
Description of the change:
Currently, we are hardcoding
SHELLto point to/bin/sh. Its not necessary that/bin/shinvokes sh or points to bash, it can be a symbolic link invoking any other shell which may give errors. Instead, if required we could add a documentation similar to as we have for Golang operators, suggesting to use bash.Motivation for the change:
Closes: #4403
Checklist
If the pull request includes user-facing changes, extra documentation is required:
changelog/fragments(seechangelog/fragments/00-template.yaml)website/content/en/docs