plain-advantage-45962
06/09/2023, 2:16 PMgeneratedFiles
. We need to create a few files before module build is started. Generated files will then be used during module build process. In 0.12* we used to use generatedFiles
feature. In Bonsai I have tried to use Run action of type exec with the appropriate commands to create the files we need. The files are actually created, but a bit late in the process - they are created in the sources
, but not copied over to the build
. Would appreciate any ideas on how can we inject newly generated file in the build process. Here is a extract of the test garden.yml I'm playing with:
---
kind: Run
type: exec
name: testbuild
spec:
shell: true
command: ["echo '${var.private_file_content}' > ./tmp/private_file"]
---
kind: Build
type: container
name: testbuild
dependencies:
- Run.testbuild
quaint-dress-831
06/13/2023, 12:33 PMexec
Build as detailed at https://docs.garden.io/reference/action-types/configmap/container#build ?