pipe-cd / pipecd

The One CD for All {applications, platforms, operations}
https://pipecd.dev
Apache License 2.0
1.09k stars 153 forks source link

Copy pkg/config to pkg/configv1 #5237

Closed Warashi closed 1 month ago

Warashi commented 1 month ago

What this PR does / why we need it:

This PR prepares the pkg/configv1 package to develop pipedv1. This makes us to be able to reduce mistakenly breaking piped (v0).

The files under pkg/configv1 are copies of pkg/config with no modifications.

Which issue(s) this PR fixes:

Part of #4980

Does this PR introduce a user-facing change?:

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 51.86972% with 798 lines in your changes missing coverage. Please review.

Project coverage is 23.94%. Comparing base (1689c63) to head (e75d3e1). Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
pkg/configv1/piped.go 57.45% 252 Missing and 39 partials :warning:
pkg/configv1/application.go 49.30% 160 Missing and 22 partials :warning:
pkg/configv1/control_plane.go 34.23% 66 Missing and 7 partials :warning:
pkg/configv1/config.go 55.83% 43 Missing and 10 partials :warning:
pkg/configv1/event_watcher.go 59.22% 28 Missing and 14 partials :warning:
pkg/configv1/launcher.go 0.00% 28 Missing :warning:
pkg/configv1/analysis.go 46.80% 21 Missing and 4 partials :warning:
pkg/configv1/application_kubernetes.go 8.00% 22 Missing and 1 partial :warning:
pkg/configv1/application_ecs.go 36.36% 20 Missing and 1 partial :warning:
pkg/configv1/replicas.go 69.56% 13 Missing and 1 partial :warning:
... and 6 more
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #5237 +/- ## ========================================== + Coverage 22.92% 23.94% +1.01% ========================================== Files 420 437 +17 Lines 45336 46994 +1658 ========================================== + Hits 10392 11251 +859 - Misses 34147 34838 +691 - Partials 797 905 +108 ``` | [Flag](https://app.codecov.io/gh/pipe-cd/pipecd/pull/5237/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pipe-cd) | Coverage Δ | | |---|---|---| | [](https://app.codecov.io/gh/pipe-cd/pipecd/pull/5237/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pipe-cd) | `23.94% <51.86%> (+1.01%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pipe-cd#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.