Re:Dagger: a new way to build CI/CD pipelines
by jcon321 on Thursday March 31, 2022 @08:52AM
(#30866608)
I use gitlab for ci/cd, a gitlab-runner runs on a windows based system (legacy aka not .net core so can only build with msbuild.exe). Now I have to copy this release to another windows based system. Are you calling me stupid for using scp via openssh? Would like to hear an alternative? Took me like 5 minutes to set openssh up.
Re:Dagger: a new way to build CI/CD pipelines
by somejerk on Thursday March 31, 2022 @11:42AM
(#30868444)
Windows has a mechanism for sharing folders; the protocol is SMB (CIFS is a dialect of SMB). You mount the the target and destination folders on the same machine (doesn't matter which one mounts the other), and then copy the file locally on the machine where they're both mounted.
Re:Dagger: a new way to build CI/CD pipelines
by ChadyWady on Thursday March 31, 2022 @04:01PM
(#30871631)
That's my primary issue with Windows workflows, though. Unless you really convert over to using pretty much only MS tools, it is extremely hard to use them. Meanwhile the "Unix" workflow tends to be a collection of many open source tools with lots of competing solutions.
Re:Dagger: a new way to build CI/CD pipelines
by simulate-me on Thursday March 31, 2022 @07:31AM
(#30866010)
What’s the alternative? I was deploying from a Mac, so connecting to a Unix box is exactly what I was doing.
Re:Dagger: a new way to build CI/CD pipelines
by pjmlp on Thursday March 31, 2022 @07:52AM
(#30866167)
Re:Dagger: a new way to build CI/CD pipelines
by simulate-me on Thursday March 31, 2022 @08:38AM
(#30866479)
I was deploying to a fleet of servers. Having every engineer add every server via the macOS sharing UI or using RDP to manually connect to each host doesn’t seem scalable. Maybe remote power shell sessions would work, but I’m not even sure if there is a power shell client for Mac, and it’s also not clear if remote power shell sessions would fix the open file handle issue.
Experienced Windows devs I talked to said they used Packer from Hashicorp to entirely recreate their server image whenever they wanted to deploy. This process takes hours, but that was the best I found.
Who on their right mind uses ssh/scp on Windows development other than connecting to UNIX boxes?