-
Notifications
You must be signed in to change notification settings - Fork 206
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
Orb should work even if the default shell is not bash #429
Comments
Hey, I just wanted to share here that we are nearly about to release the beta version of a re-write of this orb in Go. I'll post here again with information for upgrading to the beta test. |
Seems like the go orb was made, just not sure how maintained it is? https://github.com/CircleCI-Public/slack-orb-go |
The development of the go version for this orb is now on stand by, but I'm addressing this issue in the next release. The orb will enforce the usage of bash, no matter the shell on the executor. |
The version 4.14.0 of the orb is now using bash only to run the scripts. |
Switching to bash breaks any use of the orb on alpine based images, as they don't include bash by default. |
Hi @gavinclarkeuk we're starting to standardize the orbs to use bash only, I'll add more information on the orb version to let this constraint clear. |
Orb version:
4.12.5
What happened:
When using a Windows runner and Powershell as the shell for the job, the orb fails:
Expected behavior:
You can use any shell at the job level, and the orb just works.
I think this should be possible, the orb just needs to specify to run it's commands using bash.exe ?
Additional Information:
Workaround for me is to set the job level shell to bash, then override to powershell for every job. This works in a Windows runner.
Related: #380 (comment)
The text was updated successfully, but these errors were encountered: