Using GitLab Runner I have on Linux, I am trying to connect to a Windows Server and run some basic commands there such as git pull
.
Does GitLab runner provide any capabilities for accessing windows server?
What other options are there to get such requirement done?
Build, test, deploy, and monitor your code from a single application. deployment speed. GitLab has CI/CD built right in, no plugins required.
I think you have a few options
install openssh and configure server on your windows machine/vm and connect from your gitlab runner with ssh ( https://docs.microsoft.com/en-us/windows-server/administration/openssh/openssh_install_firstuse )
( as Wojciech Wirzbicki commented) install a gitlab runner instance on windows. https://docs.gitlab.com/runner/install/windows.html . I think this option more secure and easy win
connect to windows server with winrm
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With