this commit introduces a new flag to the update dependencies command:
--as-workflow.
when set, the dependencies will be added to the promise as a workflow, instead
of copying them all to the promise spec.dependencies field.
updating dependencies with --as-workflow requires --image to be set as well.
if there's a dependencies.yaml file in the working directory, it will be
removed; if there's a promise.yaml file, the contents of spec.dependencies
will be wiped out -- we can change this behavior if needed.
this commit introduces a new flag to the
update dependencies
command:--as-workflow
.when set, the dependencies will be added to the promise as a workflow, instead of copying them all to the promise
spec.dependencies
field.updating dependencies with
--as-workflow
requires--image
to be set as well.if there's a
dependencies.yaml
file in the working directory, it will be removed; if there's apromise.yaml
file, the contents ofspec.dependencies
will be wiped out -- we can change this behavior if needed.