padok-team / burrito

🌯 Burrito is a TACoS 🌮
https://padok-team.github.io/burrito
Apache License 2.0
241 stars 10 forks source link

feat(controllers): Implement the TerraformRun controller #167

Closed corrieriluca closed 11 months ago

corrieriluca commented 11 months ago

Fixes #165

Checklist

codecov-commenter commented 11 months ago

Codecov Report

Merging #167 (4d70a9d) into main (c0abbca) will increase coverage by 1.46%. The diff coverage is 78.12%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

@@            Coverage Diff             @@
##             main     #167      +/-   ##
==========================================
+ Coverage   69.04%   70.50%   +1.46%     
==========================================
  Files          23       28       +5     
  Lines        1586     1926     +340     
==========================================
+ Hits         1095     1358     +263     
- Misses        425      492      +67     
- Partials       66       76      +10     
Files Coverage Δ
api/v1alpha1/common.go 100.00% <ø> (ø)
internal/annotations/annotations.go 100.00% <ø> (ø)
internal/controllers/terraformlayer/conditions.go 62.31% <ø> (-2.79%) :arrow_down:
internal/controllers/terraformlayer/controller.go 38.80% <100.00%> (-8.82%) :arrow_down:
internal/controllers/terraformlayer/run.go 100.00% <100.00%> (ø)
internal/controllers/terraformpullrequest/layer.go 84.00% <100.00%> (+0.43%) :arrow_up:
internal/lock/lock.go 93.02% <100.00%> (+1.84%) :arrow_up:
internal/burrito/config/config.go 48.75% <0.00%> (-0.62%) :arrow_down:
internal/controllers/terraformlayer/states.go 77.41% <73.33%> (+9.28%) :arrow_up:
internal/controllers/terraformrun/pod.go 92.18% <82.35%> (ø)
... and 5 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more