cmmorrow / build-magic

A general purpose build/install/deploy tool.
MIT License
9 stars 2 forks source link

Add operating system and architecture parameters #84

Open cmmorrow opened 2 years ago

cmmorrow commented 2 years ago

Is your feature request related to a problem? Please describe. It would be useful to check the system OS and arch before executing a stage.

Describe the solution you'd like Provide an operating system and architecture parameters that can be applied to each runner. If the executing environment doesn't match the provided parameters, the stage is skipped.

Describe alternatives you've considered This can be done with Local runner "environment" field, but it would be useful to allow this feature for all runners as a parameter.

Additional context In the event a stage with a Local runner provides an environment and an "operating system" parameter, the parameter takes precedence.