screwdriver-cd / screwdriver

An open source build platform designed for continuous delivery.
http://screwdriver.cd
Other
1.01k stars 169 forks source link

Feature: sd-cmd needs to support choice of os/arch #2837

Open scr-oath opened 1 year ago

scr-oath commented 1 year ago

When building on mac/darwin OS or for darwin or linux arm64, any binary commands cannot be run.

This feature may need some thought/design, but would allow command authors using cross-compiling tools and languages such as golang to publish and provide as many os/arch combos as are prevalent (windows/darwin/linux) x (arm64,amd64) and for those commands to run properly when sd-cmd exec is invoked.

scr-oath commented 1 year ago

Supporting docker sd-cmds may also satisfy this need, authors could make multiarch images that allow running, but only if docker runs on all the executor nodes…