apache / shardingsphere-on-cloud

A collection of tools and best practices to take ShardingSphere into the cloud
Apache License 2.0
83 stars 29 forks source link

feat(operator): enhance StorageNode and ComputeNode type and builder #419

Closed mlycore closed 1 year ago

mlycore commented 1 year ago

Type of change:

What this PR does / why we need it:

Pre-submission checklist:

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
1.3% 1.3% Duplication

codecov-commenter commented 1 year ago

Codecov Report

Merging #419 (1d18a63) into main (3604a24) will decrease coverage by 1.24%. The diff coverage is 4.73%.

@@            Coverage Diff             @@
##             main     #419      +/-   ##
==========================================
- Coverage   39.71%   38.48%   -1.24%     
==========================================
  Files          51       52       +1     
  Lines        6083     6429     +346     
==========================================
+ Hits         2416     2474      +58     
- Misses       3448     3726     +278     
- Partials      219      229      +10     
Impacted Files Coverage Δ
pitr/agent/internal/handler/restore.go 0.00% <0.00%> (ø)
pitr/cli/internal/cmd/restore.go 58.33% <0.00%> (-0.99%) :arrow_down:
pitr/cli/internal/pkg/local-storage.go 40.65% <0.00%> (-2.09%) :arrow_down:
...tor/cmd/shardingsphere-operator/manager/manager.go 0.00% <0.00%> (ø)
...ator/cmd/shardingsphere-operator/manager/option.go 49.53% <0.00%> (ø)
...phere-operator/pkg/controllers/chaos_controller.go 0.00% <0.00%> (ø)
...gsphere-operator/pkg/kubernetes/service/builder.go 76.92% <ø> (ø)
...gsphere-operator/pkg/reconcile/common/container.go 86.07% <0.00%> (-5.82%) :arrow_down:
...e-operator/pkg/reconcile/storagenode/aws/aurora.go 17.94% <0.00%> (-0.24%) :arrow_down:
...here-operator/pkg/reconcile/storagenode/aws/aws.go 0.00% <ø> (ø)
... and 5 more

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