Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Feat/ark deploy #287

Merged
merged 26 commits into from
Nov 14, 2023
Merged

Feat/ark deploy #287

merged 26 commits into from
Nov 14, 2023

Conversation

CodeNoobKing
Copy link
Contributor

@CodeNoobKing CodeNoobKing commented Nov 13, 2023

Motivation

A tool to help developer quickly develop and test biz bundle locally.

Modification

  1. develop develop subcommand to help quickly deploy biz bundle to remote ark container.
  2. develop status subcommand to query the running biz bundle info in remote ark container.

Result

Resolved or fixed #278 #84

- remove 'v1' after github repo address in case future independent release of this project.
- parse bizName and bizVersion automatically locally.
- install on local arkcontainer
- warp ParseBizModel method for automatically generate bizName and bizVersion
- add InstallBiz method
- add UnInstallBiz method
1. rename rootCmd to RootCmd
2. add DeployCommand
3. complete the main logic of DeplopCommand
4. add custom context
- successfully run happypath in local environment
- remove arkctl dependency in kube pod environment.
- add subBundlePath support.
- add ark status command.
Copy link

sofastack-cla bot commented Nov 13, 2023

Hi @CodeNoobKing, welcome to SOFAStack community, Please sign Contributor License Agreement!

After you signed CLA, we will automatically sync the status of this pull request in 3 minutes.

Copy link

codecov bot commented Nov 14, 2023

Codecov Report

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

Comparison is base (27ff023) 0.00% compared to head (dcebe0f) 66.93%.
Report is 2 commits behind head on master.

Files Patch % Lines
arkctl/v1/service/ark/service.go 62.06% 36 Missing and 8 partials ⚠️
arkctl/v1/service/ark/biz_util.go 58.00% 17 Missing and 4 partials ⚠️
arkctl/common/cmdutil/cmd_util.go 83.56% 10 Missing and 2 partials ⚠️
arkctl/v1/service/ark/types.go 33.33% 3 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           master     #287       +/-   ##
===========================================
+ Coverage        0   66.93%   +66.93%     
===========================================
  Files           0        4        +4     
  Lines           0      245      +245     
===========================================
+ Hits            0      164      +164     
- Misses          0       66       +66     
- Partials        0       15       +15     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@lvjing2 lvjing2 merged commit 1f87665 into sofastack:master Nov 14, 2023
4 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Arkctl 优化与发布版本
2 participants