star-whale / starwhale

an MLOps/LLMOps platform
https://starwhale.ai
Apache License 2.0
208 stars 35 forks source link

chore(controller): add more default values in system setting #2985

Closed anda-ren closed 11 months ago

anda-ren commented 11 months ago

Description

  1. add gpu to default resource pool
  2. add default values from controller startup configuration for dataset build
  3. add default values from controller startup configuration for runtime dockerize build

Modules

Checklist

codecov[bot] commented 11 months ago

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (ee53554) 82.96% compared to head (8ff0478) 74.06%.

Files Patch % Lines
...hale/mlops/domain/system/SystemSettingService.java 50.00% 2 Missing and 2 partials :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2985 +/- ## ============================================ - Coverage 82.96% 74.06% -8.90% + Complexity 3114 3113 -1 ============================================ Files 557 431 -126 Lines 30354 15127 -15227 Branches 1827 1768 -59 ============================================ - Hits 25183 11204 -13979 + Misses 4366 3118 -1248 Partials 805 805 ``` | [Flag](https://app.codecov.io/gh/star-whale/starwhale/pull/2985/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=star-whale) | Coverage Δ | | |---|---|---| | [console](https://app.codecov.io/gh/star-whale/starwhale/pull/2985/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=star-whale) | `?` | | | [controller](https://app.codecov.io/gh/star-whale/starwhale/pull/2985/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=star-whale) | `74.06% <50.00%> (-0.03%)` | :arrow_down: | | [standalone](https://app.codecov.io/gh/star-whale/starwhale/pull/2985/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=star-whale) | `?` | | | [unittests](https://app.codecov.io/gh/star-whale/starwhale/pull/2985/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=star-whale) | `?` | | 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=star-whale#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.