tommy351 / kosko

Organize Kubernetes manifests in TypeScript.
https://kosko.dev
MIT License
338 stars 11 forks source link

Collect all errors and add `bail` option to `generate` command #108

Closed tommy351 closed 2 years ago

tommy351 commented 2 years ago

Todos

cloudflare-workers-and-pages[bot] commented 2 years ago

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 4ae293a
Status: ✅  Deploy successful!
Preview URL: https://26effc73.kosko.pages.dev
Branch Preview URL: https://multi-validate-errors.kosko.pages.dev

View logs

codecov[bot] commented 2 years ago

Codecov Report

Base: 96.74% // Head: 96.88% // Increases project coverage by +0.14% :tada:

Coverage data is based on head (4ae293a) compared to base (6e99489). Patch coverage: 95.65% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #108 +/- ## ========================================== + Coverage 96.74% 96.88% +0.14% ========================================== Files 63 66 +3 Lines 1045 1285 +240 Branches 179 245 +66 ========================================== + Hits 1011 1245 +234 - Misses 33 39 +6 Partials 1 1 ``` | [Impacted Files](https://codecov.io/gh/tommy351/kosko/pull/108?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tommy+Chen) | Coverage Δ | | |---|---|---| | [packages/cli/src/commands/generate/command.ts](https://codecov.io/gh/tommy351/kosko/pull/108/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tommy+Chen#diff-cGFja2FnZXMvY2xpL3NyYy9jb21tYW5kcy9nZW5lcmF0ZS9jb21tYW5kLnRz) | `90.00% <ø> (ø)` | | | [packages/config/src/types.ts](https://codecov.io/gh/tommy351/kosko/pull/108/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tommy+Chen#diff-cGFja2FnZXMvY29uZmlnL3NyYy90eXBlcy50cw==) | `100.00% <ø> (ø)` | | | [packages/log/src/NodeLogWriter.ts](https://codecov.io/gh/tommy351/kosko/pull/108/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tommy+Chen#diff-cGFja2FnZXMvbG9nL3NyYy9Ob2RlTG9nV3JpdGVyLnRz) | `100.00% <ø> (ø)` | | | [packages/cli/src/commands/generate/worker.ts](https://codecov.io/gh/tommy351/kosko/pull/108/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tommy+Chen#diff-cGFja2FnZXMvY2xpL3NyYy9jb21tYW5kcy9nZW5lcmF0ZS93b3JrZXIudHM=) | `66.66% <50.00%> (-7.25%)` | :arrow_down: | | [packages/generate/src/resolve.ts](https://codecov.io/gh/tommy351/kosko/pull/108/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tommy+Chen#diff-cGFja2FnZXMvZ2VuZXJhdGUvc3JjL3Jlc29sdmUudHM=) | `94.59% <92.30%> (+5.40%)` | :arrow_up: | | [packages/generate/src/generate.ts](https://codecov.io/gh/tommy351/kosko/pull/108/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tommy+Chen#diff-cGFja2FnZXMvZ2VuZXJhdGUvc3JjL2dlbmVyYXRlLnRz) | `97.50% <96.96%> (-2.50%)` | :arrow_down: | | [packages/cli/src/cli/error.ts](https://codecov.io/gh/tommy351/kosko/pull/108/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tommy+Chen#diff-cGFja2FnZXMvY2xpL3NyYy9jbGkvZXJyb3IudHM=) | `100.00% <100.00%> (ø)` | | | [packages/cli/src/commands/generate/config.ts](https://codecov.io/gh/tommy351/kosko/pull/108/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tommy+Chen#diff-cGFja2FnZXMvY2xpL3NyYy9jb21tYW5kcy9nZW5lcmF0ZS9jb25maWcudHM=) | `100.00% <100.00%> (ø)` | | | [packages/cli/src/commands/generate/env.ts](https://codecov.io/gh/tommy351/kosko/pull/108/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tommy+Chen#diff-cGFja2FnZXMvY2xpL3NyYy9jb21tYW5kcy9nZW5lcmF0ZS9lbnYudHM=) | `96.29% <100.00%> (+0.29%)` | :arrow_up: | | [packages/cli/src/commands/generate/error.ts](https://codecov.io/gh/tommy351/kosko/pull/108/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tommy+Chen#diff-cGFja2FnZXMvY2xpL3NyYy9jb21tYW5kcy9nZW5lcmF0ZS9lcnJvci50cw==) | `100.00% <100.00%> (ø)` | | | ... and [16 more](https://codecov.io/gh/tommy351/kosko/pull/108/diff?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tommy+Chen) | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tommy+Chen). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tommy+Chen)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.