Closed lukasz-kaniowski closed 2 months ago
When rendering application inside of monorepo github workflows require knowing in which directory application resides and what should be the prefix for version.
Setting parameter defintion to
parameters: - name: working_directory description: working directory type: string optional: true default: './' - name: ` description: version prefix type: string optional: true default: 'v'
and then override working_directory and version_prefix in monorepo flow does the trick.
working_directory
version_prefix
I've refactored code a bit to only pass data in CreateOp and everything else is set as dependency on struct
CreateOp
Introduce TemplateRenderer interface to be able to test error scenario in tests
TemplateRenderer
When rendering application inside of monorepo github workflows require knowing in which directory application resides and what should be the prefix for version.
Setting parameter defintion to
and then override
working_directory
andversion_prefix
in monorepo flow does the trick.I've refactored code a bit to only pass data in
CreateOp
and everything else is set as dependency on structIntroduce
TemplateRenderer
interface to be able to test error scenario in tests