Add support for running routines via command line

This commit is contained in:
garrettmills
2020-08-13 20:28:23 -05:00
parent afb35ebad8
commit f5b84b530c
33 changed files with 396 additions and 5 deletions

View File

@@ -69,6 +69,17 @@ const example_routine = {
target: 'develop', // ref to check out
revert_to: 'master', // ref to revert to on undo
},
{
// State: the specified repo is pulled
type: 'git.pull',
host: 'localhost',
path: '/tmp/some.dir.on.host',
target: {
target: 'origin',
ref: 'master',
rebase: true,
},
},
{
// State: the specified tag exists
type: 'git.tag',