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

POC: add support for IntegrationTestScenario v2alpha1 #4

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hongweiliu17
Copy link
Owner

@hongweiliu17 hongweiliu17 commented Apr 4, 2023

@hongweiliu17 hongweiliu17 changed the title feat: add support for IntegrationTestScenario v2alpha1 POC: add support for IntegrationTestScenario v2alpha1 Apr 4, 2023
* Add v2alpha1 as storage version
* Add ResolverRef with Resolver and Params under
  IntegrationTestScenario.Spec
* Add webhook and conversion to convert between different versions
* Update the api version to v2alpha1 in controller and files

Signed-off-by: Hongwei Liu <hongliu@github.com>
@codecov-commenter
Copy link

Codecov Report

Patch coverage: 48.27% and project coverage change: -0.48 ⚠️

Comparison is base (ecadc8d) 71.68% compared to head (ac59e1a) 71.20%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files
@@            Coverage Diff             @@
##             main       #4      +/-   ##
==========================================
- Coverage   71.68%   71.20%   -0.48%     
==========================================
  Files          25       29       +4     
  Lines        2320     2358      +38     
==========================================
+ Hits         1663     1679      +16     
- Misses        503      526      +23     
+ Partials      154      153       -1     
Impacted Files Coverage Δ
api/v1alpha1/integrationtestscenario_conversion.go 0.00% <0.00%> (ø)
api/v2alpha1/integrationtestscenario_conversion.go 0.00% <0.00%> (ø)
api/v2alpha1/integrationtestscenario_webhook.go 0.00% <0.00%> (ø)
helpers/integration.go 70.00% <66.66%> (ø)
api/v2alpha1/integrationtestscenario_types.go 100.00% <100.00%> (ø)
controllers/pipeline/cache.go 100.00% <100.00%> (ø)
controllers/pipeline/pipeline_adapter.go 63.58% <100.00%> (ø)
controllers/scenario/scenario_adapter.go 72.34% <100.00%> (+6.78%) ⬆️
controllers/scenario/scenario_controller.go 89.13% <100.00%> (+10.86%) ⬆️
controllers/snapshot/snapshot_adapter.go 54.48% <100.00%> (-4.32%) ⬇️
... and 1 more

... and 1 file with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants