Commit graph

6 commits

Author SHA1 Message Date
Cian Johnston
68cc59d705
fix(internal/provider): correct escaping of strings in envbuilder_cached_image.env ()
Fixes 

We had previously been doing the equivalent of value.String() when writing envbuilder_cached_image.env. This was incorrectly escaping newlines, potentially breaking ENVBUILDER_INIT_SCRIPT.

This PR modifies the behaviour to correctly handle string values via ValueString() instead.
2024-08-14 14:55:22 +01:00
Cian Johnston
b35004a702
feat: add warning diags to aid troubleshooting ()
Adds warning diagnostics to aid in troubleshooting issues with cached builds.
2024-08-13 13:13:45 +01:00
Cian Johnston
c10305910f
feat: add remote_repo_build_mode envbuilder option ()
Adds support for setting the --remote-repo-build-mode Envbuilder option. Defaults to true if not set.
2024-08-09 10:32:30 +01:00
Cian Johnston
d30006a40b
fix: do not quote stringy env variables () 2024-08-08 14:34:55 +01:00
Cian Johnston
72ddd72815
chore: pre-publish tidy ()
* chore: pre-publish tidy

* fixup! chore: pre-publish tidy

* update tf test matrix

* update envbuilder and kaniko fork to latest versions
2024-08-07 16:38:15 +01:00
Cian Johnston
ad8b1fda9e
feat: convert datasource to resource ()
- Convert datasource to resource
- Update examples
- Update tests
2024-08-07 11:49:41 +01:00