Executor for PowerShell on Linux
I would like to contribute on an executor for PowerShell on Linux. I started off testing the Docker executor and the image Microsoft/PowerShell:latest. I understand this is not yet supported.
The error that returns is: "ERROR: Preparation failed: Docker doesn't support shells that require script file" https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/blob/master/executors/docker/executor_docker.go#L1006
Which happens because: https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/blob/master/shells/powershell.go#L226
I just wanted to start with community feedback. Is the best path forward to introduce a new shell option, or try to update the existing with a conditional to detect the runtime environment?
Please advise if this is not the appropriate place to host this type of discussion. Thank you.