rtyler / otto

Otto is your friendly continuous delivery companion.
GNU Affero General Public License v3.0
80 stars 5 forks source link

Explore "macro" step definitions #48

Open rtyler opened 3 years ago

rtyler commented 3 years ago

For some use-cases it might make sense to support a "macro" type of step which is just a step which invokes other steps. For example, an rspec step might just be the following snippet:

sh 'bundle exec rspec'
archive 'reports/*.xml'

I'm thinking handlebar templates for mapping variables in properly.

Not sure yet what the best approach for handling this, but a type field in the manifest.yml is a good start.