Skip to content
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

experimental: write component definitions in cue-lang #283

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

harsimranmaan
Copy link
Contributor

This is initial foray into what supporting cue with qbec might look like.

A component can be written with cue in addition to jsonnet, json and yaml. Implementation is bare-bones and is not production ready
Cue packages are supported but not well-tested for mutltiple cases.

Brainstorming needed on how this might surface in areas like envs, params, etc. and if it is a good idea in general

This is initial foray into what supporting cue with qbec might look like.

A component can be written with cue in addition to jsonnet, json and yaml. Implementation is bare-bones and is not production ready
Cue packages are supported but not well-tested for mutltiple cases.

Brainstorming needed  how this would surface in areas like envs, params, etc.
@codecov-commenter
Copy link

Codecov Report

Merging #283 (f5583d1) into main (a296496) will decrease coverage by 0.08%.
The diff coverage is 63.79%.

@@            Coverage Diff             @@
##             main     #283      +/-   ##
==========================================
- Coverage   73.80%   73.72%   -0.09%     
==========================================
  Files          73       73              
  Lines        7021     7079      +58     
==========================================
+ Hits         5182     5219      +37     
- Misses       1622     1636      +14     
- Partials      217      224       +7     
Impacted Files Coverage Δ
internal/eval/eval.go 86.64% <58.00%> (-5.92%) ⬇️
internal/model/app.go 93.97% <100.00%> (+0.09%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a296496...f5583d1. Read the comment docs.

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.

None yet

2 participants