Skip to content

Commit 4812f0e

Browse files
author
Levi080513
committed
chore: package import
1 parent 5fa73b6 commit 4812f0e

File tree

32 files changed

+2138
-1183
lines changed

32 files changed

+2138
-1183
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,5 @@ deploy/chart/neutree/vmagent
3030

3131
scripts/dashboard/ray-upstream
3232
scripts/dashboard/vllm-upstream
33-
scripts/dashboard/output
33+
scripts/dashboard/output
34+
scripts/builder/dist

Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,3 +286,11 @@ sync-deploy-manifests: vendir ## Sync third-party dependencies using vendir
286286
sync-grafana-dashboards: vendir ## Sync grafana dashboards using vendir
287287
cd scripts/dashboard && $(VENDIR) sync && bash sync-grafana-dashboards.sh
288288

289+
.PHONY: sync-images-list
290+
sync-images-list: ## Sync images list for building package
291+
helm template neutree ./deploy/chart/neutree \
292+
--set api.image.tag=latest \
293+
--set core.image.tag=latest \
294+
--set dbScripts.image.tag=latest | \
295+
grep -Eoh 'image:\s*["]?[a-zA-Z0-9./_-]+:[a-zA-Z0-9._-]+["]?' | \
296+
awk '{print $$2}' | tr -d '"' | sort -u > scripts/builder/image-lists/controlplane/images.txt

cmd/neutree-cli/app/cmd/cmd.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import (
66

77
"github.com/spf13/cobra"
88

9-
"github.com/neutree-ai/neutree/cmd/neutree-cli/app/cmd/engine"
109
"github.com/neutree-ai/neutree/cmd/neutree-cli/app/cmd/launch"
1110
"github.com/neutree-ai/neutree/cmd/neutree-cli/app/cmd/model"
11+
"github.com/neutree-ai/neutree/cmd/neutree-cli/app/cmd/packageimport"
1212
)
1313

1414
func NewNeutreeCliCommand() *cobra.Command {
@@ -39,7 +39,7 @@ Examples:
3939

4040
neutreeCliCmd.AddCommand(launch.NewLaunchCmd())
4141
neutreeCliCmd.AddCommand(model.NewModelCmd())
42-
neutreeCliCmd.AddCommand(engine.NewEngineCmd())
42+
neutreeCliCmd.AddCommand(packageimport.NewImportCmd())
4343

4444
return neutreeCliCmd
4545
}

cmd/neutree-cli/app/cmd/engine/engine.go

Lines changed: 0 additions & 47 deletions
This file was deleted.

cmd/neutree-cli/app/cmd/engine/import.go

Lines changed: 0 additions & 171 deletions
This file was deleted.

cmd/neutree-cli/app/cmd/engine/validate.go

Lines changed: 0 additions & 62 deletions
This file was deleted.

0 commit comments

Comments
 (0)