-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
We have a lot of images with the same pattern referencing an 'install' module, which in turn refers to a 'install.sh' script, which installs the artifact. This applies to things like licenses as well that need to be added to the image. Most of our artifacts/images have a uniform location to install to and to get licenses from, so we would like to reduce code duplication.
What would make our lives a lot simpler was if one could specify something like this:
modules: ... install: - name: mymod parameters: - arg1 - arg2This would in turn pass these parameters to any scripts in that modules 'execute' section:
name: mymod execute: - script: 'extract_licenses.sh' # Passed <arg1> and <arg2>
stocky37