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

fix update codegenerator scripts #3325

Merged
merged 1 commit into from
Mar 20, 2024

Conversation

Icarus9913
Copy link
Collaborator

@Icarus9913 Icarus9913 commented Mar 20, 2024

Since v0.29.3 code-generator kube_codegen.sh use

":(glob)${in_root}"/'**/types.go' \

to search CRD golang file, it will ignore the spiderpool CRD golang file because we define these CRD files with ***_types.go

So, I updated the code-generator to v0.30.0-beta.0 which would search .gofiles with +genclient tags

Signed-off-by: Icarus9913 icaruswu66@qq.com

What this PR does / why we need it:
fix bug

Which issue(s) this PR fixes:
close #3324

@Icarus9913 Icarus9913 added pr/ready-review This pull is ready for review kind/bug release/none no release note labels Mar 20, 2024
Copy link

codecov bot commented Mar 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.12%. Comparing base (39a4e3d) to head (0f5e89b).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3325      +/-   ##
==========================================
- Coverage   81.68%   81.12%   -0.56%     
==========================================
  Files          50       50              
  Lines        5372     5372              
==========================================
- Hits         4388     4358      -30     
- Misses        823      856      +33     
+ Partials      161      158       -3     
Flag Coverage Δ
unittests 81.12% <ø> (-0.56%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 1 file with indirect coverage changes

Signed-off-by: Icarus9913 <icaruswu66@qq.com>
@weizhoublue weizhoublue merged commit da3d6d9 into spidernet-io:main Mar 20, 2024
49 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug pr/ready-review This pull is ready for review release/none no release note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

the code-generator script doesn't work for CRD
4 participants