qbec icon indicating copy to clipboard operation
qbec copied to clipboard

experimental: write component definitions in cue-lang

Open harsimranmaan opened this issue 3 years ago • 1 comments

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

harsimranmaan avatar Apr 06 '22 04:04 harsimranmaan

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%) :arrow_down:
internal/model/app.go 93.97% <100.00%> (+0.09%) :arrow_up:

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.

codecov-commenter avatar Apr 07 '22 02:04 codecov-commenter