Closed kbrock closed 9 months ago
update:
Todo:
Prep for multiple workflows
update:
Gah I commented in the wrong place - see https://github.com/ManageIQ/floe/pull/149#pullrequestreview-1770543621
update:
ok, I used the TYPES value to drive the shortcuts. is this too cryptic?
update:
usage
in rebases, added back--help
outputugh. sorry, got confused, usage gets changed in the other pr. (that is why it was missing...)
update:
update:
hash_table.each
Updates:
TYPES
from runner.DEFAULT
is a separate variableOptimist.die
is moved and simplifiedI like it how it is.
But there are a few possible changes:
Runner::TYPES
, then we can introduce set_runner(name="docker", options={})
and move the factory into there.docker-runner
, then we will allow short flags to override longer flags.TYPES
, but find the code more confusing and not any shorter. So I keep tearing it back out.update:
-e
, -r
and -o
)Outstanding
docker_runner, :default => "docker"
, but we can't keep that and have long form override short form. So I dropped the default. Can have last one wins for short form (instead of first one wins)
-d
to-r
)--docker
,--podman
, and--kubernetes
shortcutBefore
After