Skip to content

refactor: support providing custom post-fetch functions to OCI Provider #133

Merged
lorenzofelletti merged 7 commits into
mainfrom
feat/support-compressed-tarballs
Jul 1, 2026
Merged

refactor: support providing custom post-fetch functions to OCI Provider #133
lorenzofelletti merged 7 commits into
mainfrom
feat/support-compressed-tarballs

Conversation

@lorenzofelletti

@lorenzofelletti lorenzofelletti commented Jun 24, 2026

Copy link
Copy Markdown
Member

Support was added for archived (Gzip) OCI CUE modules. Right now, Cuestomize will download the OCI module, and:

  • if it contains exaclty one file with gzip extension, it will untar the file and try to use that as module
  • else it will do nothing (assume it is not compressed), and try to use the module as is.

This PR extends the functionality by allowing custom post-fetch functions to be supplied to the OCI model provider. This way, users may implement and supply their own custom logic. WithUnpackArchivePostFetch provides the current unpacking logic functionality, and the option is added to the Cuestomize KRM function to maintain the current functionality.

@lorenzofelletti lorenzofelletti changed the title feat: support compressed tarballs refactor: support providing custom post-fetch functions to OCI Provider Jul 1, 2026
@lorenzofelletti lorenzofelletti merged commit 9019e1c into main Jul 1, 2026
4 checks passed
@lorenzofelletti lorenzofelletti deleted the feat/support-compressed-tarballs branch July 1, 2026 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant