-
-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add YAML and JSON support for bundles #128
feat: add YAML and JSON support for bundles #128
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @stefanprodan, just added JSON support and a test case with the combo of all file types. |
Thanks @b4nst can you please rebase with main, solve conflicts and force push to unblock CI. |
Of course! Sorry I went a bit fast on the push 😅 |
5edc239
to
06298a6
Compare
Ok rebased, seems there's an issue with the Copy and YAML files during workspace creation introduced with the injection system (break the content of the file). I'll give it a look |
@b4nst I suggest we put in the workspace not the jsons and yamls but their cue value. |
Yup, that's what I started (moving the extract part into the workspace function). Incoming today |
06298a6
to
8894bc2
Compare
b8f7959
to
a40a1fb
Compare
a40a1fb
to
3b6568b
Compare
3b6568b
to
6c51f9e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me 💯
Is it good to merge @stefanprodan? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks @b4nst 🥇
This little addition add YAML support for bundle file. It can be useful for multiple purposes, like using
sops
encrypted files until we address #74.I'm also referencing cue-lang/cue/discussions/2452 in case a better way of including Orphan files exists.